PHP Class PayPal\Api\ShippingCost

Inheritance: extends PayPal\Common\PPModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getAmount ( ) : PayPal\Api\Currency The shipping cost, as an amount. Valid range is from 0 to 999999.99.
getTax ( ) : Tax The tax percentage on the shipping amount.
setAmount ( PayPal\Api\Currency $amount ) The shipping cost, as an amount. Valid range is from 0 to 999999.99.
setTax ( Tax $tax ) The tax percentage on the shipping amount.

Method Details

getAmount() public method

The shipping cost, as an amount. Valid range is from 0 to 999999.99.
public getAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency

getTax() public method

The tax percentage on the shipping amount.
public getTax ( ) : Tax
return Tax

setAmount() public method

The shipping cost, as an amount. Valid range is from 0 to 999999.99.
public setAmount ( PayPal\Api\Currency $amount )
$amount PayPal\Api\Currency

setTax() public method

The tax percentage on the shipping amount.
public setTax ( Tax $tax )
$tax Tax