1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class Participant
9 *
10 * Participant information.
11 *
12 * @package PayPal\Api
13 *
14 * @property string email
15 * @property string first_name
16 * @property string last_name
17 * @property string business_name
18 * @property \PayPal\Api\Phone phone
19 * @property \PayPal\Api\Phone fax
20 * @property string website
21 * @property string additional_info
22 * @property \PayPal\Api\Address address
23 */
24 class Participant extends PayPalModel
25 {
26 /**
27 * The participant email address.
28 *
29 * @param string $email
30 *
31 * @return $this
32 */
33 public function setEmail($email)
34 {
35 $this->email = $email;
36 return $this;
37 }
38
39 /**
40 * The participant email address.
41 *
42 * @return string
43 */
44 public function getEmail()
45 {
46 return $this->email;
47 }
48
49 /**
50 * The participant first name.
51 *
52 * @param string $first_name
53 *
54 * @return $this
55 */
56 public function setFirstName($first_name)
57 {
58 $this->first_name = $first_name;
59 return $this;
60 }
61
62 /**
63 * The participant first name.
64 *
65 * @return string
66 */
67 public function getFirstName()
68 {
69 return $this->first_name;
70 }
71
72 /**
73 * The participant last name.
74 *
75 * @param string $last_name
76 *
77 * @return $this
78 */
79 public function setLastName($last_name)
80 {
81 $this->last_name = $last_name;
82 return $this;
83 }
84
85 /**
86 * The participant last name.
87 *
88 * @return string
89 */
90 public function getLastName()
91 {
92 return $this->last_name;
93 }
94
95 /**
96 * The participant company business name.
97 *
98 * @param string $business_name
99 *
100 * @return $this
101 */
102 public function setBusinessName($business_name)
103 {
104 $this->business_name = $business_name;
105 return $this;
106 }
107
108 /**
109 * The participant company business name.
110 *
111 * @return string
112 */
113 public function getBusinessName()
114 {
115 return $this->business_name;
116 }
117
118 /**
119 * The participant phone number.
120 *
121 * @param \PayPal\Api\Phone $phone
122 *
123 * @return $this
124 */
125 public function setPhone($phone)
126 {
127 $this->phone = $phone;
128 return $this;
129 }
130
131 /**
132 * The participant phone number.
133 *
134 * @return \PayPal\Api\Phone
135 */
136 public function getPhone()
137 {
138 return $this->phone;
139 }
140
141 /**
142 * The participant fax number.
143 *
144 * @param \PayPal\Api\Phone $fax
145 *
146 * @return $this
147 */
148 public function setFax($fax)
149 {
150 $this->fax = $fax;
151 return $this;
152 }
153
154 /**
155 * The participant fax number.
156 *
157 * @return \PayPal\Api\Phone
158 */
159 public function getFax()
160 {
161 return $this->fax;
162 }
163
164 /**
165 * The participant website.
166 *
167 * @param string $website
168 *
169 * @return $this
170 */
171 public function setWebsite($website)
172 {
173 $this->website = $website;
174 return $this;
175 }
176
177 /**
178 * The participant website.
179 *
180 * @return string
181 */
182 public function getWebsite()
183 {
184 return $this->website;
185 }
186
187 /**
188 * Additional information, such as business hours.
189 *
190 * @param string $additional_info
191 *
192 * @return $this
193 */
194 public function setAdditionalInfo($additional_info)
195 {
196 $this->additional_info = $additional_info;
197 return $this;
198 }
199
200 /**
201 * Additional information, such as business hours.
202 *
203 * @return string
204 */
205 public function getAdditionalInfo()
206 {
207 return $this->additional_info;
208 }
209
210 /**
211 * The participant address.
212 *
213 * @param \PayPal\Api\Address $address
214 *
215 * @return $this
216 */
217 public function setAddress($address)
218 {
219 $this->address = $address;
220 return $this;
221 }
222
223 /**
224 * The participant address.
225 *
226 * @return \PayPal\Api\Address
227 */
228 public function getAddress()
229 {
230 return $this->address;
231 }
232
233 }
234