a9ff5963cf749ac25cf01637dbca570119c0c63b
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class PayerInfo extends PPModel {
7         /**
8          * Email address representing the Payer.
9          * @param string $email
10          */
11         public function setEmail($email) {
12                 $this->email = $email;
13                 return $this;
14         }
15
16         /**
17          * Email address representing the Payer.
18          * @return string
19          */
20         public function getEmail() {
21                 return $this->email;
22         }
23
24
25         /**
26          * First Name of the Payer from their PayPal Account.
27          * @param string $first_name
28          */
29         public function setFirstName($first_name) {
30                 $this->first_name = $first_name;
31                 return $this;
32         }
33
34         /**
35          * First Name of the Payer from their PayPal Account.
36          * @return string
37          */
38         public function getFirstName() {
39                 return $this->first_name;
40         }
41
42         /**
43          * First Name of the Payer from their PayPal Account.
44          * @param string $first_name
45          * @deprecated. Instead use setFirstName
46          */
47         public function setFirst_name($first_name) {
48                 $this->first_name = $first_name;
49                 return $this;
50         }
51         /**
52          * First Name of the Payer from their PayPal Account.
53          * @return string
54          * @deprecated. Instead use getFirstName
55          */
56         public function getFirst_name() {
57                 return $this->first_name;
58         }
59
60         /**
61          * Last Name of the Payer from their PayPal Account.
62          * @param string $last_name
63          */
64         public function setLastName($last_name) {
65                 $this->last_name = $last_name;
66                 return $this;
67         }
68
69         /**
70          * Last Name of the Payer from their PayPal Account.
71          * @return string
72          */
73         public function getLastName() {
74                 return $this->last_name;
75         }
76
77         /**
78          * Last Name of the Payer from their PayPal Account.
79          * @param string $last_name
80          * @deprecated. Instead use setLastName
81          */
82         public function setLast_name($last_name) {
83                 $this->last_name = $last_name;
84                 return $this;
85         }
86         /**
87          * Last Name of the Payer from their PayPal Account.
88          * @return string
89          * @deprecated. Instead use getLastName
90          */
91         public function getLast_name() {
92                 return $this->last_name;
93         }
94
95         /**
96          * PayPal assigned Payer ID.
97          * @param string $payer_id
98          */
99         public function setPayerId($payer_id) {
100                 $this->payer_id = $payer_id;
101                 return $this;
102         }
103
104         /**
105          * PayPal assigned Payer ID.
106          * @return string
107          */
108         public function getPayerId() {
109                 return $this->payer_id;
110         }
111
112         /**
113          * PayPal assigned Payer ID.
114          * @param string $payer_id
115          * @deprecated. Instead use setPayerId
116          */
117         public function setPayer_id($payer_id) {
118                 $this->payer_id = $payer_id;
119                 return $this;
120         }
121         /**
122          * PayPal assigned Payer ID.
123          * @return string
124          * @deprecated. Instead use getPayerId
125          */
126         public function getPayer_id() {
127                 return $this->payer_id;
128         }
129
130         /**
131          * Phone number representing the Payer.
132          * @param string $phone
133          */
134         public function setPhone($phone) {
135                 $this->phone = $phone;
136                 return $this;
137         }
138
139         /**
140          * Phone number representing the Payer.
141          * @return string
142          */
143         public function getPhone() {
144                 return $this->phone;
145         }
146
147
148         /**
149          * Shipping address of the Payer from their PayPal Account.
150          * @param PayPal\Api\Address $shipping_address
151          */
152         public function setShippingAddress($shipping_address) {
153                 $this->shipping_address = $shipping_address;
154                 return $this;
155         }
156
157         /**
158          * Shipping address of the Payer from their PayPal Account.
159          * @return PayPal\Api\Address
160          */
161         public function getShippingAddress() {
162                 return $this->shipping_address;
163         }
164
165         /**
166          * Shipping address of the Payer from their PayPal Account.
167          * @param PayPal\Api\Address $shipping_address
168          * @deprecated. Instead use setShippingAddress
169          */
170         public function setShipping_address($shipping_address) {
171                 $this->shipping_address = $shipping_address;
172                 return $this;
173         }
174         /**
175          * Shipping address of the Payer from their PayPal Account.
176          * @return PayPal\Api\Address
177          * @deprecated. Instead use getShippingAddress
178          */
179         public function getShipping_address() {
180                 return $this->shipping_address;
181         }
182
183 }