Hunter McMillen > Net-Easypost-0.13 > Net::Easypost::Parcel

Download:
Net-Easypost-0.13.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.13   Source  

NAME ^

Net::Easypost::Parcel - An object to represent an Easypost parcel

VERSION ^

version 0.13

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 Address 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.

syntax highlighting: