Class google.gdata.finance.MarketValue
Object
|
+--google.gdata.finance.MarketValue
- class
google.gdata.finance.MarketValue
Market value for the portfolio or position.
Defined in gdata.js
Constructor Summary |
google.gdata.finance.MarketValue(<Object> opt_params)
Constructs a market value using an object parameter whose property names
match the setter method to use for each property.
|
Method Summary |
void
|
addMoney(<google.gdata.Money|Object> money)
Adds a new monetary value of the market value.
|
Array.<google.gdata.Money>
|
getMoney()
Returns the monetary value of the market value.
|
void
|
setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
Sets the monetary value of the market value.
|
$moneyClass_
Object $moneyClass_
google.gdata.finance.MarketValue
google.gdata.finance.MarketValue(<Object> opt_params)
Constructs a market value 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: money.
addMoney
void addMoney(<google.gdata.Money|Object> money)
Adds a new monetary value of the market value.
Parameters:
money
- Monetary value of the market value to add, or object to use as a parameter to the google.gdata.Money constructor.
getMoney
Array.<google.gdata.Money> getMoney()
Returns the monetary value of the market value.
Returns:
Monetary value of the market value.
setMoney
void setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
Sets the monetary value of the market value.
Parameters:
money
- Monetary value of the market value, where each monetary value of the market value is added using the addMoney() function, or undefined to clear the monetary value of the market value.
Documentation generated by
JSDoc on Mon Dec 14 15:04:11 2009