Updated Payment APIs

- Updated SDK Models to latest Payment APIs
- Updated Unit Tests
This commit is contained in:
Jay Patel
2015-02-26 15:03:59 -06:00
parent 241d80cd17
commit 3e43f93f9b
93 changed files with 6079 additions and 1735 deletions

View File

@@ -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