Overview

Namespaces

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

Classes

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

Class ShippingAddress

Class ShippingAddress

MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
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 = ['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()
Magic properties summary
public integer|null $distanceToBillingAddress

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

public 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 Score and Insights PHP API v0.5.0 API documentation generated by ApiGen