\MaxMind\MinFraud\ModelGeoIp2Location

Model of the GeoIP2 Location information, including the local time.

Summary

Methods
Properties
Constants
__isset()
jsonSerialize()
$localTime
$averageIncome
$accuracyRadius
$latitude
$longitude
$populationDensity
$metroCode
$timeZone
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$localTime

$localTime : string

The date and time of the transaction in the time zone associated with the IP address. The value is formatted according to RFC 3339. For instance, the local time in Boston might be returned as 2015-04-27T19:17:24-04:00.

Type

string

$averageIncome

$averageIncome : int|null

The average income in US dollars associated with the requested IP address. This attribute is only available from the Insights service.

Type

int|null

$accuracyRadius

$accuracyRadius : int|null

The approximate accuracy radius in kilometers around the latitude and longitude for the IP address. This is the radius where we have a 67% confidence that the device using the IP address resides within the circle centered at the latitude and longitude with the provided radius.

Type

int|null

$latitude

$latitude : float|null

The approximate latitude of the location associated with the IP address. This value is not precise and should not be used to identify a particular address or household.

Type

float|null

$longitude

$longitude : float|null

The approximate longitude of the location associated with the IP address. This value is not precise and should not be used to identify a particular address or household.

Type

float|null

$populationDensity

$populationDensity : int|null

The estimated population per square kilometer associated with the IP address. This attribute is only available from the Insights service.

Type

int|null

$metroCode

$metroCode : int|null

The metro code of the location if the location is in the US. MaxMind returns the same metro codes as the Google AdWords API. See https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions.

Type

int|null

$timeZone

$timeZone : string|null

The time zone associated with location, as specified by the IANA Time Zone Database, e.g., "America/New_York". See https://www.iana.org/time-zones.

Type

string|null

Methods

__isset()

__isset(string  $attr) : bool

Parameters

string $attr

Returns

bool —

jsonSerialize()

jsonSerialize() : ?array

Returns

?array —