Net::Easypost::Address - Class to represent an Easypost address
A field for street information, typically a house number, a street name and a direction
A field for any additional street information like an apartment or suite number
The city in the address
The U.S. state for this address
The U.S. zipcode for this address
Any phone number associated with this address. Some carrier services like Next-Day or Express require a sender phone number.
A name associated with this address.
Attributes that make up an Address, from Net::Easypost::Resource
Prefix to data when POSTing to the Easypost API about Address objects
Base API endpoint for operations on Address objects
Make a new copy of this object and return it.
Format this address as it might be seen on a mailing label.
This class overloads stringification using this method,
so something like
say $addr should just work.
This method takes a Net::Easypost::Address object and an arrayref of fields to copy into this object. This method only merges fields that are defined on the other object.
This method takes a Net::Easypost::Address object and verifies its underlying address
Mark Allen <firstname.lastname@example.org>, Hunter McMillen <email@example.com>
This software is copyright (c) 2012 by Mark Allen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.