Class SaleItemRebate


  • public class SaleItemRebate
    extends Object
    Definition: The awarded amount that is attached to an item as a rebate. -- Usage: To be differentiated from the award which is the amount or quantity earned on the loyalty account.

    Java class for SaleItemRebate complex type.

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

     <complexType name="SaleItemRebate">
       <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="RebateLabel" type="{}RebateLabel" 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" type="{}SimpleAmountType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • quantity

        protected BigDecimal quantity
        The Quantity.
      • rebateLabel

        protected String rebateLabel
        The Rebate label.
      • 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

      • SaleItemRebate

        public SaleItemRebate()
    • 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
      • getRebateLabel

        public String getRebateLabel()
        Gets the value of the rebateLabel property.
        Returns:
        possible object is String
      • setRebateLabel

        public void setRebateLabel​(String value)
        Sets the value of the rebateLabel 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