com.adyen.model.nexo.DiagnosisRequest 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;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Content of the Diagnosis Request messageType. -- Usage: It conveys Information related to the target POI for which the diagnosis is requested
*
* Java class for DiagnosisRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DiagnosisRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AcquirerID" type="{}AcquirerID" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="POIID" type="{}POIID" />
* <attribute name="HostDiagnosisFlag" type="{}HostDiagnosisFlag" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiagnosisRequest", propOrder = {
"acquirerID"
})
public class DiagnosisRequest {
/**
* The Acquirer id.
*/
@XmlElement(name = "AcquirerID")
protected List acquirerID;
/**
* The Poiid.
*/
@XmlAttribute(name = "POIID")
protected String poiid;
/**
* The Host diagnosis flag.
*/
@XmlAttribute(name = "HostDiagnosisFlag")
protected Boolean hostDiagnosisFlag;
/**
* Gets the value of the acquirerID 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 acquirerID property.
*
*
* For example, to add a new item, do as follows:
*
* getAcquirerID().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
* @return the acquirer id
*/
public List getAcquirerID() {
if (acquirerID == null) {
acquirerID = new ArrayList<>();
}
return this.acquirerID;
}
/**
* 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 hostDiagnosisFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isHostDiagnosisFlag() {
if (hostDiagnosisFlag == null) {
return false;
} else {
return hostDiagnosisFlag;
}
}
/**
* Sets the value of the hostDiagnosisFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setHostDiagnosisFlag(Boolean value) {
this.hostDiagnosisFlag = value;
}
}