Package com.adyen.model.nexo
Class Rebates
- java.lang.Object
-
- com.adyen.model.nexo.Rebates
-
public class Rebates extends Object
Definition: Rebate form to an award;Java class for Rebates complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Rebates"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="TotalRebate" type="{}SimpleAmountType" minOccurs="0"/> <element name="RebateLabel" type="{}RebateLabel" minOccurs="0"/> <element name="SaleItemRebate" type="{}SaleItemRebate" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringrebateLabelThe Rebate label.protected List<SaleItemRebate>saleItemRebateThe Sale item rebate.protected BigDecimaltotalRebateThe Total rebate.
-
Constructor Summary
Constructors Constructor Description Rebates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRebateLabel()Gets the value of the rebateLabel property.List<SaleItemRebate>getSaleItemRebate()Gets the value of the saleItemRebate property.BigDecimalgetTotalRebate()Gets the value of the totalRebate property.voidsetRebateLabel(String value)Sets the value of the rebateLabel property.voidsetTotalRebate(BigDecimal value)Sets the value of the totalRebate property.
-
-
-
Field Detail
-
totalRebate
protected BigDecimal totalRebate
The Total rebate.
-
rebateLabel
protected String rebateLabel
The Rebate label.
-
saleItemRebate
protected List<SaleItemRebate> saleItemRebate
The Sale item rebate.
-
-
Method Detail
-
getTotalRebate
public BigDecimal getTotalRebate()
Gets the value of the totalRebate property.- Returns:
- possible object is
BigDecimal
-
setTotalRebate
public void setTotalRebate(BigDecimal value)
Sets the value of the totalRebate 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
-
getSaleItemRebate
public List<SaleItemRebate> getSaleItemRebate()
Gets the value of the saleItemRebate property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the saleItemRebate property.For example, to add a new item, do as follows:
getSaleItemRebate().add(newItem);Objects of the following type(s) are allowed in the list
SaleItemRebate- Returns:
- the sale item rebate
-
-