PayPalApiInstallmentOption

Class InstallmentOption.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Api/InstallmentOption.php  
  1. class InstallmentOption extends PayPalModel 
  2. /** 
  3. * Number of installments 
  4. * @param int $term 
  5. * @return $this 
  6. */ 
  7. public function setTerm($term) 
  8. $this->term = $term; 
  9. return $this; 
  10.  
  11. /** 
  12. * Number of installments 
  13. * @return int 
  14. */ 
  15. public function getTerm() 
  16. return $this->term; 
  17.  
  18. /** 
  19. * Monthly payment 
  20. * @param \PayPal\Api\Currency $monthly_payment 
  21. * @return $this 
  22. */ 
  23. public function setMonthlyPayment($monthly_payment) 
  24. $this->monthly_payment = $monthly_payment; 
  25. return $this; 
  26.  
  27. /** 
  28. * Monthly payment 
  29. * @return \PayPal\Api\Currency 
  30. */ 
  31. public function getMonthlyPayment() 
  32. return $this->monthly_payment; 
  33.  
  34. /** 
  35. * Discount amount applied to the payment, if any 
  36. * @param \PayPal\Api\Currency $discount_amount 
  37. * @return $this 
  38. */ 
  39. public function setDiscountAmount($discount_amount) 
  40. $this->discount_amount = $discount_amount; 
  41. return $this; 
  42.  
  43. /** 
  44. * Discount amount applied to the payment, if any 
  45. * @return \PayPal\Api\Currency 
  46. */ 
  47. public function getDiscountAmount() 
  48. return $this->discount_amount; 
  49.  
  50. /** 
  51. * Discount percentage applied to the payment, if any 
  52. * @param string $discount_percentage 
  53. * @return $this 
  54. */ 
  55. public function setDiscountPercentage($discount_percentage) 
  56. $this->discount_percentage = $discount_percentage; 
  57. return $this; 
  58.  
  59. /** 
  60. * Discount percentage applied to the payment, if any 
  61. * @return string 
  62. */ 
  63. public function getDiscountPercentage() 
  64. return $this->discount_percentage; 
  65.