NAME
Box::Calc::Item - The container class for the items you wish to pack.
VERSION
version 0.0100
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.
name
Returns the name of this item.
ROLES
This class installs Box::Calc::Role::Dimensional.