PHP Class PayPal\Api\InstallmentOption

A resource describing an installment
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
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

Method Details

getDiscountAmount() public method

Discount amount applied to the payment, if any
public getDiscountAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency

getDiscountPercentage() public method

Discount percentage applied to the payment, if any
public getDiscountPercentage ( ) : string
return string

getMonthlyPayment() public method

Monthly payment
public getMonthlyPayment ( ) : PayPal\Api\Currency
return PayPal\Api\Currency

getTerm() public method

Number of installments
public getTerm ( ) : integer
return integer

setDiscountAmount() public method

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

setDiscountPercentage() public method

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

setMonthlyPayment() public method

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

setTerm() public method

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