GData JavaScript Client 1.8

Class google.gdata.finance.TransactionData

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

class google.gdata.finance.TransactionData


Data for the transction.
Defined in gdata.js


Field Summary
 Object $commissionClass_
          
 Object $priceClass_
          
 {string|undefined} date
          Date at which the transaction occurred.
 {string|undefined} notes
          Notes.
 {string|undefined} shares
          Number of shares involved in the transaction.
 {string|undefined} type
          Type for the transaction (can be "Buy", "Sell", "Buy to Cover" or "Sell Short").
 
Constructor Summary
google.gdata.finance.TransactionData(<Object> opt_params)
            Constructs a transaction data using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 google.gdata.finance.Commission|undefined getCommission()
           Returns the commission for the transaction.
 google.gdata.DateTime|undefined getDate()
           Returns the date at which the transaction occurred.
 string|undefined getNotes()
           Returns the notes.
 google.gdata.finance.Price|undefined getPrice()
           Returns the price of the transaction.
 number|undefined getShares()
           Returns the number of shares involved in the transaction.
 string|undefined getType()
           Returns the type for the transaction (can be "Buy", "Sell", "Buy to Cover" or "Sell Short").
 void setCommission(<google.gdata.finance.Commission|Object|undefined> commission)
           Sets the commission for the transaction.
 void setDate(<google.gdata.DateTime|Date|undefined> date)
           Sets the date at which the transaction occurred.
 void setNotes(<string|undefined> notes)
           Sets the notes.
 void setPrice(<google.gdata.finance.Price|Object|undefined> price)
           Sets the price of the transaction.
 void setShares(<number|undefined> shares)
           Sets the number of shares involved in the transaction.
 void setType(<string|undefined> type)
           Sets the type for the transaction (can be "Buy", "Sell", "Buy to Cover" or "Sell Short").

Field Detail

$commissionClass_

Object $commissionClass_

$priceClass_

Object $priceClass_

date

{string|undefined} date

notes

{string|undefined} notes

shares

{string|undefined} shares

type

{string|undefined} type

Constructor Detail

google.gdata.finance.TransactionData

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

Method Detail

getCommission

google.gdata.finance.Commission|undefined getCommission()

getDate

google.gdata.DateTime|undefined getDate()

getNotes

string|undefined getNotes()

getPrice

google.gdata.finance.Price|undefined getPrice()

getShares

number|undefined getShares()

getType

string|undefined getType()

setCommission

void setCommission(<google.gdata.finance.Commission|Object|undefined> commission)

setDate

void setDate(<google.gdata.DateTime|Date|undefined> date)

setNotes

void setNotes(<string|undefined> notes)

setPrice

void setPrice(<google.gdata.finance.Price|Object|undefined> price)

setShares

void setShares(<number|undefined> shares)

setType

void setType(<string|undefined> type)

GData JavaScript Client 1.8

Documentation generated by JSDoc on Mon Mar 30 15:50:55 2009