Removed Deprecated Getter and Setters

- Removed Deprecated Getter Setters from all Model Classes
- All Camelcase getters and setters are removed. Please use first letter uppercase syntax
- E.g. instead of using get_notify_url(), use getNotifyUrl() instead
This commit is contained in:
japatel
2015-01-08 22:23:58 -06:00
parent ed2a4fd41e
commit b011d17cde
150 changed files with 47 additions and 10994 deletions

View File

@@ -43,37 +43,12 @@ class RedirectUrls extends PayPalModel
return $this->return_url;
}
/**
* Url where the payer would be redirected to after approving the payment.
*
* @deprecated Instead use setReturnUrl
*
* @param string $return_url
* @return $this
*/
public function setReturn_url($return_url)
{
$this->return_url = $return_url;
return $this;
}
/**
* Url where the payer would be redirected to after approving the payment.
* @deprecated Instead use getReturnUrl
*
* @return string
*/
public function getReturn_url()
{
return $this->return_url;
}
/**
* Url where the payer would be redirected to after canceling the payment.
*
*
* @param string $cancel_url
* @throws InvalidArgumentException
* @throws \InvalidArgumentException
* @return $this
*/
public function setCancelUrl($cancel_url)
@@ -93,29 +68,4 @@ class RedirectUrls extends PayPalModel
return $this->cancel_url;
}
/**
* Url where the payer would be redirected to after canceling the payment.
*
* @deprecated Instead use setCancelUrl
*
* @param string $cancel_url
* @return $this
*/
public function setCancel_url($cancel_url)
{
$this->cancel_url = $cancel_url;
return $this;
}
/**
* Url where the payer would be redirected to after canceling the payment.
* @deprecated Instead use getCancelUrl
*
* @return string
*/
public function getCancel_url()
{
return $this->cancel_url;
}
}