minFraud PHP API v1.21.0

Address extends AbstractModel
in package

Abstract model for a postal address.

Table of Contents

$distanceToIpLocation  : int|null
$isInIpCountry  : bool|null
$isPostalInCity  : bool|null
$latitude  : float|null
$longitude  : float|null
__construct()  : mixed

Properties

$distanceToIpLocation read-only

public int|null $distanceToIpLocation

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

$isInIpCountry read-only

public bool|null $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.

$isPostalInCity read-only

public bool|null $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 was not provided or could not be parsed, the property will be null.

$latitude read-only

public float|null $latitude

The latitude associated with the address.

$longitude read-only

public float|null $longitude

The longitude associated with the address.

Methods

__construct()

public __construct(array<string|int, mixed>|null $response[, array<string|int, mixed> $locales = ['en'] ]) : mixed
Parameters
$response : array<string|int, mixed>|null
$locales : array<string|int, mixed> = ['en']
Return values
mixed

Search results