GData JavaScript Client 1.4

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
 {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

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

Documentation generated by JSDoc on Mon Jul 21 17:09:08 2008