NAME

Net::Easypost::Parcel

VERSION

version 0.23

SYNOPSIS

Net::Easypost::Parcel->new

NAME

Net::Easypost::Parcel

ATTRIBUTES

length

The length of the parcel in inches.

width

The width of the parcel in inches.

height

The height of the parcel in inches.

weight

The weight of the parcel in ounces. (There are 16 ounces in a U.S. pound.)

predefined_package

A carrier specific flat-rate package name. See https://www.easypost.com/docs/api/#predefined-packages for these.

METHODS

_build_fieldnames

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

_build_role

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

_build_operation

Base API endpoint for operations on Parcel objects

clone

returns a new Net::Easypost::Parcel object that is a deep-copy of this object

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.