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

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

package com.adyen.model.nexo;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
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. */ @XmlElement(name = "UnitValue", required = true) @Schema(description = "Value of a coin or bill.") protected BigDecimal unitValue; /** * The Number. */ @XmlElement(name = "Number", required = true) @Schema(description = "Number of elements") 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy