java.lang.Object
com.oracle.communications.brm.cc.model.Money
All Implemented Interfaces:
Serializable

public class Money extends Object implements Serializable
The amount of money.

Java class for money complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="money">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="currency" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • amount

      protected BigDecimal amount
      The amount of money.
    • currency

      protected Integer currency
      The currency for the money.
  • Constructor Details

    • Money

      public Money()
  • Method Details

    • getAmount

      public BigDecimal getAmount()
      The amount of money.
      Returns:
      possible object is BigDecimal
    • setAmount

      public void setAmount(BigDecimal value)
      Sets the value of the amount property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getCurrency

      public Integer getCurrency()
      The currency for the money.
      Returns:
      possible object is Integer
    • setCurrency

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