GData JavaScript Client 2.1

Class google.gdata.finance.PortfolioData

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

class google.gdata.finance.PortfolioData


Data for the portfolio.
Defined in gdata.js


Field Summary
 Object $costBasisClass_
          
 Object $daysGainClass_
          
 Object $gainClass_
          
 Object $marketValueClass_
          
 {string|undefined} currencyCode
          ISO4217 currency code.
 {string|undefined} gainPercentage
          Percentage gain.
 {string|undefined} return1w
          1 week return (percentage).
 {string|undefined} return1y
          1 year return (percentage).
 {string|undefined} return3m
          3 month return (percentage).
 {string|undefined} return3y
          3 year return (percentage).
 {string|undefined} return4w
          4 week return (percentage).
 {string|undefined} return5y
          5 year return (percentage).
 {string|undefined} returnOverall
          Overall return (percentage).
 {string|undefined} returnYTD
          Year-to-date return (percentage).
 
Constructor Summary
google.gdata.finance.PortfolioData(<Object> opt_params)
            Constructs a portfolio data using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 google.gdata.finance.CostBasis|undefined getCostBasis()
           Returns the cost basis of the portfolio in the portfolio default currency.
 string|undefined getCurrencyCode()
           Returns the ISO4217 currency code.
 google.gdata.finance.DaysGain|undefined getDaysGain()
           Returns the today's gain for the portfolio in the portfolio default currency.
 google.gdata.finance.Gain|undefined getGain()
           Returns the gain for the portfolio in the portfolio default currency.
 number|undefined getGainPercentage()
           Returns the percentage gain.
 google.gdata.finance.MarketValue|undefined getMarketValue()
           Returns the market value of the portfolio in the portfolio default currency.
 number|undefined getReturn1w()
           Returns the 1 week return (percentage).
 number|undefined getReturn1y()
           Returns the 1 year return (percentage).
 number|undefined getReturn3m()
           Returns the 3 month return (percentage).
 number|undefined getReturn3y()
           Returns the 3 year return (percentage).
 number|undefined getReturn4w()
           Returns the 4 week return (percentage).
 number|undefined getReturn5y()
           Returns the 5 year return (percentage).
 number|undefined getReturnOverall()
           Returns the overall return (percentage).
 number|undefined getReturnYTD()
           Returns the Year-to-date return (percentage).
 void setCostBasis(<google.gdata.finance.CostBasis|Object|undefined> costBasis)
           Sets the cost basis of the portfolio in the portfolio default currency.
 void setCurrencyCode(<string|undefined> currencyCode)
           Sets the ISO4217 currency code.
 void setDaysGain(<google.gdata.finance.DaysGain|Object|undefined> daysGain)
           Sets the today's gain for the portfolio in the portfolio default currency.
 void setGain(<google.gdata.finance.Gain|Object|undefined> gain)
           Sets the gain for the portfolio in the portfolio default currency.
 void setGainPercentage(<number|undefined> gainPercentage)
           Sets the percentage gain.
 void setMarketValue(<google.gdata.finance.MarketValue|Object|undefined> marketValue)
           Sets the market value of the portfolio in the portfolio default currency.
 void setReturn1w(<number|undefined> return1w)
           Sets the 1 week return (percentage).
 void setReturn1y(<number|undefined> return1y)
           Sets the 1 year return (percentage).
 void setReturn3m(<number|undefined> return3m)
           Sets the 3 month return (percentage).
 void setReturn3y(<number|undefined> return3y)
           Sets the 3 year return (percentage).
 void setReturn4w(<number|undefined> return4w)
           Sets the 4 week return (percentage).
 void setReturn5y(<number|undefined> return5y)
           Sets the 5 year return (percentage).
 void setReturnOverall(<number|undefined> returnOverall)
           Sets the overall return (percentage).
 void setReturnYTD(<number|undefined> returnYTD)
           Sets the Year-to-date return (percentage).

Field Detail

$costBasisClass_

Object $costBasisClass_

$daysGainClass_

Object $daysGainClass_

$gainClass_

Object $gainClass_

$marketValueClass_

Object $marketValueClass_

currencyCode

{string|undefined} currencyCode

gainPercentage

{string|undefined} gainPercentage

return1w

{string|undefined} return1w

return1y

{string|undefined} return1y

return3m

{string|undefined} return3m

return3y

{string|undefined} return3y

return4w

{string|undefined} return4w

return5y

{string|undefined} return5y

returnOverall

{string|undefined} returnOverall

returnYTD

{string|undefined} returnYTD

Constructor Detail

google.gdata.finance.PortfolioData

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

Method Detail

getCostBasis

google.gdata.finance.CostBasis|undefined getCostBasis()

getCurrencyCode

string|undefined getCurrencyCode()

getDaysGain

google.gdata.finance.DaysGain|undefined getDaysGain()

getGain

google.gdata.finance.Gain|undefined getGain()

getGainPercentage

number|undefined getGainPercentage()

getMarketValue

google.gdata.finance.MarketValue|undefined getMarketValue()

getReturn1w

number|undefined getReturn1w()

getReturn1y

number|undefined getReturn1y()

getReturn3m

number|undefined getReturn3m()

getReturn3y

number|undefined getReturn3y()

getReturn4w

number|undefined getReturn4w()

getReturn5y

number|undefined getReturn5y()

getReturnOverall

number|undefined getReturnOverall()

getReturnYTD

number|undefined getReturnYTD()

setCostBasis

void setCostBasis(<google.gdata.finance.CostBasis|Object|undefined> costBasis)

setCurrencyCode

void setCurrencyCode(<string|undefined> currencyCode)

setDaysGain

void setDaysGain(<google.gdata.finance.DaysGain|Object|undefined> daysGain)

setGain

void setGain(<google.gdata.finance.Gain|Object|undefined> gain)

setGainPercentage

void setGainPercentage(<number|undefined> gainPercentage)

setMarketValue

void setMarketValue(<google.gdata.finance.MarketValue|Object|undefined> marketValue)

setReturn1w

void setReturn1w(<number|undefined> return1w)

setReturn1y

void setReturn1y(<number|undefined> return1y)

setReturn3m

void setReturn3m(<number|undefined> return3m)

setReturn3y

void setReturn3y(<number|undefined> return3y)

setReturn4w

void setReturn4w(<number|undefined> return4w)

setReturn5y

void setReturn5y(<number|undefined> return5y)

setReturnOverall

void setReturnOverall(<number|undefined> returnOverall)

setReturnYTD

void setReturnYTD(<number|undefined> returnYTD)

GData JavaScript Client 2.1

Documentation generated by JSDoc on Mon Nov 9 14:24:07 2009