Class google.gdata.finance.Price
Object
|
+--google.gdata.finance.Price
- class
google.gdata.finance.Price
Price of the transaction.
Defined in gdata.js
Constructor Summary |
google.gdata.finance.Price(<Object> opt_params)
Constructs a price 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 transaction price.
|
Array.<google.gdata.Money>
|
getMoney()
Returns the monetary value of the transaction price.
|
void
|
setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
Sets the monetary value of the transaction price.
|
$moneyClass_
Object $moneyClass_
google.gdata.finance.Price
google.gdata.finance.Price(<Object> opt_params)
Constructs a price 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: money.
addMoney
void addMoney(<google.gdata.Money|Object> money)
Adds a new monetary value of the transaction price.
Parameters:
money
- Monetary value of the transaction price to add, or object to use as a parameter to the google.gdata.Money constructor.
getMoney
Array.<google.gdata.Money> getMoney()
Returns the monetary value of the transaction price.
Returns:
Monetary value of the transaction price.
setMoney
void setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
Sets the monetary value of the transaction price.
Parameters:
money
- Monetary value of the transaction price, where each monetary value of the transaction price is added using the addMoney() function, or undefined to clear the monetary value of the transaction price.
Documentation generated by
JSDoc on Tue Sep 22 18:28:55 2009