NAME
Box::Calc::Item - The container class for the items you wish to pack.
VERSION
version 0.0501
SYNOPSIS
my $item = Box::Calc::Item->new(name => 'Apple', x => 3, y => 3.3, z => 4, weight => 5);
METHODS
new(params)
Constructor.
- params
-
- x
-
The width of your item.
- y
-
The length of your item.
- z
-
The thickness of your item.
- weight
-
The weight of your item.
- name
-
The name of your item. If you're referring it back to an external system you may wish to use this field to store you item ids instead of item names.
- quantity
-
Defaults to 1. The number of copies of this item that need to be packed.