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 ShippingAddress

Class ShippingAddress

MaxMind\MinFraud\Model\AbstractModel
Extended by MaxMind\MinFraud\Model\Address
Extended by MaxMind\MinFraud\Model\ShippingAddress
Namespace: MaxMind\MinFraud\Model
Package: MaxMind\MinFraud\Model
Located at MinFraud/Model/ShippingAddress.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\Address::__construct()
Methods inherited from MaxMind\MinFraud\Model\AbstractModel
__get(), safeArrayLookup()
Magic properties summary
public integer $distanceToBillingAddress

The distance in kilometers from the shipping address to billing address.

public boolean $isHighRisk

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

Magic properties inherited from MaxMind\MinFraud\Model\Address
$distanceToIpLocation, $isInIpCountry, $isPostalInCity, $latitude, $longitude
minFraud Score and Insights PHP API v0.1.0 API documentation generated by ApiGen