Package com.adyen.model.nexo
Class SaleItemRebate
- java.lang.Object
-
- com.adyen.model.nexo.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 Summary
Fields Modifier and Type Field Description protected StringeanUpcThe Ean upc.protected BigDecimalitemAmountThe Item amount.protected BigIntegeritemIDThe Item id.protected StringproductCodeThe Product code.protected BigDecimalquantityThe Quantity.protected StringrebateLabelThe Rebate label.protected UnitOfMeasureTypeunitOfMeasureThe Unit of measure.
-
Constructor Summary
Constructors Constructor Description SaleItemRebate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEanUpc()Gets the value of the eanUpc property.BigDecimalgetItemAmount()Gets the value of the itemAmount property.BigIntegergetItemID()Gets the value of the itemID property.StringgetProductCode()Gets the value of the productCode property.BigDecimalgetQuantity()Gets the value of the quantity property.StringgetRebateLabel()Gets the value of the rebateLabel property.UnitOfMeasureTypegetUnitOfMeasure()Gets the value of the unitOfMeasure property.voidsetEanUpc(String value)Sets the value of the eanUpc property.voidsetItemAmount(BigDecimal value)Sets the value of the itemAmount property.voidsetItemID(BigInteger value)Sets the value of the itemID property.voidsetProductCode(String value)Sets the value of the productCode property.voidsetQuantity(BigDecimal value)Sets the value of the quantity property.voidsetRebateLabel(String value)Sets the value of the rebateLabel property.voidsetUnitOfMeasure(UnitOfMeasureType value)Sets the value of the unitOfMeasure property.
-
-
-
Field Detail
-
unitOfMeasure
protected UnitOfMeasureType unitOfMeasure
The Unit of measure.
-
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.
-
-
Method Detail
-
getUnitOfMeasure
public UnitOfMeasureType getUnitOfMeasure()
Gets the value of the unitOfMeasure property.- Returns:
- possible object is
UnitOfMeasureType
-
setUnitOfMeasure
public void setUnitOfMeasure(UnitOfMeasureType value)
Sets the value of the unitOfMeasure property.- Parameters:
value- allowed object isUnitOfMeasureType
-
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 isBigDecimal
-
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 isString
-
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 isBigInteger
-
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 isString
-
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 isString
-
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 isBigDecimal
-
-