PayPalApiCreditFinancingOffered

Class CreditFinancingOffered.

Defined (1)

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

/classes/lib/PayPal/Api/CreditFinancingOffered.php  
  1. class CreditFinancingOffered extends PayPalModel 
  2. /** 
  3. * This is the estimated total payment amount including interest and fees the user will pay during the lifetime of the loan. 
  4. * @param \PayPal\Api\Currency $total_cost 
  5. *  
  6. * @return $this 
  7. */ 
  8. public function setTotalCost($total_cost) 
  9. $this->total_cost = $total_cost; 
  10. return $this; 
  11.  
  12. /** 
  13. * This is the estimated total payment amount including interest and fees the user will pay during the lifetime of the loan. 
  14. * @return \PayPal\Api\Currency 
  15. */ 
  16. public function getTotalCost() 
  17. return $this->total_cost; 
  18.  
  19. /** 
  20. * Length of financing terms in month 
  21. * @param \PayPal\Api\number $term 
  22. *  
  23. * @return $this 
  24. */ 
  25. public function setTerm($term) 
  26. $this->term = $term; 
  27. return $this; 
  28.  
  29. /** 
  30. * Length of financing terms in month 
  31. * @return \PayPal\Api\number 
  32. */ 
  33. public function getTerm() 
  34. return $this->term; 
  35.  
  36. /** 
  37. * This is the estimated amount per month that the customer will need to pay including fees and interest. 
  38. * @param \PayPal\Api\Currency $monthly_payment 
  39. *  
  40. * @return $this 
  41. */ 
  42. public function setMonthlyPayment($monthly_payment) 
  43. $this->monthly_payment = $monthly_payment; 
  44. return $this; 
  45.  
  46. /** 
  47. * This is the estimated amount per month that the customer will need to pay including fees and interest. 
  48. * @return \PayPal\Api\Currency 
  49. */ 
  50. public function getMonthlyPayment() 
  51. return $this->monthly_payment; 
  52.  
  53. /** 
  54. * Estimated interest or fees amount the payer will have to pay during the lifetime of the loan. 
  55. * @param \PayPal\Api\Currency $total_interest 
  56. *  
  57. * @return $this 
  58. */ 
  59. public function setTotalInterest($total_interest) 
  60. $this->total_interest = $total_interest; 
  61. return $this; 
  62.  
  63. /** 
  64. * Estimated interest or fees amount the payer will have to pay during the lifetime of the loan. 
  65. * @return \PayPal\Api\Currency 
  66. */ 
  67. public function getTotalInterest() 
  68. return $this->total_interest; 
  69.  
  70. /** 
  71. * Status on whether the customer ultimately was approved for and chose to make the payment using the approved installment credit. 
  72. * @param bool $payer_acceptance 
  73. *  
  74. * @return $this 
  75. */ 
  76. public function setPayerAcceptance($payer_acceptance) 
  77. $this->payer_acceptance = $payer_acceptance; 
  78. return $this; 
  79.  
  80. /** 
  81. * Status on whether the customer ultimately was approved for and chose to make the payment using the approved installment credit. 
  82. * @return bool 
  83. */ 
  84. public function getPayerAcceptance() 
  85. return $this->payer_acceptance; 
  86.  
  87. /** 
  88. * Indicates whether the cart amount is editable after payer's acceptance on PayPal side 
  89. * @param bool $cart_amount_immutable 
  90. *  
  91. * @return $this 
  92. */ 
  93. public function setCartAmountImmutable($cart_amount_immutable) 
  94. $this->cart_amount_immutable = $cart_amount_immutable; 
  95. return $this; 
  96.  
  97. /** 
  98. * Indicates whether the cart amount is editable after payer's acceptance on PayPal side 
  99. * @return bool 
  100. */ 
  101. public function getCartAmountImmutable() 
  102. return $this->cart_amount_immutable; 
  103.