Payments API Updates

This commit is contained in:
Jay Patel
2015-10-02 14:25:46 -05:00
parent 02fca1bda4
commit a37b880e96
112 changed files with 3857 additions and 1495 deletions

View File

@@ -8,7 +8,7 @@ use PayPal\Validation\UrlValidator;
/**
* Class RedirectUrls
*
* Redirect urls required only when using payment_method as PayPal - the only settings supported are return and cancel urls.
* Set of redirect URLs you provide only for PayPal-based payments.
*
* @package PayPal\Api
*
@@ -18,7 +18,7 @@ use PayPal\Validation\UrlValidator;
class RedirectUrls extends PayPalModel
{
/**
* Url where the payer would be redirected to after approving the payment.
* Url where the payer would be redirected to after approving the payment. **Required for PayPal account payments.**
*
* @param string $return_url
* @throws \InvalidArgumentException
@@ -32,7 +32,7 @@ class RedirectUrls extends PayPalModel
}
/**
* Url where the payer would be redirected to after approving the payment.
* Url where the payer would be redirected to after approving the payment. **Required for PayPal account payments.**
*
* @return string
*/
@@ -42,7 +42,7 @@ class RedirectUrls extends PayPalModel
}
/**
* Url where the payer would be redirected to after canceling the payment.
* Url where the payer would be redirected to after canceling the payment. **Required for PayPal account payments.**
*
* @param string $cancel_url
* @throws \InvalidArgumentException
@@ -56,7 +56,7 @@ class RedirectUrls extends PayPalModel
}
/**
* Url where the payer would be redirected to after canceling the payment.
* Url where the payer would be redirected to after canceling the payment. **Required for PayPal account payments.**
*
* @return string
*/