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 Jul 21 17:09:08 2008