forked from LiveCarta/PayPal-PHP-SDK
Updated Payment APIs
- Updated SDK Models to latest Payment APIs - Updated Unit Tests
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
use PayPal\Rest\ApiContext;
|
||||
use PayPal\Validation\UrlValidator;
|
||||
|
||||
/**
|
||||
@@ -20,10 +19,9 @@ class RedirectUrls extends PayPalModel
|
||||
{
|
||||
/**
|
||||
* Url where the payer would be redirected to after approving the payment.
|
||||
*
|
||||
*
|
||||
* @param string $return_url
|
||||
* @throws InvalidArgumentException
|
||||
* @throws \InvalidArgumentException
|
||||
* @return $this
|
||||
*/
|
||||
public function setReturnUrl($return_url)
|
||||
@@ -45,7 +43,6 @@ class RedirectUrls extends PayPalModel
|
||||
|
||||
/**
|
||||
* Url where the payer would be redirected to after canceling the payment.
|
||||
*
|
||||
*
|
||||
* @param string $cancel_url
|
||||
* @throws \InvalidArgumentException
|
||||
|
||||
Reference in New Issue
Block a user