com.adyen.model.nexo.TransactionStatusRequest 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Content of the TransactionStatus Request messageType. -- Usage: It conveys Information requested for status of the last or current Payment, Loyalty or Reversal transaction.
*
* Java class for TransactionStatusRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TransactionStatusRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MessageReference" type="{}MessageReference" minOccurs="0"/>
* <element name="DocumentQualifier" type="{}DocumentQualifierType" maxOccurs="2" minOccurs="0"/>
* </sequence>
* <attribute name="ReceiptReprintFlag" type="{}ReceiptReprintFlag" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransactionStatusRequest", propOrder = {
"messageReference",
"documentQualifier"
})
public class TransactionStatusRequest {
/**
* The Message reference.
*/
@XmlElement(name = "MessageReference")
protected MessageReference messageReference;
/**
* The Document qualifier.
*/
@XmlElement(name = "DocumentQualifier")
@XmlSchemaType(name = "string")
protected List documentQualifier;
/**
* The Receipt reprint flag.
*/
@XmlAttribute(name = "ReceiptReprintFlag")
protected Boolean receiptReprintFlag;
/**
* Gets the value of the messageReference property.
*
* @return possible object is {@link MessageReference }
*/
public MessageReference getMessageReference() {
return messageReference;
}
/**
* Sets the value of the messageReference property.
*
* @param value allowed object is {@link MessageReference }
*/
public void setMessageReference(MessageReference value) {
this.messageReference = value;
}
/**
* Gets the value of the documentQualifier 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 set
method for the documentQualifier property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentQualifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentQualifierType }
*
* @return the document qualifier
*/
public List getDocumentQualifier() {
if (documentQualifier == null) {
documentQualifier = new ArrayList<>();
}
return this.documentQualifier;
}
/**
* Gets the value of the receiptReprintFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isReceiptReprintFlag() {
if (receiptReprintFlag == null) {
return false;
} else {
return receiptReprintFlag;
}
}
/**
* Sets the value of the receiptReprintFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setReceiptReprintFlag(Boolean value) {
this.receiptReprintFlag = value;
}
}