c954b4961700a168c3acca96be3b76e6bb9ae2f0
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class RedirectUrls extends PPModel {
7         /**
8          * Url where the payer would be redirected to after approving the payment.
9          * @param string $return_url
10          */
11         public function setReturnUrl($return_url) {
12                 $this->return_url = $return_url;
13                 return $this;
14         }
15
16         /**
17          * Url where the payer would be redirected to after approving the payment.
18          * @return string
19          */
20         public function getReturnUrl() {
21                 return $this->return_url;
22         }
23
24         /**
25          * Url where the payer would be redirected to after approving the payment.
26          * @param string $return_url
27          * @deprecated. Instead use setReturnUrl
28          */
29         public function setReturn_url($return_url) {
30                 $this->return_url = $return_url;
31                 return $this;
32         }
33         /**
34          * Url where the payer would be redirected to after approving the payment.
35          * @return string
36          * @deprecated. Instead use getReturnUrl
37          */
38         public function getReturn_url() {
39                 return $this->return_url;
40         }
41
42         /**
43          * Url where the payer would be redirected to after canceling the payment.
44          * @param string $cancel_url
45          */
46         public function setCancelUrl($cancel_url) {
47                 $this->cancel_url = $cancel_url;
48                 return $this;
49         }
50
51         /**
52          * Url where the payer would be redirected to after canceling the payment.
53          * @return string
54          */
55         public function getCancelUrl() {
56                 return $this->cancel_url;
57         }
58
59         /**
60          * Url where the payer would be redirected to after canceling the payment.
61          * @param string $cancel_url
62          * @deprecated. Instead use setCancelUrl
63          */
64         public function setCancel_url($cancel_url) {
65                 $this->cancel_url = $cancel_url;
66                 return $this;
67         }
68         /**
69          * Url where the payer would be redirected to after canceling the payment.
70          * @return string
71          * @deprecated. Instead use getCancelUrl
72          */
73         public function getCancel_url() {
74                 return $this->cancel_url;
75         }
76
77 }