Package iofXml.v3
Class Amount
-
- All Implemented Interfaces:
public class Amount
Defines 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 BigDecimal
getValue()
Gets the value of the value property. void
setValue(BigDecimal value)
Sets the value of the value property. String
getCurrency()
Gets the value of the currency property. void
setCurrency(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
-
-
-
-