Package com.adyen.model.nexo
Class PaymentRequest
- java.lang.Object
-
- com.adyen.model.nexo.PaymentRequest
-
public class PaymentRequest extends Object
Definition: Content of the Payment Request messageType. -- Usage: It conveys Information related to the Payment transaction to processJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LoyaltyData>loyaltyDataThe Loyalty data.protected PaymentDatapaymentDataThe Payment data.protected PaymentTransactionpaymentTransactionThe Payment transaction.protected SaleDatasaleDataThe Sale data.
-
Constructor Summary
Constructors Constructor Description PaymentRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LoyaltyData>getLoyaltyData()Gets the value of the loyaltyData property.PaymentDatagetPaymentData()Gets the value of the paymentData property.PaymentTransactiongetPaymentTransaction()Gets the value of the paymentTransaction property.SaleDatagetSaleData()Gets the value of the saleData property.voidsetPaymentData(PaymentData value)Sets the value of the paymentData property.voidsetPaymentTransaction(PaymentTransaction value)Sets the value of the paymentTransaction property.voidsetSaleData(SaleData value)Sets the value of the saleData property.
-
-
-
Field Detail
-
saleData
protected SaleData saleData
The Sale data.
-
paymentTransaction
protected PaymentTransaction paymentTransaction
The Payment transaction.
-
paymentData
protected PaymentData paymentData
The Payment data.
-
loyaltyData
protected List<LoyaltyData> loyaltyData
The Loyalty data.
-
-
Method Detail
-
getSaleData
public SaleData getSaleData()
Gets the value of the saleData property.- Returns:
- possible object is
SaleData
-
setSaleData
public void setSaleData(SaleData value)
Sets the value of the saleData property.- Parameters:
value- allowed object isSaleData
-
getPaymentTransaction
public PaymentTransaction getPaymentTransaction()
Gets the value of the paymentTransaction property.- Returns:
- possible object is
PaymentTransaction
-
setPaymentTransaction
public void setPaymentTransaction(PaymentTransaction value)
Sets the value of the paymentTransaction property.- Parameters:
value- allowed object isPaymentTransaction
-
getPaymentData
public PaymentData getPaymentData()
Gets the value of the paymentData property.- Returns:
- possible object is
PaymentData
-
setPaymentData
public void setPaymentData(PaymentData value)
Sets the value of the paymentData property.- Parameters:
value- allowed object isPaymentData
-
getLoyaltyData
public List<LoyaltyData> getLoyaltyData()
Gets the value of the loyaltyData 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 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- Returns:
- the loyalty data
-
-