Class google.gdata.Money
Object
|
+--google.gdata.Money
- class
google.gdata.Money
Describes money.
Defined in gdata.js
Field Summary |
{string|undefined} |
amount
Amount. |
{string|undefined} |
currencyCode
ISO4217 currency code. |
Constructor Summary |
google.gdata.Money(<Object> opt_params)
Constructs a money using an object parameter whose property names match the
setter method to use for each property.
|
Method Summary |
number|undefined
|
getAmount()
Returns the amount.
|
string|undefined
|
getCurrencyCode()
Returns the ISO4217 currency code.
|
void
|
setAmount(<number|undefined> amount)
Sets the amount.
|
void
|
setCurrencyCode(<string|undefined> currencyCode)
Sets the ISO4217 currency code.
|
amount
{string|undefined} amount
Amount. This attribute is required.
currencyCode
{string|undefined} currencyCode
ISO4217 currency code. This attribute is required.
google.gdata.Money
google.gdata.Money(<Object> opt_params)
Constructs a money using an object parameter whose property names match the
setter method to use for each property.
Parameters:
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: amount and currencyCode.
getAmount
number|undefined getAmount()
Returns the amount. This attribute is required.
Returns:
Amount or undefined for none.
getCurrencyCode
string|undefined getCurrencyCode()
Returns the ISO4217 currency code. This attribute is required.
Returns:
ISO4217 currency code or undefined for none.
setAmount
void setAmount(<number|undefined> amount)
Sets the amount. This attribute is required.
Parameters:
amount
- Amount or undefined for none.
setCurrencyCode
void setCurrencyCode(<string|undefined> currencyCode)
Sets the ISO4217 currency code. This attribute is required.
Parameters:
currencyCode
- ISO4217 currency code or undefined for none.
Documentation generated by
JSDoc on Mon Apr 20 21:27:27 2009