Updated stubs to support namespace

This commit is contained in:
Ganesh Hegde
2013-05-29 14:37:22 +05:30
parent 479730d1c4
commit 50d2c56f8b
37 changed files with 530 additions and 324 deletions

View File

@@ -1,8 +1,9 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class RedirectUrls extends \PPModel {
class RedirectUrls extends PPModel {
/**
* Url where the payer would be redirected to after approving the payment.
* @param string $return_url
@@ -21,14 +22,18 @@ class RedirectUrls extends \PPModel {
}
/**
* Deprecated method
* Url where the payer would be redirected to after approving the payment.
* @param string $return_url
* @deprecated. Instead use setReturnUrl
*/
public function setReturn_url($return_url) {
$this->return_url = $return_url;
return $this;
}
/**
* Deprecated method
* Url where the payer would be redirected to after approving the payment.
* @return string
* @deprecated. Instead use getReturnUrl
*/
public function getReturn_url() {
return $this->return_url;
@@ -52,14 +57,18 @@ class RedirectUrls extends \PPModel {
}
/**
* Deprecated method
* Url where the payer would be redirected to after canceling the payment.
* @param string $cancel_url
* @deprecated. Instead use setCancelUrl
*/
public function setCancel_url($cancel_url) {
$this->cancel_url = $cancel_url;
return $this;
}
/**
* Deprecated method
* Url where the payer would be redirected to after canceling the payment.
* @return string
* @deprecated. Instead use getCancelUrl
*/
public function getCancel_url() {
return $this->cancel_url;