com.adyen.model.nexo.OriginalPOITransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
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;
/**
* Definition: Identification of a previous POI transaction. -- Usage: In the Payment or the Loyalty Request messageType, it allows using the card of a previous CardAcquisition or Payment/Loyalty request. To reverse a Payment or the Loyalty transaction. By default, the reversal is requested from the same Sale
*
* Java class for OriginalPOITransaction complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OriginalPOITransaction">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="POITransactionID" type="{}TransactionIdentification" minOccurs="0"/>
* <element name="ApprovalCode" type="{}ApprovalCode" minOccurs="0"/>
* <element name="HostTransactionID" type="{}TransactionIdentification" minOccurs="0"/>
* </sequence>
* <attribute name="SaleID" type="{}SaleID" />
* <attribute name="POIID" type="{}POIID" />
* <attribute name="ReuseCardDataFlag" type="{}ReuseCardDataFlag" default="true" />
* <attribute name="CustomerLanguage" type="{}ISOLanguage2A" />
* <attribute name="AcquirerID" type="{}AcquirerID" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OriginalPOITransaction", propOrder = {
"poiTransactionID",
"approvalCode",
"hostTransactionID"
})
public class OriginalPOITransaction {
/**
* The Poi transaction id.
*/
@XmlElement(name = "POITransactionID")
protected TransactionIdentification poiTransactionID;
/**
* The Approval code.
*/
@XmlElement(name = "ApprovalCode")
protected String approvalCode;
/**
* The Host transaction id.
*/
@XmlElement(name = "HostTransactionID")
protected TransactionIdentification hostTransactionID;
/**
* The Sale id.
*/
@XmlAttribute(name = "SaleID")
protected String saleID;
/**
* The Poiid.
*/
@XmlAttribute(name = "POIID")
protected String poiid;
/**
* The Reuse card data flag.
*/
@XmlAttribute(name = "ReuseCardDataFlag")
protected Boolean reuseCardDataFlag;
/**
* The Customer language.
*/
@XmlAttribute(name = "CustomerLanguage")
protected String customerLanguage;
/**
* The Acquirer id.
*/
@XmlAttribute(name = "AcquirerID")
protected String acquirerID;
/**
* Gets the value of the poiTransactionID property.
*
* @return possible object is {@link TransactionIdentification }
*/
public TransactionIdentification getPOITransactionID() {
return poiTransactionID;
}
/**
* Sets the value of the poiTransactionID property.
*
* @param value allowed object is {@link TransactionIdentification }
*/
public void setPOITransactionID(TransactionIdentification value) {
this.poiTransactionID = value;
}
/**
* Gets the value of the approvalCode property.
*
* @return possible object is {@link String }
*/
public String getApprovalCode() {
return approvalCode;
}
/**
* Sets the value of the approvalCode property.
*
* @param value allowed object is {@link String }
*/
public void setApprovalCode(String value) {
this.approvalCode = value;
}
/**
* Gets the value of the hostTransactionID property.
*
* @return possible object is {@link TransactionIdentification }
*/
public TransactionIdentification getHostTransactionID() {
return hostTransactionID;
}
/**
* Sets the value of the hostTransactionID property.
*
* @param value allowed object is {@link TransactionIdentification }
*/
public void setHostTransactionID(TransactionIdentification value) {
this.hostTransactionID = value;
}
/**
* Gets the value of the saleID property.
*
* @return possible object is {@link String }
*/
public String getSaleID() {
return saleID;
}
/**
* Sets the value of the saleID property.
*
* @param value allowed object is {@link String }
*/
public void setSaleID(String value) {
this.saleID = value;
}
/**
* Gets the value of the poiid property.
*
* @return possible object is {@link String }
*/
public String getPOIID() {
return poiid;
}
/**
* Sets the value of the poiid property.
*
* @param value allowed object is {@link String }
*/
public void setPOIID(String value) {
this.poiid = value;
}
/**
* Gets the value of the reuseCardDataFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isReuseCardDataFlag() {
if (reuseCardDataFlag == null) {
return true;
} else {
return reuseCardDataFlag;
}
}
/**
* Sets the value of the reuseCardDataFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setReuseCardDataFlag(Boolean value) {
this.reuseCardDataFlag = value;
}
/**
* Gets the value of the customerLanguage property.
*
* @return possible object is {@link String }
*/
public String getCustomerLanguage() {
return customerLanguage;
}
/**
* Sets the value of the customerLanguage property.
*
* @param value allowed object is {@link String }
*/
public void setCustomerLanguage(String value) {
this.customerLanguage = value;
}
/**
* Gets the value of the acquirerID property.
*
* @return possible object is {@link String }
*/
public String getAcquirerID() {
return acquirerID;
}
/**
* Sets the value of the acquirerID property.
*
* @param value allowed object is {@link String }
*/
public void setAcquirerID(String value) {
this.acquirerID = value;
}
}