Overview

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • Test
      • Model
      • WebService
    • WebService
  • MaxMind
    • MinFraud
      • Model
  • None
  • PHP

Classes

  • Address
  • BillingAddress
  • CreditCard
  • GeoIp2Country
  • GeoIp2Location
  • Insights
  • IpAddress
  • Issuer
  • Score
  • ShippingAddress
  • Warning
  • Overview
  • Namespace
  • Class
  • Tree

Class Address

Class Address

MaxMind\MinFraud\Model\AbstractModel
Extended by MaxMind\MinFraud\Model\Address

Direct known subclasses

MaxMind\MinFraud\Model\BillingAddress, MaxMind\MinFraud\Model\ShippingAddress
Abstract
Namespace: MaxMind\MinFraud\Model
Package: MaxMind\MinFraud\Model
Located at MinFraud/Model/Address.php
Methods summary
public
# __construct( array $response, array $locales = array('en') )

Parameters

$response
<p>The array corresponding to the object in the minFraud Insights response.</p>
$locales
<p>List of locale codes to use in name property from most preferred to least preferred.</p>

Overrides

MaxMind\MinFraud\Model\AbstractModel::__construct()
Methods inherited from MaxMind\MinFraud\Model\AbstractModel
__get(), safeArrayLookup()
Magic properties summary
public integer $distanceToIpLocation

The distance in kilometers from the address to the IP location.

public boolean $isInIpCountry

This property is true if the address is in the IP country. The property is false when the address is not in the IP country. If the address could not be parsed or was not provided or if the IP address could not be geolocated, the property will be null.

public boolean $isPostalInCity

This property is true if the postal code provided with the address is in the city for the address. The property is false when the postal code is not in the city. If the address could not be parsed or was not provided, the property will be null.

public float $latitude

The latitude associated with the address.

public float $longitude

The longitude associated with the address.

minFraud Score and Insights PHP API v0.1.0 API documentation generated by ApiGen