Class Amount

java.lang.Object
iofXml.v3.Amount

public class Amount extends Object
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>
  • Field Details

  • Constructor Details

    • Amount

      public Amount()
  • Method Details

    • getValue

      public BigDecimal getValue()
      Gets the value of the value property.
      Returns:
      possible object is BigDecimal
    • setValue

      public void setValue(BigDecimal value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is BigDecimal
    • getCurrency

      public String getCurrency()
      Gets the value of the currency property.
      Returns:
      possible object is String
    • setCurrency

      public void setCurrency(String value)
      Sets the value of the currency property.
      Parameters:
      value - allowed object is String