Package iofXml.v3
Class Amount
-
- All Implemented Interfaces:
public class AmountDefines a monetary amount.
Java class for Amount complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Amount"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>decimal"> <attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Amount()
-
Method Summary
Modifier and Type Method Description BigDecimalgetValue()Gets the value of the value property. voidsetValue(BigDecimal value)Sets the value of the value property. StringgetCurrency()Gets the value of the currency property. voidsetCurrency(String value)Sets the value of the currency property. -
-
Method Detail
-
getValue
BigDecimal getValue()
Gets the value of the value property.
- Returns:
possibleobject is BigDecimal
-
setValue
void setValue(BigDecimal value)
Sets the value of the value property.
- Parameters:
value- allowed object is BigDecimal
-
getCurrency
String getCurrency()
Gets the value of the currency property.
- Returns:
possibleobject is String
-
setCurrency
void setCurrency(String value)
Sets the value of the currency property.
- Parameters:
value- allowed object is String
-
-
-
-