minFraud PHP API v1.21.0

Enterprise extends City
in package

Model class for the data returned by GeoIP2 Enterprise database lookups.

See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more details.

Table of Contents

$city  : City
$continent  : Continent
$country  : Country
$location  : Location
$maxmind  : MaxMind
$mostSpecificSubdivision  : Subdivision
$postal  : Postal
$raw  : array<string|int, mixed>
$registeredCountry  : Country
$representedCountry  : RepresentedCountry
$subdivisions  : array<string|int, mixed>
$traits  : Traits

Properties

$city read-only

public City $city

City data for the requested IP address.

$continent read-only

public Continent $continent

Continent data for the requested IP address.

$country read-only

public Country $country

Country data for the requested IP address. This object represents the country where MaxMind believes the end user is located.

$location read-only

public Location $location

Location data for the requested IP address.

$maxmind read-only

public MaxMind $maxmind

Data related to your MaxMind account.

$mostSpecificSubdivision read-only

public Subdivision $mostSpecificSubdivision

An object representing the most specific subdivision returned. If the response did not contain any subdivisions, this method returns an empty \GeoIp2\Record\Subdivision object.

$postal read-only

public Postal $postal

Postal data for the requested IP address.

$raw read-only

public array<string|int, mixed> $raw

The raw data from the web service.

$registeredCountry read-only

public Country $registeredCountry

Registered country data for the requested IP address. This record represents the country where the ISP has registered a given IP block and may differ from the user's country.

$representedCountry read-only

public RepresentedCountry $representedCountry

Represented country data for the requested IP address. The represented country is used for things like military bases. It is only present when the represented country differs from the country.

$subdivisions read-only

public array<string|int, mixed> $subdivisions

An array \GeoIp2\Record\Subdivision objects representing the country subdivisions for the requested IP address. The number and type of subdivisions varies by country, but a subdivision is typically a state, province, county, etc. Subdivisions are ordered from most general (largest) to most specific (smallest). If the response did not contain any subdivisions, this method returns an empty array.

$traits read-only

public Traits $traits

Data for the traits of the requested IP address.

Search results