PHP Класс PayPal\Api\ShippingCost

Наследование: extends PayPal\Common\PPModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

getAmount() публичный Метод

The shipping cost, as an amount. Valid range is from 0 to 999999.99.
public getAmount ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

getTax() публичный Метод

The tax percentage on the shipping amount.
public getTax ( ) : Tax
Результат Tax

setAmount() публичный Метод

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() публичный Метод

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