Class ItemAttributes
BG-32 ITEM ATTRIBUTES — A group of business terms providing information about properties of the goods and services invoiced.
The EN 16931 business terms and groups implemented by this class:
| Represents | BG-32 |
|---|---|
| Business terms (value fields) | BT-160, BT-161 |
Documentation of the represented business group:
| Description | EN | A group of business terms providing information about properties of the goods and services invoiced. |
|---|---|---|
| FR | Groupe de termes métiers fournissant des informations sur les propriétés des biens et services facturés. |
- Since:
- 1.0.06/2.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns BT-160 Item attribute name — The name of the attribute or property of the item.Returns BT-161 Item attribute value — The value of the attribute or property of the item.setItemAttributeName(String value) Sets BT-160 Item attribute name — The name of the attribute or property of the item.setItemAttributeValue(String value) Sets BT-161 Item attribute value — The value of the attribute or property of the item.
-
Method Details
-
setItemAttributeName
Sets BT-160 Item attribute name — The name of the attribute or property of the item.Usage: Such as "Colour".
Rule: BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:DescriptionFR: Nom d'attribut d'article — Nom de l'attribut ou de la propriété de l'article.
- Parameters:
value- the value to set- Returns:
- this
ItemAttributesfor chaining - Since:
- 1.0.06/2.2
-
setItemAttributeValue
Sets BT-161 Item attribute value — The value of the attribute or property of the item.Usage: Such as "Red".
Rule: BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueFR: Valeur d'attribut d'article — Valeur de l'attribut ou de la propriété de l'article.
- Parameters:
value- the value to set- Returns:
- this
ItemAttributesfor chaining - Since:
- 1.0.06/2.2
-
getItemAttributeName
Returns BT-160 Item attribute name — The name of the attribute or property of the item.Usage: Such as "Colour".
Rule: BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:DescriptionFR: Nom d'attribut d'article — Nom de l'attribut ou de la propriété de l'article.
- Returns:
- the
BT-160value - Since:
- 1.0.06/2.2
-
getItemAttributeValue
Returns BT-161 Item attribute value — The value of the attribute or property of the item.Usage: Such as "Red".
Rule: BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueFR: Valeur d'attribut d'article — Valeur de l'attribut ou de la propriété de l'article.
- Returns:
- the
BT-161value - Since:
- 1.0.06/2.2
-