Class ItemAttributes

java.lang.Object
com.fourjs.report.facturx.profiles.en16931.ItemAttributes

public class ItemAttributes extends Object
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:

Business terms and groups implemented
RepresentsBG-32
Business terms (value fields)BT-160, BT-161

Documentation of the represented business group:

BG-32 — ITEM ATTRIBUTES
DescriptionENA group of business terms providing information about properties of the goods and services invoiced.
FRGroupe 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 Details

    • setItemAttributeName

      public ItemAttributes setItemAttributeName(String value)
      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:Description

      FR: 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 ItemAttributes for chaining
      Since:
      1.0.06/2.2
    • setItemAttributeValue

      public ItemAttributes setItemAttributeValue(String value)
      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:Value

      FR: 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 ItemAttributes for chaining
      Since:
      1.0.06/2.2
    • getItemAttributeName

      public String 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:Description

      FR: Nom d'attribut d'article — Nom de l'attribut ou de la propriété de l'article.

      Returns:
      the BT-160 value
      Since:
      1.0.06/2.2
    • getItemAttributeValue

      public String 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:Value

      FR: Valeur d'attribut d'article — Valeur de l'attribut ou de la propriété de l'article.

      Returns:
      the BT-161 value
      Since:
      1.0.06/2.2