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::Address - A Stripe Address Object

SYNOPSIS

   my $addr = $stripe->address({
       line1 => '1-2-3 Kudan-minami, Chiyoda-ku',
       line2 => 'Big Bldg 12F',
       city => 'Tokyo',
       postal_code => '123-4567',
       country => 'jp',
   });

VERSION

    v0.100.0

DESCRIPTION

This is an Address module used everywhere in Stripe API.

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe::Address object. It may also take an hash like arguments, that also are method of the same name.

METHODS

city string

City/District/Suburb/Town/Village.

country string

2-letter country code.

line1 string

Address line 1 (Street address/PO Box/Company name).

line2 string

Address line 2 (Apartment/Suite/Unit/Building).

postal_code string

ZIP or postal code.

state string

State/County/Province/Region.

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api

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.