com.adyen.model.nexo.CashHandlingDevice 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: Status of cash handling device. -- Usage: Indicate the status and the remaining coins and bill in a cash handling device.
*
* Java class for CashHandlingDevice complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CashHandlingDevice">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CoinsOrBills" type="{}CoinsOrBills" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="CashHandlingOKFlag" use="required" type="{}CashHandlingOKFlag" />
* <attribute name="Currency" use="required" type="{}ISOCurrency3A" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashHandlingDevice", propOrder = {
"coinsOrBills"
})
public class CashHandlingDevice {
/**
* The Coins or bills.
*/
@XmlElement(name = "CoinsOrBills", required = true)
protected List coinsOrBills;
/**
* The Cash handling ok flag.
*/
@XmlAttribute(name = "CashHandlingOKFlag", required = true)
protected boolean cashHandlingOKFlag;
/**
* The Currency.
*/
@XmlAttribute(name = "Currency", required = true)
protected String currency;
/**
* Gets the value of the coinsOrBills 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 coinsOrBills property.
*
*
* For example, to add a new item, do as follows:
*
* getCoinsOrBills().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CoinsOrBills }
*
* @return the coins or bills
*/
public List getCoinsOrBills() {
if (coinsOrBills == null) {
coinsOrBills = new ArrayList();
}
return this.coinsOrBills;
}
/**
* Gets the value of the cashHandlingOKFlag property.
*
* @return the boolean
*/
public boolean isCashHandlingOKFlag() {
return cashHandlingOKFlag;
}
/**
* Sets the value of the cashHandlingOKFlag property.
*
* @param value the value
*/
public void setCashHandlingOKFlag(boolean value) {
this.cashHandlingOKFlag = value;
}
/**
* Gets the value of the currency property.
*
* @return possible object is {@link String }
*/
public String getCurrency() {
return currency;
}
/**
* Sets the value of the currency property.
*
* @param value allowed object is {@link String }
*/
public void setCurrency(String value) {
this.currency = value;
}
}