public class LoyaltyRequest extends Object
Java class for LoyaltyRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SaleData" type="{}SaleData"/>
<element name="LoyaltyTransaction" type="{}LoyaltyTransaction"/>
<element name="LoyaltyData" type="{}LoyaltyData" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<LoyaltyData> |
loyaltyData
The Loyalty data.
|
protected LoyaltyTransaction |
loyaltyTransaction
The Loyalty transaction.
|
protected SaleData |
saleData
The Sale data.
|
| Constructor and Description |
|---|
LoyaltyRequest() |
| Modifier and Type | Method and Description |
|---|---|
List<LoyaltyData> |
getLoyaltyData()
Gets the value of the loyaltyData property.
|
LoyaltyTransaction |
getLoyaltyTransaction()
Gets the value of the loyaltyTransaction property.
|
SaleData |
getSaleData()
Gets the value of the saleData property.
|
void |
setLoyaltyTransaction(LoyaltyTransaction value)
Sets the value of the loyaltyTransaction property.
|
void |
setSaleData(SaleData value)
Sets the value of the saleData property.
|
protected SaleData saleData
protected LoyaltyTransaction loyaltyTransaction
protected List<LoyaltyData> loyaltyData
public SaleData getSaleData()
SaleDatapublic void setSaleData(SaleData value)
value - allowed object is SaleDatapublic LoyaltyTransaction getLoyaltyTransaction()
LoyaltyTransactionpublic void setLoyaltyTransaction(LoyaltyTransaction value)
value - allowed object is LoyaltyTransactionpublic List<LoyaltyData> getLoyaltyData()
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 loyaltyData property.
For example, to add a new item, do as follows:
getLoyaltyData().add(newItem);
Objects of the following type(s) are allowed in the list
LoyaltyData
Copyright © 2022. All rights reserved.