com.adyen.model.nexo.CoinsOrBills 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;
import java.math.BigDecimal;
import java.math.BigInteger;
/**
* Definition: Number of coins or bills of a given value. -- Usage: Indicates the remaining number of coins or bills of a given value in a cash handling device. When the cash handling machine does not have any more coins or bills of a certain value, the number must be equal to 0.
*
* Java class for CoinsOrBills complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CoinsOrBills">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="UnitValue" use="required" type="{}SimpleAmountType" />
* <attribute name="Number" use="required" type="{}Number" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CoinsOrBills")
public class CoinsOrBills {
/**
* The Unit value.
*/
@XmlAttribute(name = "UnitValue", required = true)
protected BigDecimal unitValue;
/**
* The Number.
*/
@XmlAttribute(name = "Number", required = true)
protected BigInteger number;
/**
* Gets the value of the unitValue property.
*
* @return possible object is {@link BigDecimal }
*/
public BigDecimal getUnitValue() {
return unitValue;
}
/**
* Sets the value of the unitValue property.
*
* @param value allowed object is {@link BigDecimal }
*/
public void setUnitValue(BigDecimal value) {
this.unitValue = value;
}
/**
* Gets the value of the number property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getNumber() {
return number;
}
/**
* Sets the value of the number property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setNumber(BigInteger value) {
this.number = value;
}
}