NAME

Net::Easypost::Shipment

VERSION

version 0.18

SYNOPSIS

Net::Easypost::Shipment->new

NAME

Net::Easypost::Shipment

ATTRIBUTES

to_address

Address this Shipment is going to

from_address

Address this Shipment is coming from

parcel

Parcel that is being shipped

customs_info

Customs information about this Shipment, optional (only for international shipments)

scan_form

USPS Tracking information, optional

rates

Array of Net::Easypost::Rate objects

options

Array of shipping options, may not be supported by all carriers

METHODS

_build_fieldnames

Attributes that make up an Address, from Net::Easypost::Resource

_build_role

Prefix to data when POSTing to the Easypost API about Address objects

_build_operation

Base API endpoint for operations on Address objects

BUILD

Constructor for a Shipment object, overrides the base BUILD method in Net::Easypost::PostOnBuild

clone

return a deep-copy of this object

serialize

Format this object into a form suitable for use with the Easypost service. Overrides base implementation in Net::Easypost::PostOnBuild

buy

AUTHOR

Mark Allen <mrallen1@yahoo.com>, Hunter McMillen <mcmillhj@gmail.com>

COPYRIGHT AND LICENSE

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.