com.adyen.model.nexo.Amount 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 javax.xml.bind.annotation.XmlValue;
import java.math.BigDecimal;
/**
* Definition: Common amount definition with currency -- Usage: Decimal unsigned amount with currency and amount before conversion.
*
* Java class for Amount complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Amount">
* <simpleContent>
* <extension base="Decimal">
* <attribute name="Currency" type="{}ISOCurrency3A" />
* </extension>
* </simpleContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Amount", propOrder = {
"value"
})
public class Amount {
/**
* The Value.
*/
@XmlValue
protected BigDecimal value;
/**
* The Currency.
*/
@XmlAttribute(name = "Currency")
protected String currency;
/**
* Gets the value of the value property.
*
* @return possible object is {@link BigDecimal }
*/
public BigDecimal getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value allowed object is {@link BigDecimal }
*/
public void setValue(BigDecimal value) {
this.value = 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;
}
}