minFraud PHP API v1.0.0
  • Namespace
  • Class

Namespaces

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

Classes

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

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(), jsonSerialize(), safeArrayLookup()

Properties summary

Magic properties

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.0.0 API documentation generated by ApiGen