All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.CashHandlingDevice Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy