Package com.adyen.model.nexo
Class ReversalRequest
- java.lang.Object
-
- com.adyen.model.nexo.ReversalRequest
-
public class ReversalRequest extends Object
Definition: Content of the Reversal Request messageType. -- Usage: It conveys Information related to the reversal of a previous payment or a loyalty transaction.Java class for ReversalRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReversalRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="OriginalPOITransaction" type="{}OriginalPOITransaction"/> <element name="CustomerOrderID" type="{}CustomerOrder" minOccurs="0"/> </sequence> <attribute name="SaleReferenceID" type="{}SaleReferenceID" /> <attribute name="ReversalReason" use="required" type="{}ReversalReasonType" /> <attribute name="ReversedAmount" type="{}SimpleAmountType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CustomerOrdercustomerOrderIDThe Customer order id.protected OriginalPOITransactionoriginalPOITransactionThe Original poi transaction.protected ReversalReasonTypereversalReasonThe Reversal reason.protected BigDecimalreversedAmountThe Reversed amount.protected SaleDatasaleDataThe Sale data.protected StringsaleReferenceIDThe Sale reference id.
-
Constructor Summary
Constructors Constructor Description ReversalRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerOrdergetCustomerOrderID()Gets the value of the customerOrderID property.OriginalPOITransactiongetOriginalPOITransaction()Gets the value of the originalPOITransaction property.ReversalReasonTypegetReversalReason()Gets the value of the reversalReason property.BigDecimalgetReversedAmount()Gets the value of the reversedAmount property.SaleDatagetSaleData()Gets the value of the saleData property.StringgetSaleReferenceID()Gets the value of the saleReferenceID property.voidsetCustomerOrderID(CustomerOrder value)Sets the value of the customerOrderID property.voidsetOriginalPOITransaction(OriginalPOITransaction value)Sets the value of the originalPOITransaction property.voidsetReversalReason(ReversalReasonType value)Sets the value of the reversalReason property.voidsetReversedAmount(BigDecimal value)Sets the value of the reversedAmount property.voidsetSaleData(SaleData value)Sets the value of the saleData property.voidsetSaleReferenceID(String value)Sets the value of the saleReferenceID property.
-
-
-
Field Detail
-
originalPOITransaction
protected OriginalPOITransaction originalPOITransaction
The Original poi transaction.
-
customerOrderID
protected CustomerOrder customerOrderID
The Customer order id.
-
saleReferenceID
protected String saleReferenceID
The Sale reference id.
-
reversalReason
protected ReversalReasonType reversalReason
The Reversal reason.
-
reversedAmount
protected BigDecimal reversedAmount
The Reversed amount.
-
saleData
protected SaleData saleData
The Sale data.
-
-
Method Detail
-
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
-
getCustomerOrderID
public CustomerOrder getCustomerOrderID()
Gets the value of the customerOrderID property.- Returns:
- possible object is
CustomerOrder
-
setCustomerOrderID
public void setCustomerOrderID(CustomerOrder value)
Sets the value of the customerOrderID property.- Parameters:
value- allowed object isCustomerOrder
-
getSaleReferenceID
public String getSaleReferenceID()
Gets the value of the saleReferenceID property.- Returns:
- possible object is
String
-
setSaleReferenceID
public void setSaleReferenceID(String value)
Sets the value of the saleReferenceID property.- Parameters:
value- allowed object isString
-
getReversalReason
public ReversalReasonType getReversalReason()
Gets the value of the reversalReason property.- Returns:
- possible object is
ReversalReasonType
-
setReversalReason
public void setReversalReason(ReversalReasonType value)
Sets the value of the reversalReason property.- Parameters:
value- allowed object isReversalReasonType
-
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
-
getSaleData
public SaleData getSaleData()
Gets the value of the saleData property.- Returns:
- possible object is
SaleData
-
-