Class Amount


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

      • amountValue

        protected BigDecimal amountValue
        The Value.
      • currency

        protected String currency
        The Currency.
    • Constructor Detail

      • Amount

        public Amount()
    • Method Detail

      • getAmountValue

        public BigDecimal getAmountValue()
        Gets the value of the amountValue property.
        Returns:
        possible object is BigDecimal
      • setAmountValue

        public void setAmountValue​(BigDecimal value)
        Sets the value of the amountValue 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