Business::cXML::ItemIn - cXML line item, from seller to buyer
use Business::cXML::ItemIn;
Object representation of cXML ItemIn.
ItemIn
See "COMMON METHODS" in Business::cXML::Object.
See "PROPERTY METHODS" in Business::cXML::Object for how the following operate.
sku
Mandatory SKU, a string uniquely identifying the product being sold, with the "chars" (colors, sizes) selected.
qty
Mandatory, how many items. Default: 0
0
qty_open
Optional, the quantity pending to be fulfilled by the seller to ship to the buyer.
qty_promised
Optional, the quantity that has been promised by the selling party.
i
i_parent
Optional, line number (starting from 1). i_parent refers to a parent item's i. This allows nesting items.
is_group
is_parent_group
Optional, whether the item (or its parent) contains child items.
The current implementation does not set this for you when you use i_parent: you must set these according to your structure.
is_service
Optional, clarify whether the item is a service (true) or material (false).
price
Mandatory, Business::cXML::Amount object of type UnitPrice.
UnitPrice
descriptions
Mandatory (at least one)
unit
Mandatory, UN/CEFACT Recommendation 20 unit of measure. Default: EA meaning "each", items are regarded as separate units. Also common: HUR means one hour.
EA
HUR
See http://www.unece.org/tradewelcome/un-centre-for-trade-facilitation-and-e-business-uncefact/outputs/cefactrecommendationsrec-index/list-of-trade-facilitation-recommendations-n-16-to-20.html for more details about UN/CEFACT Recommendation 20 units of measure.
class_domain
class
Mandatory, name of classification such as UNSPSC (default) and the classification itself (such as an 8+ digit UNSPSC number).
UNSPSC
See https://en.wikipedia.org/wiki/UNSPSC and http://www.unspsc.org/ for more details about UNSPSC classifications, for example, 53101902 "Men's suits"
53101902
manu_part
Optional, ID with which the item's manufacturer identifies the item.
manu_name
manu_lang
Optional, name of the item's manufacturer and language of that name. manu_lang defaults to en-us if only manu_name is set.
en-us
delay
Optional, number of days to receive the item.
chars
Optional, list of Business::cXML::Characteristic that define this specific product item (colors, sizes, etc.) The item will be deemed "configurable" if there are any characteristics.
url
Optional
shipping
Optional, Business::cXML::Amount object of type Shipping
Shipping
tax
Optional, Business::cXML::Amount object of type Tax
Tax
Stéphane Lavergne https://github.com/vphantom
Graph X Design Inc. https://www.gxd.ca/ sponsored this project.
Copyright (c) 2017-2018 Stéphane Lavergne https://github.com/vphantom
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
To install Business::cXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::cXML
CPAN shell
perl -MCPAN -e shell install Business::cXML
For more information on module installation, please visit the detailed CPAN module installation guide.