Overview

Namespaces

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

Classes

  • Address
  • BillingAddress
  • CreditCard
  • Device
  • Disposition
  • Email
  • Factors
  • GeoIp2Country
  • GeoIp2Location
  • Insights
  • IpAddress
  • Issuer
  • Score
  • ScoreIpAddress
  • ShippingAddress
  • Subscores
  • Warning
  • Overview
  • Namespace
  • Class

Class ShippingAddress

Model containing properties of the shipping address.

MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
Extended by MaxMind\MinFraud\Model\Address
Extended by MaxMind\MinFraud\Model\ShippingAddress
Namespace: MaxMind\MinFraud\Model
Located at MinFraud/Model/ShippingAddress.php
Methods summary
public
# __construct( array $response, array $locales = ['en'] )

Parameters

$response

the array corresponding to the object in the minFraud Insights response

$locales

list of locale codes to use in name property from most preferred to least preferred

Overrides

MaxMind\MinFraud\Model\Address::__construct()
Methods inherited from MaxMind\MinFraud\Model\AbstractModel
__get(), __isset(), jsonSerialize(), safeArrayLookup()
Magic properties summary
public read-only integer|null $distanceToBillingAddress

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

public read-only boolean|null $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 PHP API v1.4.0 API documentation generated by ApiGen