NAME
Net::API::Stripe::Terminal::Location - A Strip Terminal Reader Location Object
SYNOPSIS
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.
VERSION
v0.101.0
DESCRIPTION
A Location represents a grouping of readers.
CONSTRUCTOR
new( %ARG )
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.
METHODS
id string
Unique identifier for the object.
object string, value is "terminal.location"
String representing the object’s type. Objects of the same type share the same value.
address hash
The full address of the location.
This is a Net::API::Stripe::Address object.
configuration_overrides string
The ID of a configuration that will be used to customize all readers in this location.
display_name string
The display name of the location.
livemode boolean
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
metadata hash
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.
API SAMPLE
{
"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"
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/terminal/locations, https://stripe.com/docs/terminal/readers/fleet-management#create
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.