NAME
Shipment::Package
VERSION
version 0.01111510
SYNOPSIS
use Shipment::Package;
my $package = Shipment::Package->new(
weight => 10,
length => 18,
width => 18,
height => 24,
);
NAME
Shipment::Package - a package to be shipped
ABOUT
This class defines a package to be shipped. It also includes attributes which are set after a shipment has been created (label, cost, tracking_id)
Class Attributes
id
The package type id as defined by a shipping service
type: String
name
A descriptive name for the package type (box, tube, custom, etc)
type: String
notes
Notes (i.e. to describe the package contents)
type: String
weight
The weight of the package. Units are determined by the Shipment::Base class
type: Number
length, width, height
The dimensions of the package. Units are determined by the Shipment::Base class
type: Number
insured_value
The value of the contents.
type: Data::Currency
label
The shipping label. Set by a Shipment::Base class
type: Shipment::Label
tracking_id
The tracking id. Set by a Shipment::Base class.
Also can be used to define a tracking id to cancel or track.
type: String
cost
The cost to ship this package. Set by a Shipment::Base class
type: Data::Currency
AUTHOR
Andrew Baerg @ <andrew at pullingshots dot ca>
http://pullingshots.ca/
BUGS
Please contact me directly.
COPYRIGHT
Copyright (C) 2010 Andrew J Baerg, All Rights Reserved
NO WARRANTY
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Andrew Baerg <baergaj@cpan.org>
Al Newkirk <awncorp@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Andrew Baerg.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.