
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 io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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")
@Schema(description = "Unique identification of a POI transaction for a POI --Rule: Absent if SaleReferenceID is sufficient to identify the transaction, or for some reversal cases.")
protected TransactionIdentification poiTransactionID;
/**
* The Approval code.
*/
@XmlElement(name = "ApprovalCode")
@Schema(description = "Code assigned to a transaction approval by the Acquirer. --Rule: If referral")
protected String approvalCode;
/**
* The Host transaction id.
*/
@XmlElement(name = "HostTransactionID")
@Schema(description = "Identification of the transaction by the host in charge of the stored value transaction --Rule: If POITransactionID not present")
protected TransactionIdentification hostTransactionID;
/**
* The Sale id.
*/
@XmlElement(name = "SaleID")
@Schema(description = "Identification of a Sale System or a Sale Terminal for the Sale to POI protocol")
protected String saleID;
/**
* The Poiid.
*/
@XmlElement(name = "POIID")
@Schema(description = "Identification of a POI System or a POI Terminal for the Sale to POI protocol --Rule: If original transaction is coming from another POI")
protected String poiid;
/**
* The Reuse card data flag.
*/
@XmlElement(name = "ReuseCardDataFlag")
@Schema(description = "Indicate if the card data has to be got from a previous transaction.")
protected Boolean reuseCardDataFlag;
/**
* The Customer language.
*/
@XmlElement(name = "CustomerLanguage")
@Schema(description = "Language of the Customer --Rule: Optional for Reversal, otherwise absent.")
protected String customerLanguage;
/**
* The Acquirer id.
*/
@XmlElement(name = "AcquirerID")
@Schema(description = "Identification of the Acquirer --Rule: Optional for Reversal, otherwise absent.")
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy