GData JavaScript Client 2.0

Class google.gdata.finance.Gain

Object
   |
   +--google.gdata.finance.Gain

class google.gdata.finance.Gain


Total gain for the portfolio or position.
Defined in gdata.js


Field Summary
 Object $moneyClass_
          
 
Constructor Summary
google.gdata.finance.Gain(<Object> opt_params)
            Constructs a total gain 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 total gain.
 Array.<google.gdata.Money> getMoney()
           Returns the monetary value of the total gain.
 void setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
           Sets the monetary value of the total gain.

Field Detail

$moneyClass_

Object $moneyClass_

Constructor Detail

google.gdata.finance.Gain

google.gdata.finance.Gain(<Object> opt_params)

Method Detail

addMoney

void addMoney(<google.gdata.Money|Object> money)

getMoney

Array.<google.gdata.Money> getMoney()

setMoney

void setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)

GData JavaScript Client 2.0

Documentation generated by JSDoc on Tue Sep 22 18:28:55 2009