Net::API::Stripe::Terminal::Location - A Strip Terminal Reader Location Object
my $loc = $stripe->location({ address => $address_object, display_name => 'Tokyo central', });
See documentation in Net::API::Stripe for example to make api calls to Stripe to create those objects.
v0.101.0
A Location represents a grouping of readers.
Creates a new Net::API::Stripe::Terminal::Location object. It may also take an hash like arguments, that also are method of the same name.
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
The full address of the location.
This is a Net::API::Stripe::Address object.
The ID of a configuration that will be used to customize all readers in this location.
The display name of the location.
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
{ "id": "tml_fake123456789", "object": "terminal.location", "address": { "city": "Anytown", "country": "US", "line1": "1234 Main street", "line2": null, "postal_code": "123456", "state": null }, "display_name": "My First Store" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/terminal/locations, https://stripe.com/docs/terminal/readers/fleet-management#create
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.
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.