PHP Класс PayPal\Api\InstallmentOption

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

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

Метод Описание
getDiscountAmount ( ) : PayPal\Api\Currency Discount amount applied to the payment, if any
getDiscountPercentage ( ) : string Discount percentage applied to the payment, if any
getMonthlyPayment ( ) : PayPal\Api\Currency Monthly payment
getTerm ( ) : integer Number of installments
setDiscountAmount ( PayPal\Api\Currency $discount_amount ) Discount amount applied to the payment, if any
setDiscountPercentage ( string $discount_percentage ) Discount percentage applied to the payment, if any
setMonthlyPayment ( PayPal\Api\Currency $monthly_payment ) Monthly payment
setTerm ( integer $term ) Number of installments

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

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

Discount amount applied to the payment, if any
public getDiscountAmount ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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

Discount percentage applied to the payment, if any
public getDiscountPercentage ( ) : string
Результат string

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

Monthly payment
public getMonthlyPayment ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency

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

Number of installments
public getTerm ( ) : integer
Результат integer

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

Discount amount applied to the payment, if any
public setDiscountAmount ( PayPal\Api\Currency $discount_amount )
$discount_amount PayPal\Api\Currency

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

Discount percentage applied to the payment, if any
public setDiscountPercentage ( string $discount_percentage )
$discount_percentage string

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

Monthly payment
public setMonthlyPayment ( PayPal\Api\Currency $monthly_payment )
$monthly_payment PayPal\Api\Currency

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

Number of installments
public setTerm ( integer $term )
$term integer