1: <?php
2:
3: namespace MaxMind\MinFraud\Model;
4:
5: use GeoIp2\Record\Location;
6:
7: /**
8: * Class GeoIp2Location
9: * @package MaxMind\MinFraud\Model
10: *
11: * @property string $localTime The date and time of the transaction in the time
12: * zone associated with the IP address. The value is formatted according to RFC
13: * 3339. For instance, the local time in Boston might be returned as
14: * 2015-04-27T19:17:24-04:00.
15: */
16: class GeoIp2Location extends Location
17: {
18: /**
19: * @internal
20: */
21: protected $validAttributes = array(
22: 'accuracyRadius',
23: 'latitude',
24: 'localTime',
25: 'longitude',
26: 'metroCode',
27: 'postalCode',
28: 'postalConfidence',
29: 'timeZone'
30: );
31: }
32: