Class 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.

    XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic

    • Method Detail

      • setTypeCode

        public ItemAttributes setTypeCode​(String value)
        Parameters:
        value - EXT:Item Attribute Type (Code)

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:TypeCode

        Returns:
        ItemAttributes
      • setItemAttributeName

        public ItemAttributes setItemAttributeName​(String value)
        Parameters:
        value - BT-160:Item attribute name

        The name of the attribute or property of the item.

        Such as “Colour”.

        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

        Returns:
        ItemAttributes
      • setMeasurementUnit

        public ItemAttributes setMeasurementUnit​(Codes.UnitOfMeasure value)
        Parameters:
        value - EXT:Measurement Unit

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure/@unitCode

        Returns:
        ItemAttributes
      • setValueMeasure

        public ItemAttributes setValueMeasure​(String value)
        Parameters:
        value - EXT:Item Attribute Value (numerical measurand)

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure

        Returns:
        ItemAttributes
      • setItemAttributeValue

        public ItemAttributes setItemAttributeValue​(String value)
        Parameters:
        value - BT-161:Item attribute value

        The value of the attribute or property of the item.

        Such as “Red”.

        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

        Returns:
        ItemAttributes
      • getTypeCode

        public String getTypeCode()
        EXT:Item Attribute Type (Code)
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:TypeCode
      • getItemAttributeName

        public String getItemAttributeName()
        BT-160:Item attribute name

        The name of the attribute or property of the item.

        Such as “Colour”.

        BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Description
      • getMeasurementUnit

        public Codes.UnitOfMeasure getMeasurementUnit()
        EXT:Measurement Unit
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure/@unitCode
      • getValueMeasure

        public String getValueMeasure()
        EXT:Item Attribute Value (numerical measurand)
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:ValueMeasure
      • getItemAttributeValue

        public String getItemAttributeValue()
        BT-161:Item attribute value

        The value of the attribute or property of the item.

        Such as “Red”.

        BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Value