Class RedirectUrls
Class RedirectUrls
Set of redirect URLs you provide only for PayPal-based payments.
- PayPal\Common\PayPalModel
-
PayPal\Api\RedirectUrls
Methods summary
public
|
#
setReturnUrl( string $return_url )
Url where the payer would be redirected to after approving the payment. Required for PayPal account payments. |
public
string
|
#
getReturnUrl( )
Url where the payer would be redirected to after approving the payment. Required for PayPal account payments. |
public
|
#
setCancelUrl( string $cancel_url )
Url where the payer would be redirected to after canceling the payment. Required for PayPal account payments. |
public
string
|
#
getCancelUrl( )
Url where the payer would be redirected to after canceling the payment. Required for PayPal account payments. |
Methods inherited from PayPal\Common\PayPalModel
__construct(),
__get(),
__isset(),
__set(),
__toString(),
__unset(),
fromArray(),
fromJson(),
getList(),
setCredential(),
toArray(),
toJSON()