com.adyen.model.nexo.HostStatus 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.XmlType;
/**
* Definition: State of a Host. -- Usage: Indicate the reachability of the host by the POI Terminal.
*
* Java class for HostStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostStatus">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="AcquirerID" use="required" type="{}AcquirerID" />
* <attribute name="IsReachableFlag" type="{}IsReachableFlag" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostStatus")
public class HostStatus {
/**
* The Acquirer id.
*/
@XmlAttribute(name = "AcquirerID", required = true)
protected String acquirerID;
/**
* The Is reachable flag.
*/
@XmlAttribute(name = "IsReachableFlag")
protected Boolean isReachableFlag;
/**
* 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;
}
/**
* Gets the value of the isReachableFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isIsReachableFlag() {
if (isReachableFlag == null) {
return true;
} else {
return isReachableFlag;
}
}
/**
* Sets the value of the isReachableFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setIsReachableFlag(Boolean value) {
this.isReachableFlag = value;
}
}