public class LoyaltyTransaction extends Object
Java class for LoyaltyTransaction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyTransaction">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="OriginalPOITransaction" type="{}OriginalPOITransaction" minOccurs="0"/>
<element name="TransactionConditions" type="{}TransactionConditions" minOccurs="0"/>
<element name="SaleItem" type="{}SaleItem" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="LoyaltyTransaction" use="required" type="{}LoyaltyTransactionType" />
<attribute name="Currency" type="{}ISOCurrency3A" />
<attribute name="TotalAmount" type="{}SimpleAmountType" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
currency
The Currency.
|
protected LoyaltyTransactionType |
loyaltyTransactionType
The Loyalty transaction.
|
protected OriginalPOITransaction |
originalPOITransaction
The Original poi transaction.
|
protected List<SaleItem> |
saleItem
The Sale item.
|
protected BigDecimal |
totalAmount
The Total amount.
|
protected TransactionConditions |
transactionConditions
The Transaction conditions.
|
| Constructor and Description |
|---|
LoyaltyTransaction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrency()
Gets the value of the currency property.
|
LoyaltyTransactionType |
getLoyaltyTransactionType()
Gets the value of the loyaltyTransactionType property.
|
OriginalPOITransaction |
getOriginalPOITransaction()
Gets the value of the originalPOITransaction property.
|
List<SaleItem> |
getSaleItem()
Gets the value of the saleItem property.
|
BigDecimal |
getTotalAmount()
Gets the value of the totalAmount property.
|
TransactionConditions |
getTransactionConditions()
Gets the value of the transactionConditions property.
|
void |
setCurrency(String value)
Sets the value of the currency property.
|
void |
setLoyaltyTransactionType(LoyaltyTransactionType value)
Sets the value of the loyaltyTransactionType property.
|
void |
setOriginalPOITransaction(OriginalPOITransaction value)
Sets the value of the originalPOITransaction property.
|
void |
setTotalAmount(BigDecimal value)
Sets the value of the totalAmount property.
|
void |
setTransactionConditions(TransactionConditions value)
Sets the value of the transactionConditions property.
|
protected OriginalPOITransaction originalPOITransaction
protected TransactionConditions transactionConditions
protected LoyaltyTransactionType loyaltyTransactionType
protected String currency
protected BigDecimal totalAmount
public OriginalPOITransaction getOriginalPOITransaction()
OriginalPOITransactionpublic void setOriginalPOITransaction(OriginalPOITransaction value)
value - allowed object is OriginalPOITransactionpublic TransactionConditions getTransactionConditions()
TransactionConditionspublic void setTransactionConditions(TransactionConditions value)
value - allowed object is TransactionConditionspublic List<SaleItem> getSaleItem()
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 saleItem property.
For example, to add a new item, do as follows:
getSaleItem().add(newItem);
Objects of the following type(s) are allowed in the list
SaleItem
public LoyaltyTransactionType getLoyaltyTransactionType()
LoyaltyTransactionTypepublic void setLoyaltyTransactionType(LoyaltyTransactionType value)
value - allowed object is LoyaltyTransactionTypepublic String getCurrency()
Stringpublic void setCurrency(String value)
value - allowed object is Stringpublic BigDecimal getTotalAmount()
BigDecimalpublic void setTotalAmount(BigDecimal value)
value - allowed object is BigDecimalCopyright © 2022. All rights reserved.