The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::API::Stripe::GeoLocation - A Stripe Geo Location Object

SYNOPSIS

VERSION

    0.1

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 objects. It may also take an hash like arguments, that also are method of the same name.

verbose

Toggles verbose mode on/off

debug

Toggles debug mode on/off

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_1FVF3MCeyNCl6fY27Q3RLQ4n",
          "object": "review",
          "billing_zip": null,
          "charge": "ch_1AaRjGCeyNCl6fY2v83S8nXJ",
          "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) 2018-2019 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 74:

You forgot a '=back' before '=head1'