Class google.gdata.finance.PositionEntry
Object
|
+--google.gdata.atom.Entry
|
+--google.gdata.Entry
|
+--google.gdata.finance.PositionEntry
- class
google.gdata.finance.PositionEntry
- extends google.gdata.Entry
Describes an entry in a feed of Finance positions.
Defined in gdata.js
Fields inherited from class google.gdata.atom.Entry |
$authorsClass_, $categoriesClass_, $contentClass_, $contributorsClass_, $idClass_, $linksClass_, $publishedClass_, $rightsClass_, $summaryClass_, $titleClass_, $updatedClass_, author, category, content, contributor, id, link, published, rights, summary, title, updated, xmlns
|
Constructor Summary |
google.gdata.finance.PositionEntry(<Object> opt_params)
Constructs a Finance position entry using an object parameter whose property
names match the setter method to use for each property.
|
Method Summary |
google.gdata.finance.PositionFeedLink|undefined
|
getFeedLink()
Returns the transaction feed for the position.
|
google.gdata.finance.PositionData|undefined
|
getPositionData()
Returns the data for the position.
|
google.gdata.finance.Symbol|undefined
|
getSymbol()
Returns the stock symbol for the position.
|
void
|
setFeedLink(<google.gdata.finance.PositionFeedLink|Object|undefined> feedLink)
Sets the transaction feed for the position.
|
void
|
setPositionData(<google.gdata.finance.PositionData|Object|undefined> positionData)
Sets the data for the position.
|
void
|
setSymbol(<google.gdata.finance.Symbol|Object|undefined> symbol)
Sets the stock symbol for the position.
|
Methods inherited from class google.gdata.Entry |
getControl, setControl, getEdited, setEdited, getEditLink, getSelfLink, getLink, getSelf, updateEntry, deleteEntry, getControlClass
|
Methods inherited from class google.gdata.atom.Entry |
getCategoryClass, getLinkClass, getAuthors, setAuthors, addAuthor, getCategories, setCategories, addCategory, getContent, setContent, getContributors, setContributors, addContributor, getId, setId, getLinks, setLinks, addLink, getPublished, setPublished, getRights, setRights, getSummary, setSummary, getTitle, setTitle, getUpdated, setUpdated
|
$feedLinkClass_
Object $feedLinkClass_
$positionDataClass_
Object $positionDataClass_
$symbolClass_
Object $symbolClass_
google.gdata.finance.PositionEntry
google.gdata.finance.PositionEntry(<Object> opt_params)
Constructs a Finance position entry using an object parameter whose property
names match the setter method to use for each property.
Parameters:
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: categories, feedLink, id, links, positionData, symbol, title, and updated.
getFeedLink
google.gdata.finance.PositionFeedLink|undefined getFeedLink()
Returns the transaction feed for the position. This element is optional.
Returns:
Transaction feed for the position or undefined for none.
getPositionData
google.gdata.finance.PositionData|undefined getPositionData()
Returns the data for the position. This element is required.
Returns:
Data for the position or undefined for none.
getSymbol
google.gdata.finance.Symbol|undefined getSymbol()
Returns the stock symbol for the position. This element is required.
Returns:
Stock symbol for the position or undefined for none.
setFeedLink
void setFeedLink(<google.gdata.finance.PositionFeedLink|Object|undefined> feedLink)
Sets the transaction feed for the position. This element is optional.
setPositionData
void setPositionData(<google.gdata.finance.PositionData|Object|undefined> positionData)
Sets the data for the position. This element is required.
setSymbol
void setSymbol(<google.gdata.finance.Symbol|Object|undefined> symbol)
Sets the stock symbol for the position. This element is required.
Parameters:
symbol
- Stock symbol for the position, or object to use as a parameter to the google.gdata.finance.Symbol constructor, or undefined for none.
Documentation generated by
JSDoc on Thu May 21 13:07:57 2009