The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

    0.1

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.

display_name string

The display name of the location.

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.