All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.ReversalRequest Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;


/**
 * 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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ReversalRequest", propOrder = { "originalPOITransaction", "customerOrderID" }) public class ReversalRequest { /** * The Original poi transaction. */ @XmlElement(name = "OriginalPOITransaction", required = true) protected OriginalPOITransaction originalPOITransaction; /** * The Customer order id. */ @XmlElement(name = "CustomerOrderID") protected CustomerOrder customerOrderID; /** * The Sale reference id. */ @XmlAttribute(name = "SaleReferenceID") protected String saleReferenceID; /** * The Reversal reason. */ @XmlAttribute(name = "ReversalReason", required = true) protected ReversalReasonType reversalReason; /** * The Reversed amount. */ @XmlAttribute(name = "ReversedAmount") protected BigDecimal reversedAmount; /** * The Sale data. */ @XmlAttribute(name = "SaleData") protected SaleData saleData; /** * Gets the value of the originalPOITransaction property. * * @return possible object is {@link OriginalPOITransaction } */ public OriginalPOITransaction getOriginalPOITransaction() { return originalPOITransaction; } /** * Sets the value of the originalPOITransaction property. * * @param value allowed object is {@link OriginalPOITransaction } */ public void setOriginalPOITransaction(OriginalPOITransaction value) { this.originalPOITransaction = value; } /** * Gets the value of the customerOrderID property. * * @return possible object is {@link CustomerOrder } */ public CustomerOrder getCustomerOrderID() { return customerOrderID; } /** * Sets the value of the customerOrderID property. * * @param value allowed object is {@link CustomerOrder } */ public void setCustomerOrderID(CustomerOrder value) { this.customerOrderID = value; } /** * Gets the value of the saleReferenceID property. * * @return possible object is {@link String } */ public String getSaleReferenceID() { return saleReferenceID; } /** * Sets the value of the saleReferenceID property. * * @param value allowed object is {@link String } */ public void setSaleReferenceID(String value) { this.saleReferenceID = value; } /** * Gets the value of the reversalReason property. * * @return possible object is {@link ReversalReasonType } */ public ReversalReasonType getReversalReason() { return reversalReason; } /** * Sets the value of the reversalReason property. * * @param value allowed object is {@link ReversalReasonType } */ public void setReversalReason(ReversalReasonType value) { this.reversalReason = value; } /** * Gets the value of the reversedAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getReversedAmount() { return reversedAmount; } /** * Sets the value of the reversedAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setReversedAmount(BigDecimal value) { this.reversedAmount = value; } /** * Gets the value of the saleData property. * * @return possible object is {@link SaleData } */ public SaleData getSaleData() { return saleData; } /** * Sets the value of the saleData property. * * @param value allowed object is {@link SaleData } */ public void setSaleData(SaleData value) { this.saleData = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy