GData JavaScript Client 1.9

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


Field Summary
 Object $moneyClass_
          
 
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.

Field Detail

$moneyClass_

Object $moneyClass_

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.9

Documentation generated by JSDoc on Mon Apr 20 21:27:27 2009