d0ccea3e13424a5c0d3c032dd688e5bb521978c7
[WP-Plugins/glm-member-db-registrations.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class Payee extends PPModel {
7         /**
8          * Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
9          * @param string $email
10          */
11         public function setEmail($email) {
12                 $this->email = $email;
13                 return $this;
14         }
15
16         /**
17          * Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
18          * @return string
19          */
20         public function getEmail() {
21                 return $this->email;
22         }
23
24
25         /**
26          * Encrypted PayPal Account identifier for the Payee.
27          * @param string $merchant_id
28          */
29         public function setMerchantId($merchant_id) {
30                 $this->merchant_id = $merchant_id;
31                 return $this;
32         }
33
34         /**
35          * Encrypted PayPal Account identifier for the Payee.
36          * @return string
37          */
38         public function getMerchantId() {
39                 return $this->merchant_id;
40         }
41
42         /**
43          * Encrypted PayPal Account identifier for the Payee.
44          * @param string $merchant_id
45          * @deprecated. Instead use setMerchantId
46          */
47         public function setMerchant_id($merchant_id) {
48                 $this->merchant_id = $merchant_id;
49                 return $this;
50         }
51         /**
52          * Encrypted PayPal Account identifier for the Payee.
53          * @return string
54          * @deprecated. Instead use getMerchantId
55          */
56         public function getMerchant_id() {
57                 return $this->merchant_id;
58         }
59
60         /**
61          * Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
62          * @param string $phone
63          */
64         public function setPhone($phone) {
65                 $this->phone = $phone;
66                 return $this;
67         }
68
69         /**
70          * Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
71          * @return string
72          */
73         public function getPhone() {
74                 return $this->phone;
75         }
76
77
78 }