Method | Description | |
---|---|---|
getAmount ( ) : PayPal\Api\Currency | The cost, as an amount. Valid range is from 0 to 1,000,000. | |
getPercent ( ) : string | Cost in percent. Range of 0 to 100. | |
setAmount ( PayPal\Api\Currency $amount ) | The cost, as an amount. Valid range is from 0 to 1,000,000. | |
setPercent ( string $percent ) | Cost in percent. Range of 0 to 100. |
public getAmount ( ) : PayPal\Api\Currency | ||
return | PayPal\Api\Currency |
public getPercent ( ) : string | ||
return | string |
public setAmount ( PayPal\Api\Currency $amount ) | ||
$amount | PayPal\Api\Currency |
public setPercent ( string $percent ) | ||
$percent | string |