public class PaymentRequest extends Object
Java class for PaymentRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SaleData" type="{}SaleData"/>
<element name="PaymentTransaction" type="{}PaymentTransaction"/>
<element name="PaymentData" type="{}PaymentData" minOccurs="0"/>
<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 PaymentData |
paymentData
The Payment data.
|
protected PaymentTransaction |
paymentTransaction
The Payment transaction.
|
protected SaleData |
saleData
The Sale data.
|
| Constructor and Description |
|---|
PaymentRequest() |
| Modifier and Type | Method and Description |
|---|---|
List<LoyaltyData> |
getLoyaltyData()
Gets the value of the loyaltyData property.
|
PaymentData |
getPaymentData()
Gets the value of the paymentData property.
|
PaymentTransaction |
getPaymentTransaction()
Gets the value of the paymentTransaction property.
|
SaleData |
getSaleData()
Gets the value of the saleData property.
|
void |
setPaymentData(PaymentData value)
Sets the value of the paymentData property.
|
void |
setPaymentTransaction(PaymentTransaction value)
Sets the value of the paymentTransaction property.
|
void |
setSaleData(SaleData value)
Sets the value of the saleData property.
|
protected SaleData saleData
protected PaymentTransaction paymentTransaction
protected PaymentData paymentData
protected List<LoyaltyData> loyaltyData
public SaleData getSaleData()
SaleDatapublic void setSaleData(SaleData value)
value - allowed object is SaleDatapublic PaymentTransaction getPaymentTransaction()
PaymentTransactionpublic void setPaymentTransaction(PaymentTransaction value)
value - allowed object is PaymentTransactionpublic PaymentData getPaymentData()
PaymentDatapublic void setPaymentData(PaymentData value)
value - allowed object is PaymentDatapublic 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.