NAME
Box::Calc::BoxType - The container class for the types (sizes) of boxes that can be used for packing.
VERSION
version 0.0501
SYNOPSIS
my $item = Box::Calc::BoxType->new(name => 'Apple', x => 3, y => 3.3, z => 4, weight => 5 );
METHODS
new(params)
Constructor.
- params
-
- x
-
The width of your box.
- y
-
The length of your box.
- z
-
The thickness of your box.
- weight
-
The weight of the empty box.
- name
-
The name of your box.
- compatible_services
-
An array reference of shipping services this box is compatible with. See the complete list of services at http://api.boxcalc.net. This is only necessary if you'r e using the
shipping_options
method.