public class AmountType extends Object
Java class for AmountType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AmountType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="currencyID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountTypeCurrencyIDContentType" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
currencyID |
protected BigDecimal |
value |
| Constructor and Description |
|---|
AmountType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrencyID()
Gets the value of the currencyID property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
void |
setCurrencyID(String value)
Sets the value of the currencyID property.
|
void |
setValue(BigDecimal value)
Sets the value of the value property.
|
AmountType |
withCurrencyID(String value) |
AmountType |
withValue(BigDecimal value) |
protected BigDecimal value
protected String currencyID
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimalpublic String getCurrencyID()
Stringpublic void setCurrencyID(String value)
value - allowed object is
Stringpublic AmountType withValue(BigDecimal value)
public AmountType withCurrencyID(String value)
Copyright © 2014–2019 Philip Helger. All rights reserved.