Package com.adyen.model.nexo
Class ReversalResponse
- java.lang.Object
-
- com.adyen.model.nexo.ReversalResponse
-
public class ReversalResponse extends Object
Definition: Content of the Reversal Response messageType. -- Usage: It conveys Information related to the reversal processed by the POI System.Java class for ReversalResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReversalResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Response" type="{}Response"/> <element name="POIData" type="{}POIData" minOccurs="0"/> <element name="OriginalPOITransaction" type="{}OriginalPOITransaction" minOccurs="0"/> <element name="PaymentReceipt" type="{}PaymentReceipt" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ReversedAmount" type="{}SimpleAmountType" /> <attribute name="CustomerOrderID" type="{}CustomerOrderID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcustomerOrderIDThe Customer order id.protected OriginalPOITransactionoriginalPOITransactionThe Original poi transaction.protected List<PaymentReceipt>paymentReceiptThe Payment receipt.protected POIDatapoiDataThe Poi data.protected ResponseresponseThe Response.protected BigDecimalreversedAmountThe Reversed amount.
-
Constructor Summary
Constructors Constructor Description ReversalResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCustomerOrderID()Gets the value of the customerOrderID property.OriginalPOITransactiongetOriginalPOITransaction()Gets the value of the originalPOITransaction property.List<PaymentReceipt>getPaymentReceipt()Gets the value of the paymentReceipt property.POIDatagetPOIData()Gets the value of the poiData property.ResponsegetResponse()Gets the value of the response property.BigDecimalgetReversedAmount()Gets the value of the reversedAmount property.voidsetCustomerOrderID(String value)Sets the value of the customerOrderID property.voidsetOriginalPOITransaction(OriginalPOITransaction value)Sets the value of the originalPOITransaction property.voidsetPOIData(POIData value)Sets the value of the poiData property.voidsetResponse(Response value)Sets the value of the response property.voidsetReversedAmount(BigDecimal value)Sets the value of the reversedAmount property.
-
-
-
Field Detail
-
response
protected Response response
The Response.
-
poiData
protected POIData poiData
The Poi data.
-
originalPOITransaction
protected OriginalPOITransaction originalPOITransaction
The Original poi transaction.
-
paymentReceipt
protected List<PaymentReceipt> paymentReceipt
The Payment receipt.
-
reversedAmount
protected BigDecimal reversedAmount
The Reversed amount.
-
customerOrderID
protected String customerOrderID
The Customer order id.
-
-
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
-
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
-
getOriginalPOITransaction
public OriginalPOITransaction getOriginalPOITransaction()
Gets the value of the originalPOITransaction property.- Returns:
- possible object is
OriginalPOITransaction
-
setOriginalPOITransaction
public void setOriginalPOITransaction(OriginalPOITransaction value)
Sets the value of the originalPOITransaction property.- Parameters:
value- allowed object isOriginalPOITransaction
-
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
-
getReversedAmount
public BigDecimal getReversedAmount()
Gets the value of the reversedAmount property.- Returns:
- possible object is
BigDecimal
-
setReversedAmount
public void setReversedAmount(BigDecimal value)
Sets the value of the reversedAmount property.- Parameters:
value- allowed object isBigDecimal
-
getCustomerOrderID
public String getCustomerOrderID()
Gets the value of the customerOrderID property.- Returns:
- possible object is
String
-
-