NAME
Box::Calc::BoxType - The container class for the types (sizes) of boxes that can be used for packing.
VERSION
version 1.0206
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 interior width of your box.
- y
-
The interior length of your box.
- z
-
The interior thickness of your box.
- name
-
The name of your box.
- weight
-
The weight of your box.
name
Returns the name of this box.
category
Returns the category name associated with this box type if any.
void_weight()
Returns the weight assigned to the void space left in the box due to void space filler such as packing peanuts. Defaults to 70% of the box weight.
describe
Returns a hash ref with the properties of this box type.