Class PaymentResponse
- java.lang.Object
-
- com.adyen.model.nexo.PaymentResponse
-
public class PaymentResponse extends Object
Definition: Content of the Payment Response messageType. -- Usage: It conveys Information related to the Payment transaction processed by the POI SystemJava class for PaymentResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Response" type="{}Response"/> <element name="SaleData" type="{}SaleData"/> <element name="POIData" type="{}POIData"/> <element name="PaymentResult" type="{}PaymentResult" minOccurs="0"/> <element name="LoyaltyResult" type="{}LoyaltyResult" maxOccurs="unbounded" minOccurs="0"/> <element name="PaymentReceipt" type="{}PaymentReceipt" maxOccurs="unbounded" minOccurs="0"/> <element name="CustomerOrder" type="{}CustomerOrder" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CustomerOrder>customerOrderThe Customer order.protected List<LoyaltyResult>loyaltyResultThe Loyalty result.protected List<PaymentReceipt>paymentReceiptThe Payment receipt.protected PaymentResultpaymentResultThe Payment result.protected POIDatapoiDataThe Poi data.protected ResponseresponseThe Response.protected SaleDatasaleDataThe Sale data.
-
Constructor Summary
Constructors Constructor Description PaymentResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CustomerOrder>getCustomerOrder()Gets the value of the customerOrder property.List<LoyaltyResult>getLoyaltyResult()Gets the value of the loyaltyResult property.List<PaymentReceipt>getPaymentReceipt()Gets the value of the paymentReceipt property.PaymentResultgetPaymentResult()Gets the value of the paymentResult property.POIDatagetPOIData()Gets the value of the poiData property.ResponsegetResponse()Gets the value of the response property.SaleDatagetSaleData()Gets the value of the saleData property.voidsetPaymentResult(PaymentResult value)Sets the value of the paymentResult property.voidsetPOIData(POIData value)Sets the value of the poiData property.voidsetResponse(Response value)Sets the value of the response property.voidsetSaleData(SaleData value)Sets the value of the saleData property.
-
-
-
Field Detail
-
response
protected Response response
The Response.
-
saleData
protected SaleData saleData
The Sale data.
-
poiData
protected POIData poiData
The Poi data.
-
paymentResult
protected PaymentResult paymentResult
The Payment result.
-
loyaltyResult
protected List<LoyaltyResult> loyaltyResult
The Loyalty result.
-
paymentReceipt
protected List<PaymentReceipt> paymentReceipt
The Payment receipt.
-
customerOrder
protected List<CustomerOrder> customerOrder
The Customer order.
-
-
Method Detail
-
getResponse
public Response getResponse()
Gets the value of the response property.- Returns:
- possible object is
Response
-
setResponse
public void setResponse(Response value)
Sets the value of the response property.- Parameters:
value- allowed object isResponse
-
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
-
getPOIData
public POIData getPOIData()
Gets the value of the poiData property.- Returns:
- possible object is
POIData
-
setPOIData
public void setPOIData(POIData value)
Sets the value of the poiData property.- Parameters:
value- allowed object isPOIData
-
getPaymentResult
public PaymentResult getPaymentResult()
Gets the value of the paymentResult property.- Returns:
- possible object is
PaymentResult
-
setPaymentResult
public void setPaymentResult(PaymentResult value)
Sets the value of the paymentResult property.- Parameters:
value- allowed object isPaymentResult
-
getLoyaltyResult
public List<LoyaltyResult> getLoyaltyResult()
Gets the value of the loyaltyResult 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 loyaltyResult property.For example, to add a new item, do as follows:
getLoyaltyResult().add(newItem);Objects of the following type(s) are allowed in the list
LoyaltyResult- Returns:
- the loyalty result
-
getPaymentReceipt
public List<PaymentReceipt> getPaymentReceipt()
Gets the value of the paymentReceipt 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 paymentReceipt property.For example, to add a new item, do as follows:
getPaymentReceipt().add(newItem);Objects of the following type(s) are allowed in the list
PaymentReceipt- Returns:
- the payment receipt
-
getCustomerOrder
public List<CustomerOrder> getCustomerOrder()
Gets the value of the customerOrder 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 customerOrder property.For example, to add a new item, do as follows:
getCustomerOrder().add(newItem);Objects of the following type(s) are allowed in the list
CustomerOrder- Returns:
- the customer order
-
-