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