public class Rebates extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
rebateLabel
The Rebate label.
|
protected List<SaleItemRebate> |
saleItemRebate
The Sale item rebate.
|
protected BigDecimal |
totalRebate
The Total rebate.
|
| Constructor and Description |
|---|
Rebates() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRebateLabel()
Gets the value of the rebateLabel property.
|
List<SaleItemRebate> |
getSaleItemRebate()
Gets the value of the saleItemRebate property.
|
BigDecimal |
getTotalRebate()
Gets the value of the totalRebate property.
|
void |
setRebateLabel(String value)
Sets the value of the rebateLabel property.
|
void |
setTotalRebate(BigDecimal value)
Sets the value of the totalRebate property.
|
protected BigDecimal totalRebate
protected String rebateLabel
protected List<SaleItemRebate> saleItemRebate
public BigDecimal getTotalRebate()
BigDecimalpublic void setTotalRebate(BigDecimal value)
value - allowed object is BigDecimalpublic String getRebateLabel()
Stringpublic void setRebateLabel(String value)
value - allowed object is Stringpublic List<SaleItemRebate> getSaleItemRebate()
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 set method 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
Copyright © 2022. All rights reserved.