4 use PayPal\Common\PPModel;
6 class RedirectUrls extends PPModel {
8 * Url where the payer would be redirected to after approving the payment.
9 * @param string $return_url
11 public function setReturnUrl($return_url) {
12 $this->return_url = $return_url;
17 * Url where the payer would be redirected to after approving the payment.
20 public function getReturnUrl() {
21 return $this->return_url;
25 * Url where the payer would be redirected to after approving the payment.
26 * @param string $return_url
27 * @deprecated. Instead use setReturnUrl
29 public function setReturn_url($return_url) {
30 $this->return_url = $return_url;
34 * Url where the payer would be redirected to after approving the payment.
36 * @deprecated. Instead use getReturnUrl
38 public function getReturn_url() {
39 return $this->return_url;
43 * Url where the payer would be redirected to after canceling the payment.
44 * @param string $cancel_url
46 public function setCancelUrl($cancel_url) {
47 $this->cancel_url = $cancel_url;
52 * Url where the payer would be redirected to after canceling the payment.
55 public function getCancelUrl() {
56 return $this->cancel_url;
60 * Url where the payer would be redirected to after canceling the payment.
61 * @param string $cancel_url
62 * @deprecated. Instead use setCancelUrl
64 public function setCancel_url($cancel_url) {
65 $this->cancel_url = $cancel_url;
69 * Url where the payer would be redirected to after canceling the payment.
71 * @deprecated. Instead use getCancelUrl
73 public function getCancel_url() {
74 return $this->cancel_url;