\MaxMind\MinFraud\ModelGeoIp2Location

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

This record is returned by all location services and databases besides Country.

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

  1. For instance, the local time in Boston might be returned as 2015-04-27T19:17:24-04:00.

Type

normal

$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

normal

$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

normal

$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

normal

$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

normal

$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

normal

$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

normal

Methods

__isset()

__isset(mixed  $attr) : mixed

Parameters

mixed $attr

Returns

mixed

jsonSerialize()

jsonSerialize() : mixed

Returns

mixed