PHP Class PayPal\Api\InstallmentOption

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

Méthodes publiques

Méthode 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 méthode

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

getDiscountPercentage() public méthode

Discount percentage applied to the payment, if any
public getDiscountPercentage ( ) : string
Résultat string

getMonthlyPayment() public méthode

Monthly payment
public getMonthlyPayment ( ) : PayPal\Api\Currency
Résultat PayPal\Api\Currency

getTerm() public méthode

Number of installments
public getTerm ( ) : integer
Résultat integer

setDiscountAmount() public méthode

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

setDiscountPercentage() public méthode

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

setMonthlyPayment() public méthode

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

setTerm() public méthode

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