PHP Class PayPal\Api\FlowConfig

Parameters for flow configuration.
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getBankTxnPendingUrl ( ) : string The merchant site URL to display after a bank transfer payment. Valid for only the Giropay or bank transfer payment method in Germany.
getLandingPageType ( ) : string The type of landing page to display on the PayPal site for user checkout. Set to Billing to use the non-PayPal account landing page. Set to Login to use the PayPal account login landing page.
getReturnUriHttpMethod ( ) : string Defines the HTTP method to use to redirect the user to a return URL. A valid value is GET or POST.
getUserAction ( ) : string Defines whether buyers can complete purchases on the PayPal or merchant website.
setBankTxnPendingUrl ( string $bank_txn_pending_url ) The merchant site URL to display after a bank transfer payment. Valid for only the Giropay or bank transfer payment method in Germany.
setLandingPageType ( string $landing_page_type ) The type of landing page to display on the PayPal site for user checkout. Set to Billing to use the non-PayPal account landing page. Set to Login to use the PayPal account login landing page.
setReturnUriHttpMethod ( string $return_uri_http_method ) Defines the HTTP method to use to redirect the user to a return URL. A valid value is GET or POST.
setUserAction ( string $user_action ) Defines whether buyers can complete purchases on the PayPal or merchant website.

Method Details

getBankTxnPendingUrl() public method

The merchant site URL to display after a bank transfer payment. Valid for only the Giropay or bank transfer payment method in Germany.
public getBankTxnPendingUrl ( ) : string
return string

getLandingPageType() public method

The type of landing page to display on the PayPal site for user checkout. Set to Billing to use the non-PayPal account landing page. Set to Login to use the PayPal account login landing page.
public getLandingPageType ( ) : string
return string

getReturnUriHttpMethod() public method

Defines the HTTP method to use to redirect the user to a return URL. A valid value is GET or POST.
public getReturnUriHttpMethod ( ) : string
return string

getUserAction() public method

Defines whether buyers can complete purchases on the PayPal or merchant website.
public getUserAction ( ) : string
return string

setBankTxnPendingUrl() public method

The merchant site URL to display after a bank transfer payment. Valid for only the Giropay or bank transfer payment method in Germany.
public setBankTxnPendingUrl ( string $bank_txn_pending_url )
$bank_txn_pending_url string

setLandingPageType() public method

The type of landing page to display on the PayPal site for user checkout. Set to Billing to use the non-PayPal account landing page. Set to Login to use the PayPal account login landing page.
public setLandingPageType ( string $landing_page_type )
$landing_page_type string

setReturnUriHttpMethod() public method

Defines the HTTP method to use to redirect the user to a return URL. A valid value is GET or POST.
public setReturnUriHttpMethod ( string $return_uri_http_method )
$return_uri_http_method string

setUserAction() public method

Defines whether buyers can complete purchases on the PayPal or merchant website.
public setUserAction ( string $user_action )
$user_action string