public class

Money

extends Object
java.lang.Object
   ↳ org.mule.modules.quickbooks.online.schema.Money

Class Overview

Money type describes the Money value represented in Intuit as Currency Code and decimal value. Money type is always associated with another CDM and will not be manipulated as a standalone hence it is not extended from CdmBase

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="CurrencyCode" type="{http://www.intuit.com/sb/cdm/v2}currencyCode" minOccurs="0"/>
         <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected BigDecimal amount
protected CurrencyCode currencyCode
Public Constructors
Money()
Public Methods
BigDecimal getAmount()
Gets the value of the amount property.
CurrencyCode getCurrencyCode()
Gets the value of the currencyCode property.
void setAmount(BigDecimal value)
Sets the value of the amount property.
void setCurrencyCode(CurrencyCode value)
Sets the value of the currencyCode property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected BigDecimal amount

protected CurrencyCode currencyCode

Public Constructors

public Money ()

Public Methods

public BigDecimal getAmount ()

Gets the value of the amount property.

Returns
  • possible object is BigDecimal

public CurrencyCode getCurrencyCode ()

Gets the value of the currencyCode property.

Returns

public void setAmount (BigDecimal value)

Sets the value of the amount property.

Parameters
value Allowed object is BigDecimal

public void setCurrencyCode (CurrencyCode value)

Sets the value of the currencyCode property.

Parameters
value Allowed object is CurrencyCode