PayPalApiFlowConfig

Class FlowConfig.

Defined (1)

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

/classes/lib/PayPal/Api/FlowConfig.php  
  1. class FlowConfig extends PayPalModel 
  2. /** 
  3. * Type of PayPal page to be displayed when a user lands on the PayPal site for checkout. Allowed values: `Billing` or `Login`. When set to `Billing`, the Non-PayPal account landing page is used. When set to `Login`, the PayPal account login landing page is used. 
  4. *  
  5. * @param string $landing_page_type 
  6. *  
  7. * @return $this 
  8. */ 
  9. public function setLandingPageType($landing_page_type) 
  10. $this->landing_page_type = $landing_page_type; 
  11. return $this; 
  12.  
  13. /** 
  14. * Type of PayPal page to be displayed when a user lands on the PayPal site for checkout. Allowed values: `Billing` or `Login`. When set to `Billing`, the Non-PayPal account landing page is used. When set to `Login`, the PayPal account login landing page is used. 
  15. * @return string 
  16. */ 
  17. public function getLandingPageType() 
  18. return $this->landing_page_type; 
  19.  
  20. /** 
  21. * The URL on the merchant site for transferring to after a bank transfer payment. 
  22. *  
  23. * @param string $bank_txn_pending_url 
  24. * @throws \InvalidArgumentException 
  25. * @return $this 
  26. */ 
  27. public function setBankTxnPendingUrl($bank_txn_pending_url) 
  28. UrlValidator::validate($bank_txn_pending_url, "BankTxnPendingUrl"); 
  29. $this->bank_txn_pending_url = $bank_txn_pending_url; 
  30. return $this; 
  31.  
  32. /** 
  33. * The URL on the merchant site for transferring to after a bank transfer payment. 
  34. * @return string 
  35. */ 
  36. public function getBankTxnPendingUrl() 
  37. return $this->bank_txn_pending_url; 
  38.