Business::Shipping::Package - Abstract class


Business-Shipping documentation Contained in the Business-Shipping distribution.

Index


Code Index:

NAME

Top

Business::Shipping::Package - Abstract class

DESCRIPTION

Top

Represents package-level information (e.g. weight). Subclasses provide real implementation.

METHODS

Top

$package->weight()

Accessor for weight.

$package->id()

Package ID (for unique identification in a list of packages).

AUTHOR

Top

Daniel Browning, db@kavod.com, http://www.kavod.com/

COPYRIGHT AND LICENCE

Top


Business-Shipping documentation Contained in the Business-Shipping distribution.
package Business::Shipping::Package;

use Any::Moose;
use version; our $VERSION = qv('400');

extends 'Business::Shipping';
has 'weight'             => (is => 'rw');
has 'id'                 => (is => 'rw');
has 'charges'            => (is => 'rw');
has 'dimensional_weight' => (is => 'rw');

__PACKAGE__->meta()->make_immutable();

1;

__END__