PayPalApiPaymentOptions

Class PaymentOptions.

Defined (1)

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

/classes/lib/PayPal/Api/PaymentOptions.php  
  1. class PaymentOptions extends PayPalModel 
  2. /** 
  3. * Optional payment method type. If specified, the transaction will go through for only instant payment. Only for use with the paypal payment_method, not relevant for the credit_card payment_method. 
  4. * Valid Values: ["UNRESTRICTED", "INSTANT_FUNDING_SOURCE", "IMMEDIATE_PAY"] 
  5. * @param string $allowed_payment_method 
  6. * @return $this 
  7. */ 
  8. public function setAllowedPaymentMethod($allowed_payment_method) 
  9. $this->allowed_payment_method = $allowed_payment_method; 
  10. return $this; 
  11.  
  12. /** 
  13. * Optional payment method type. If specified, the transaction will go through for only instant payment. Only for use with the paypal payment_method, not relevant for the credit_card payment_method. 
  14. * @return string 
  15. */ 
  16. public function getAllowedPaymentMethod() 
  17. return $this->allowed_payment_method; 
  18.  
  19. /** 
  20. * Indicator if this payment request is a recurring payment. Only supported when the `payment_method` is set to `credit_card` 
  21. * @deprecated Not publicly available 
  22. * @param bool $recurring_flag 
  23. * @return $this 
  24. */ 
  25. public function setRecurringFlag($recurring_flag) 
  26. $this->recurring_flag = $recurring_flag; 
  27. return $this; 
  28.  
  29. /** 
  30. * Indicator if this payment request is a recurring payment. Only supported when the `payment_method` is set to `credit_card` 
  31. * @deprecated Not publicly available 
  32. * @return bool 
  33. */ 
  34. public function getRecurringFlag() 
  35. return $this->recurring_flag; 
  36.  
  37. /** 
  38. * Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the `payment_method` is set to `credit_card` 
  39. * @deprecated Not publicly available 
  40. * @param bool $skip_fmf 
  41. * @return $this 
  42. */ 
  43. public function setSkipFmf($skip_fmf) 
  44. $this->skip_fmf = $skip_fmf; 
  45. return $this; 
  46.  
  47. /** 
  48. * Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the `payment_method` is set to `credit_card` 
  49. * @deprecated Not publicly available 
  50. * @return bool 
  51. */ 
  52. public function getSkipFmf() 
  53. return $this->skip_fmf; 
  54.