NAME
Net::API::Stripe::GeoLocation - A Stripe Geo Location Object
SYNOPSIS
my $geo_loc = $stripe->fraud_review->ip_address_location({
city => 'Tokyo',
country => 'jp',
latitude => '35.6935496',
longitude => '139.7461204',
region => undef,
});
VERSION
v0.100.0
DESCRIPTION
Information related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address.
This is used in Net::API::Stripe::Fraud::Review
CONSTRUCTOR
new( %ARG )
Creates a new Net::API::Stripe::GeoLocation object. It may also take an hash like arguments, that also are method of the same name.
METHODS
city string
The city where the payment originated.
country string
Two-letter ISO code representing the country where the payment originated.
latitude decimal
The geographic latitude where the payment originated.
longitude decimal
The geographic longitude where the payment originated.
region string
The state/county/province/region where the payment originated.
API SAMPLE
{
"id": "prv_fake123456789",
"object": "review",
"billing_zip": null,
"charge": "ch_fake123456789",
"closed_reason": null,
"created": 1571480456,
"ip_address": null,
"ip_address_location": null,
"livemode": false,
"open": true,
"opened_reason": "rule",
"reason": "rule",
"session": null
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/radar/reviews/object
COPYRIGHT & LICENSE
Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.