NAME
AxKit::App::TABOO::Data::OrderedItem - Product Sub Types Data objects for TABOO
SYNOPSIS
use AxKit::App::TABOO::Data::OrderedItem;
$size = AxKit::App::TABOO::Data::OrderedItem->new();
$size->load('XXL');
DESCRIPTION
METHODS
This class implements only one method, in addition to the constructor, the rest is inherited from AxKit::App::TABOO::Data.
STORED DATA
The data is stored in named fields, and for certain uses, it is good to know them. If you want to subclass this class, you might want to use the same names, see the documentation of AxKit::APP::TABOO::Data for more about this. These are the names of the stored data of this class:
username
A simple word containing a unique name and identifier of the user who ordered the item.
prodid
A simple word containing a unique name and identifier for the product ordered.
orderid
An integer number identifying the order.
prodsubid
A simple word containing a unique name and identifier for the productsubtypes.
volume
An integer representing the number of items for this order and productsubtype.
XML representation
The write_xml()
method, implemented in the parent class, can be used to create an XML representation of the data in the object. The above names will be used as element names. The xmlelement()
and xmlns()
methods can be used to set the name of the root element and the namespace respectively. Usually, it doesn't make sense to change the default namespace, which is
http://www.kjetil.kjernsmo.net/software/TABOO/NS/OrderedItems/Output
FORMALITIES
See AxKit::App::TABOO.