PHP Класс PayPal\Api\CustomAmount

The custom amount applied on an invoice. If you include a label, the amount cannot be empty.
Наследование: extends PayPal\Common\PayPalModel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getAmount ( ) : PayPal\Api\Currency The custom amount value. Valid range is from -999999.99 to 999999.99.
getLabel ( ) : string The custom amount label. Maximum length is 25 characters.
setAmount ( PayPal\Api\Currency $amount ) The custom amount value. Valid range is from -999999.99 to 999999.99.
setLabel ( string $label ) The custom amount label. Maximum length is 25 characters.

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

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

The custom amount value. Valid range is from -999999.99 to 999999.99.
public getAmount ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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

The custom amount label. Maximum length is 25 characters.
public getLabel ( ) : string
Результат string

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

The custom amount value. Valid range is from -999999.99 to 999999.99.
public setAmount ( PayPal\Api\Currency $amount )
$amount PayPal\Api\Currency

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

The custom amount label. Maximum length is 25 characters.
public setLabel ( string $label )
$label string