Class SaleItem


  • public class SaleItem
    extends Object
    Definition: Sale items of a transaction. -- Usage: In loyalty or value added payment card transaction, the items of the sale are entering in the processing of the transaction. The sum of the item amount could be more than the Requested amount in case of split payment without split of the

    Java class for SaleItem complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="SaleItem">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="UnitOfMeasure" type="{}UnitOfMeasureType" minOccurs="0"/>
             <element name="Quantity" type="{}Quantity" minOccurs="0"/>
             <element name="UnitPrice" type="{}SimpleAmountType" minOccurs="0"/>
             <element name="TaxCode" type="{}TaxCode" minOccurs="0"/>
             <element name="SaleChannel" type="{}SaleChannel" minOccurs="0"/>
             <element name="ProductLabel" type="{}ProductLabel" minOccurs="0"/>
             <element name="AdditionalProductInfo" type="{}AdditionalProductInfo" minOccurs="0"/>
           </sequence>
           <attribute name="ItemID" use="required" type="{}ItemID" />
           <attribute name="ProductCode" use="required" type="{}ProductCode" />
           <attribute name="EanUpc" type="{}EanUpc" />
           <attribute name="ItemAmount" use="required" type="{}SimpleAmountType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • quantity

        protected BigDecimal quantity
        The Quantity.
      • unitPrice

        protected BigDecimal unitPrice
        The Unit price.
      • taxCode

        protected String taxCode
        The Tax code.
      • saleChannel

        protected String saleChannel
        The Sale channel.
      • productLabel

        protected String productLabel
        The Product label.
      • additionalProductInfo

        protected String additionalProductInfo
        The Additional product info.
      • itemID

        protected BigInteger itemID
        The Item id.
      • productCode

        protected String productCode
        The Product code.
      • eanUpc

        protected String eanUpc
        The Ean upc.
      • itemAmount

        protected BigDecimal itemAmount
        The Item amount.
    • Constructor Detail

      • SaleItem

        public SaleItem()
    • Method Detail

      • setUnitOfMeasure

        public void setUnitOfMeasure​(UnitOfMeasureType value)
        Sets the value of the unitOfMeasure property.
        Parameters:
        value - allowed object is UnitOfMeasureType
      • getQuantity

        public BigDecimal getQuantity()
        Gets the value of the quantity property.
        Returns:
        possible object is BigDecimal
      • setQuantity

        public void setQuantity​(BigDecimal value)
        Sets the value of the quantity property.
        Parameters:
        value - allowed object is BigDecimal
      • getUnitPrice

        public BigDecimal getUnitPrice()
        Gets the value of the unitPrice property.
        Returns:
        possible object is BigDecimal
      • setUnitPrice

        public void setUnitPrice​(BigDecimal value)
        Sets the value of the unitPrice property.
        Parameters:
        value - allowed object is BigDecimal
      • getTaxCode

        public String getTaxCode()
        Gets the value of the taxCode property.
        Returns:
        possible object is String
      • setTaxCode

        public void setTaxCode​(String value)
        Sets the value of the taxCode property.
        Parameters:
        value - allowed object is String
      • getSaleChannel

        public String getSaleChannel()
        Gets the value of the saleChannel property.
        Returns:
        possible object is String
      • setSaleChannel

        public void setSaleChannel​(String value)
        Sets the value of the saleChannel property.
        Parameters:
        value - allowed object is String
      • getProductLabel

        public String getProductLabel()
        Gets the value of the productLabel property.
        Returns:
        possible object is String
      • setProductLabel

        public void setProductLabel​(String value)
        Sets the value of the productLabel property.
        Parameters:
        value - allowed object is String
      • getAdditionalProductInfo

        public String getAdditionalProductInfo()
        Gets the value of the additionalProductInfo property.
        Returns:
        possible object is String
      • setAdditionalProductInfo

        public void setAdditionalProductInfo​(String value)
        Sets the value of the additionalProductInfo property.
        Parameters:
        value - allowed object is String
      • getItemID

        public BigInteger getItemID()
        Gets the value of the itemID property.
        Returns:
        possible object is BigInteger
      • setItemID

        public void setItemID​(BigInteger value)
        Sets the value of the itemID property.
        Parameters:
        value - allowed object is BigInteger
      • getProductCode

        public String getProductCode()
        Gets the value of the productCode property.
        Returns:
        possible object is String
      • setProductCode

        public void setProductCode​(String value)
        Sets the value of the productCode property.
        Parameters:
        value - allowed object is String
      • getEanUpc

        public String getEanUpc()
        Gets the value of the eanUpc property.
        Returns:
        possible object is String
      • setEanUpc

        public void setEanUpc​(String value)
        Sets the value of the eanUpc property.
        Parameters:
        value - allowed object is String
      • getItemAmount

        public BigDecimal getItemAmount()
        Gets the value of the itemAmount property.
        Returns:
        possible object is BigDecimal
      • setItemAmount

        public void setItemAmount​(BigDecimal value)
        Sets the value of the itemAmount property.
        Parameters:
        value - allowed object is BigDecimal