BillingAddress
extends Address
in package
Model containing information about the billing 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']