GData JavaScript Client 1.5

Class google.gdata.finance.CostBasis

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

class google.gdata.finance.CostBasis


Cost basis for the portfolio or position.
Defined in gdata.js


Constructor Summary
google.gdata.finance.CostBasis(<Object> opt_params)
            Constructs a cost basis 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 cost basi.
 Array.<google.gdata.Money> getMoney()
           Returns the monetary value of the cost basis.
 void setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
           Sets the monetary value of the cost basis.

Constructor Detail

google.gdata.finance.CostBasis

google.gdata.finance.CostBasis(<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 1.5

Documentation generated by JSDoc on Thu Oct 2 17:38:03 2008