Class google.gdata.finance.Commission
Object
|
+--google.gdata.finance.Commission
- class
google.gdata.finance.Commission
Commission for the transaction.
Defined in gdata.js
Constructor Summary |
google.gdata.finance.Commission(<Object> opt_params)
Constructs a commission 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 commission.
|
Array.<google.gdata.Money>
|
getMoney()
Returns the monetary value of the commission.
|
void
|
setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
Sets the monetary value of the commission.
|
$moneyClass_
Object $moneyClass_
google.gdata.finance.Commission
google.gdata.finance.Commission(<Object> opt_params)
Constructs a commission 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 commission.
Parameters:
money
- Monetary value of the commission 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 commission.
Returns:
Monetary value of the commission.
setMoney
void setMoney(<Array.<google.gdata.Money>|Array.<Object>|undefined> money)
Sets the monetary value of the commission.
Parameters:
money
- Monetary value of the commission, where each monetary value of the commission is added using the addMoney() function, or undefined to clear the monetary value of the commission.
Documentation generated by
JSDoc on Mon Nov 9 14:24:07 2009