|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace PayPal\StructType; |
|
4
|
|
|
|
|
5
|
|
|
use \WsdlToPhp\PackageBase\AbstractStructBase; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* This class stands for GetBoardingDetailsResponseDetailsType StructType |
|
9
|
|
|
* @subpackage Structs |
|
10
|
|
|
* @author WsdlToPhp <[email protected]> |
|
11
|
|
|
*/ |
|
12
|
|
|
class GetBoardingDetailsResponseDetailsType extends AbstractStructBase |
|
13
|
|
|
{ |
|
14
|
|
|
/** |
|
15
|
|
|
* The Status |
|
16
|
|
|
* Meta information extracted from the WSDL |
|
17
|
|
|
* - documentation: Status of merchant's onboarding process: CompletedCancelledPending Character length and limitations: Eight alphabetic characters |
|
18
|
|
|
* @var string |
|
19
|
|
|
*/ |
|
20
|
|
|
public $Status; |
|
21
|
|
|
/** |
|
22
|
|
|
* The StartDate |
|
23
|
|
|
* Meta information extracted from the WSDL |
|
24
|
|
|
* - documentation: Date the boarding process started |
|
25
|
|
|
* @var string |
|
26
|
|
|
*/ |
|
27
|
|
|
public $StartDate; |
|
28
|
|
|
/** |
|
29
|
|
|
* The LastUpdated |
|
30
|
|
|
* Meta information extracted from the WSDL |
|
31
|
|
|
* - documentation: Date the merchantâs status or progress was last updated |
|
32
|
|
|
* @var string |
|
33
|
|
|
*/ |
|
34
|
|
|
public $LastUpdated; |
|
35
|
|
|
/** |
|
36
|
|
|
* The Reason |
|
37
|
|
|
* Meta information extracted from the WSDL |
|
38
|
|
|
* - documentation: Reason for merchantâs cancellation of sign-up. Character length and limitations: 1,024 alphanumeric characters |
|
39
|
|
|
* - minOccurs: 0 |
|
40
|
|
|
* @var string |
|
41
|
|
|
*/ |
|
42
|
|
|
public $Reason; |
|
43
|
|
|
/** |
|
44
|
|
|
* The ProgramName |
|
45
|
|
|
* @var string |
|
46
|
|
|
*/ |
|
47
|
|
|
public $ProgramName; |
|
48
|
|
|
/** |
|
49
|
|
|
* The ProgramCode |
|
50
|
|
|
* @var string |
|
51
|
|
|
*/ |
|
52
|
|
|
public $ProgramCode; |
|
53
|
|
|
/** |
|
54
|
|
|
* The CampaignID |
|
55
|
|
|
* Meta information extracted from the WSDL |
|
56
|
|
|
* - minOccurs: 0 |
|
57
|
|
|
* @var string |
|
58
|
|
|
*/ |
|
59
|
|
|
public $CampaignID; |
|
60
|
|
|
/** |
|
61
|
|
|
* The UserWithdrawalLimit |
|
62
|
|
|
* Meta information extracted from the WSDL |
|
63
|
|
|
* - documentation: Indicates if there is a limitation on the amount of money the business can withdraw from PayPal |
|
64
|
|
|
* - minOccurs: 0 |
|
65
|
|
|
* @var string |
|
66
|
|
|
*/ |
|
67
|
|
|
public $UserWithdrawalLimit; |
|
68
|
|
|
/** |
|
69
|
|
|
* The PartnerCustom |
|
70
|
|
|
* Meta information extracted from the WSDL |
|
71
|
|
|
* - documentation: Custom information you set on the EnterBoarding API call Character length and limitations: 256 alphanumeric characters |
|
72
|
|
|
* - minOccurs: 0 |
|
73
|
|
|
* @var string |
|
74
|
|
|
*/ |
|
75
|
|
|
public $PartnerCustom; |
|
76
|
|
|
/** |
|
77
|
|
|
* The AccountOwner |
|
78
|
|
|
* Meta information extracted from the WSDL |
|
79
|
|
|
* - documentation: Details about the owner of the account |
|
80
|
|
|
* - minOccurs: 0 |
|
81
|
|
|
* @var \PayPal\StructType\PayerInfoType |
|
82
|
|
|
*/ |
|
83
|
|
|
public $AccountOwner; |
|
84
|
|
|
/** |
|
85
|
|
|
* The Credentials |
|
86
|
|
|
* Meta information extracted from the WSDL |
|
87
|
|
|
* - documentation: Merchantâs PayPal API credentials |
|
88
|
|
|
* - minOccurs: 0 |
|
89
|
|
|
* @var \PayPal\StructType\APICredentialsType |
|
90
|
|
|
*/ |
|
91
|
|
|
public $Credentials; |
|
92
|
|
|
/** |
|
93
|
|
|
* The ConfigureAPIs |
|
94
|
|
|
* Meta information extracted from the WSDL |
|
95
|
|
|
* - documentation: The APIs that this merchant has granted the business partner permission to call on his behalf. For example: SetExpressCheckout,GetExpressCheckoutDetails,DoExpressCheckoutPayment |
|
96
|
|
|
* - minOccurs: 0 |
|
97
|
|
|
* @var string |
|
98
|
|
|
*/ |
|
99
|
|
|
public $ConfigureAPIs; |
|
100
|
|
|
/** |
|
101
|
|
|
* The EmailVerificationStatus |
|
102
|
|
|
* Meta information extracted from the WSDL |
|
103
|
|
|
* - documentation: Primary email verification status. Confirmed, Unconfirmed |
|
104
|
|
|
* - minOccurs: 0 |
|
105
|
|
|
* @var string |
|
106
|
|
|
*/ |
|
107
|
|
|
public $EmailVerificationStatus; |
|
108
|
|
|
/** |
|
109
|
|
|
* The VettingStatus |
|
110
|
|
|
* Meta information extracted from the WSDL |
|
111
|
|
|
* - documentation: Gives VettingStatus - Pending, Cancelled, Approved, UnderReview Character length and limitations: 256 alphanumeric characters |
|
112
|
|
|
* - minOccurs: 0 |
|
113
|
|
|
* @var string |
|
114
|
|
|
*/ |
|
115
|
|
|
public $VettingStatus; |
|
116
|
|
|
/** |
|
117
|
|
|
* The BankAccountVerificationStatus |
|
118
|
|
|
* Meta information extracted from the WSDL |
|
119
|
|
|
* - documentation: Gives BankAccountVerificationStatus - Added, Confirmed Character length and limitations: 256 alphanumeric characters |
|
120
|
|
|
* - minOccurs: 0 |
|
121
|
|
|
* @var string |
|
122
|
|
|
*/ |
|
123
|
|
|
public $BankAccountVerificationStatus; |
|
124
|
|
|
/** |
|
125
|
|
|
* Constructor method for GetBoardingDetailsResponseDetailsType |
|
126
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setStatus() |
|
127
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setStartDate() |
|
128
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setLastUpdated() |
|
129
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setReason() |
|
130
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setProgramName() |
|
131
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setProgramCode() |
|
132
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setCampaignID() |
|
133
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setUserWithdrawalLimit() |
|
134
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setPartnerCustom() |
|
135
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setAccountOwner() |
|
136
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setCredentials() |
|
137
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setConfigureAPIs() |
|
138
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setEmailVerificationStatus() |
|
139
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setVettingStatus() |
|
140
|
|
|
* @uses GetBoardingDetailsResponseDetailsType::setBankAccountVerificationStatus() |
|
141
|
|
|
* @param string $status |
|
142
|
|
|
* @param string $startDate |
|
143
|
|
|
* @param string $lastUpdated |
|
144
|
|
|
* @param string $reason |
|
145
|
|
|
* @param string $programName |
|
146
|
|
|
* @param string $programCode |
|
147
|
|
|
* @param string $campaignID |
|
148
|
|
|
* @param string $userWithdrawalLimit |
|
149
|
|
|
* @param string $partnerCustom |
|
150
|
|
|
* @param \PayPal\StructType\PayerInfoType $accountOwner |
|
151
|
|
|
* @param \PayPal\StructType\APICredentialsType $credentials |
|
152
|
|
|
* @param string $configureAPIs |
|
153
|
|
|
* @param string $emailVerificationStatus |
|
154
|
|
|
* @param string $vettingStatus |
|
155
|
|
|
* @param string $bankAccountVerificationStatus |
|
156
|
|
|
*/ |
|
157
|
|
|
public function __construct($status = null, $startDate = null, $lastUpdated = null, $reason = null, $programName = null, $programCode = null, $campaignID = null, $userWithdrawalLimit = null, $partnerCustom = null, \PayPal\StructType\PayerInfoType $accountOwner = null, \PayPal\StructType\APICredentialsType $credentials = null, $configureAPIs = null, $emailVerificationStatus = null, $vettingStatus = null, $bankAccountVerificationStatus = null) |
|
158
|
|
|
{ |
|
159
|
|
|
$this |
|
160
|
|
|
->setStatus($status) |
|
161
|
|
|
->setStartDate($startDate) |
|
162
|
|
|
->setLastUpdated($lastUpdated) |
|
163
|
|
|
->setReason($reason) |
|
164
|
|
|
->setProgramName($programName) |
|
165
|
|
|
->setProgramCode($programCode) |
|
166
|
|
|
->setCampaignID($campaignID) |
|
167
|
|
|
->setUserWithdrawalLimit($userWithdrawalLimit) |
|
168
|
|
|
->setPartnerCustom($partnerCustom) |
|
169
|
|
|
->setAccountOwner($accountOwner) |
|
170
|
|
|
->setCredentials($credentials) |
|
171
|
|
|
->setConfigureAPIs($configureAPIs) |
|
172
|
|
|
->setEmailVerificationStatus($emailVerificationStatus) |
|
173
|
|
|
->setVettingStatus($vettingStatus) |
|
174
|
|
|
->setBankAccountVerificationStatus($bankAccountVerificationStatus); |
|
175
|
|
|
} |
|
176
|
|
|
/** |
|
177
|
|
|
* Get Status value |
|
178
|
|
|
* @return string|null |
|
179
|
|
|
*/ |
|
180
|
|
|
public function getStatus() |
|
181
|
|
|
{ |
|
182
|
|
|
return $this->Status; |
|
183
|
|
|
} |
|
184
|
|
|
/** |
|
185
|
|
|
* Set Status value |
|
186
|
|
|
* @uses \PayPal\EnumType\BoardingStatusType::valueIsValid() |
|
187
|
|
|
* @uses \PayPal\EnumType\BoardingStatusType::getValidValues() |
|
188
|
|
|
* @throws \InvalidArgumentException |
|
189
|
|
|
* @param string $status |
|
190
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
191
|
|
|
*/ |
|
192
|
|
|
public function setStatus($status = null) |
|
193
|
|
|
{ |
|
194
|
|
|
// validation for constraint: enumeration |
|
195
|
|
|
if (!\PayPal\EnumType\BoardingStatusType::valueIsValid($status)) { |
|
196
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \PayPal\EnumType\BoardingStatusType', is_array($status) ? implode(', ', $status) : var_export($status, true), implode(', ', \PayPal\EnumType\BoardingStatusType::getValidValues())), __LINE__); |
|
|
|
|
|
|
197
|
|
|
} |
|
198
|
|
|
$this->Status = $status; |
|
199
|
|
|
return $this; |
|
200
|
|
|
} |
|
201
|
|
|
/** |
|
202
|
|
|
* Get StartDate value |
|
203
|
|
|
* @return string|null |
|
204
|
|
|
*/ |
|
205
|
|
|
public function getStartDate() |
|
206
|
|
|
{ |
|
207
|
|
|
return $this->StartDate; |
|
208
|
|
|
} |
|
209
|
|
|
/** |
|
210
|
|
|
* Set StartDate value |
|
211
|
|
|
* @param string $startDate |
|
212
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
213
|
|
|
*/ |
|
214
|
|
|
public function setStartDate($startDate = null) |
|
215
|
|
|
{ |
|
216
|
|
|
// validation for constraint: string |
|
217
|
|
|
if (!is_null($startDate) && !is_string($startDate)) { |
|
|
|
|
|
|
218
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($startDate, true), gettype($startDate)), __LINE__); |
|
219
|
|
|
} |
|
220
|
|
|
$this->StartDate = $startDate; |
|
221
|
|
|
return $this; |
|
222
|
|
|
} |
|
223
|
|
|
/** |
|
224
|
|
|
* Get LastUpdated value |
|
225
|
|
|
* @return string|null |
|
226
|
|
|
*/ |
|
227
|
|
|
public function getLastUpdated() |
|
228
|
|
|
{ |
|
229
|
|
|
return $this->LastUpdated; |
|
230
|
|
|
} |
|
231
|
|
|
/** |
|
232
|
|
|
* Set LastUpdated value |
|
233
|
|
|
* @param string $lastUpdated |
|
234
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
235
|
|
|
*/ |
|
236
|
|
|
public function setLastUpdated($lastUpdated = null) |
|
237
|
|
|
{ |
|
238
|
|
|
// validation for constraint: string |
|
239
|
|
|
if (!is_null($lastUpdated) && !is_string($lastUpdated)) { |
|
|
|
|
|
|
240
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($lastUpdated, true), gettype($lastUpdated)), __LINE__); |
|
241
|
|
|
} |
|
242
|
|
|
$this->LastUpdated = $lastUpdated; |
|
243
|
|
|
return $this; |
|
244
|
|
|
} |
|
245
|
|
|
/** |
|
246
|
|
|
* Get Reason value |
|
247
|
|
|
* @return string|null |
|
248
|
|
|
*/ |
|
249
|
|
|
public function getReason() |
|
250
|
|
|
{ |
|
251
|
|
|
return $this->Reason; |
|
252
|
|
|
} |
|
253
|
|
|
/** |
|
254
|
|
|
* Set Reason value |
|
255
|
|
|
* @param string $reason |
|
256
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
257
|
|
|
*/ |
|
258
|
|
|
public function setReason($reason = null) |
|
259
|
|
|
{ |
|
260
|
|
|
// validation for constraint: string |
|
261
|
|
|
if (!is_null($reason) && !is_string($reason)) { |
|
|
|
|
|
|
262
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($reason, true), gettype($reason)), __LINE__); |
|
263
|
|
|
} |
|
264
|
|
|
$this->Reason = $reason; |
|
265
|
|
|
return $this; |
|
266
|
|
|
} |
|
267
|
|
|
/** |
|
268
|
|
|
* Get ProgramName value |
|
269
|
|
|
* @return string|null |
|
270
|
|
|
*/ |
|
271
|
|
|
public function getProgramName() |
|
272
|
|
|
{ |
|
273
|
|
|
return $this->ProgramName; |
|
274
|
|
|
} |
|
275
|
|
|
/** |
|
276
|
|
|
* Set ProgramName value |
|
277
|
|
|
* @param string $programName |
|
278
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
279
|
|
|
*/ |
|
280
|
|
|
public function setProgramName($programName = null) |
|
281
|
|
|
{ |
|
282
|
|
|
// validation for constraint: string |
|
283
|
|
|
if (!is_null($programName) && !is_string($programName)) { |
|
|
|
|
|
|
284
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($programName, true), gettype($programName)), __LINE__); |
|
285
|
|
|
} |
|
286
|
|
|
$this->ProgramName = $programName; |
|
287
|
|
|
return $this; |
|
288
|
|
|
} |
|
289
|
|
|
/** |
|
290
|
|
|
* Get ProgramCode value |
|
291
|
|
|
* @return string|null |
|
292
|
|
|
*/ |
|
293
|
|
|
public function getProgramCode() |
|
294
|
|
|
{ |
|
295
|
|
|
return $this->ProgramCode; |
|
296
|
|
|
} |
|
297
|
|
|
/** |
|
298
|
|
|
* Set ProgramCode value |
|
299
|
|
|
* @param string $programCode |
|
300
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
301
|
|
|
*/ |
|
302
|
|
|
public function setProgramCode($programCode = null) |
|
303
|
|
|
{ |
|
304
|
|
|
// validation for constraint: string |
|
305
|
|
|
if (!is_null($programCode) && !is_string($programCode)) { |
|
|
|
|
|
|
306
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($programCode, true), gettype($programCode)), __LINE__); |
|
307
|
|
|
} |
|
308
|
|
|
$this->ProgramCode = $programCode; |
|
309
|
|
|
return $this; |
|
310
|
|
|
} |
|
311
|
|
|
/** |
|
312
|
|
|
* Get CampaignID value |
|
313
|
|
|
* @return string|null |
|
314
|
|
|
*/ |
|
315
|
|
|
public function getCampaignID() |
|
316
|
|
|
{ |
|
317
|
|
|
return $this->CampaignID; |
|
318
|
|
|
} |
|
319
|
|
|
/** |
|
320
|
|
|
* Set CampaignID value |
|
321
|
|
|
* @param string $campaignID |
|
322
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
323
|
|
|
*/ |
|
324
|
|
|
public function setCampaignID($campaignID = null) |
|
325
|
|
|
{ |
|
326
|
|
|
// validation for constraint: string |
|
327
|
|
|
if (!is_null($campaignID) && !is_string($campaignID)) { |
|
|
|
|
|
|
328
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($campaignID, true), gettype($campaignID)), __LINE__); |
|
329
|
|
|
} |
|
330
|
|
|
$this->CampaignID = $campaignID; |
|
331
|
|
|
return $this; |
|
332
|
|
|
} |
|
333
|
|
|
/** |
|
334
|
|
|
* Get UserWithdrawalLimit value |
|
335
|
|
|
* @return string|null |
|
336
|
|
|
*/ |
|
337
|
|
|
public function getUserWithdrawalLimit() |
|
338
|
|
|
{ |
|
339
|
|
|
return $this->UserWithdrawalLimit; |
|
340
|
|
|
} |
|
341
|
|
|
/** |
|
342
|
|
|
* Set UserWithdrawalLimit value |
|
343
|
|
|
* @uses \PayPal\EnumType\UserWithdrawalLimitTypeType::valueIsValid() |
|
344
|
|
|
* @uses \PayPal\EnumType\UserWithdrawalLimitTypeType::getValidValues() |
|
345
|
|
|
* @throws \InvalidArgumentException |
|
346
|
|
|
* @param string $userWithdrawalLimit |
|
347
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
348
|
|
|
*/ |
|
349
|
|
|
public function setUserWithdrawalLimit($userWithdrawalLimit = null) |
|
350
|
|
|
{ |
|
351
|
|
|
// validation for constraint: enumeration |
|
352
|
|
|
if (!\PayPal\EnumType\UserWithdrawalLimitTypeType::valueIsValid($userWithdrawalLimit)) { |
|
353
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \PayPal\EnumType\UserWithdrawalLimitTypeType', is_array($userWithdrawalLimit) ? implode(', ', $userWithdrawalLimit) : var_export($userWithdrawalLimit, true), implode(', ', \PayPal\EnumType\UserWithdrawalLimitTypeType::getValidValues())), __LINE__); |
|
|
|
|
|
|
354
|
|
|
} |
|
355
|
|
|
$this->UserWithdrawalLimit = $userWithdrawalLimit; |
|
356
|
|
|
return $this; |
|
357
|
|
|
} |
|
358
|
|
|
/** |
|
359
|
|
|
* Get PartnerCustom value |
|
360
|
|
|
* @return string|null |
|
361
|
|
|
*/ |
|
362
|
|
|
public function getPartnerCustom() |
|
363
|
|
|
{ |
|
364
|
|
|
return $this->PartnerCustom; |
|
365
|
|
|
} |
|
366
|
|
|
/** |
|
367
|
|
|
* Set PartnerCustom value |
|
368
|
|
|
* @param string $partnerCustom |
|
369
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
370
|
|
|
*/ |
|
371
|
|
|
public function setPartnerCustom($partnerCustom = null) |
|
372
|
|
|
{ |
|
373
|
|
|
// validation for constraint: string |
|
374
|
|
|
if (!is_null($partnerCustom) && !is_string($partnerCustom)) { |
|
|
|
|
|
|
375
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($partnerCustom, true), gettype($partnerCustom)), __LINE__); |
|
376
|
|
|
} |
|
377
|
|
|
$this->PartnerCustom = $partnerCustom; |
|
378
|
|
|
return $this; |
|
379
|
|
|
} |
|
380
|
|
|
/** |
|
381
|
|
|
* Get AccountOwner value |
|
382
|
|
|
* @return \PayPal\StructType\PayerInfoType|null |
|
383
|
|
|
*/ |
|
384
|
|
|
public function getAccountOwner() |
|
385
|
|
|
{ |
|
386
|
|
|
return $this->AccountOwner; |
|
387
|
|
|
} |
|
388
|
|
|
/** |
|
389
|
|
|
* Set AccountOwner value |
|
390
|
|
|
* @param \PayPal\StructType\PayerInfoType $accountOwner |
|
391
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
392
|
|
|
*/ |
|
393
|
|
|
public function setAccountOwner(\PayPal\StructType\PayerInfoType $accountOwner = null) |
|
394
|
|
|
{ |
|
395
|
|
|
$this->AccountOwner = $accountOwner; |
|
396
|
|
|
return $this; |
|
397
|
|
|
} |
|
398
|
|
|
/** |
|
399
|
|
|
* Get Credentials value |
|
400
|
|
|
* @return \PayPal\StructType\APICredentialsType|null |
|
401
|
|
|
*/ |
|
402
|
|
|
public function getCredentials() |
|
403
|
|
|
{ |
|
404
|
|
|
return $this->Credentials; |
|
405
|
|
|
} |
|
406
|
|
|
/** |
|
407
|
|
|
* Set Credentials value |
|
408
|
|
|
* @param \PayPal\StructType\APICredentialsType $credentials |
|
409
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
410
|
|
|
*/ |
|
411
|
|
|
public function setCredentials(\PayPal\StructType\APICredentialsType $credentials = null) |
|
412
|
|
|
{ |
|
413
|
|
|
$this->Credentials = $credentials; |
|
414
|
|
|
return $this; |
|
415
|
|
|
} |
|
416
|
|
|
/** |
|
417
|
|
|
* Get ConfigureAPIs value |
|
418
|
|
|
* @return string|null |
|
419
|
|
|
*/ |
|
420
|
|
|
public function getConfigureAPIs() |
|
421
|
|
|
{ |
|
422
|
|
|
return $this->ConfigureAPIs; |
|
423
|
|
|
} |
|
424
|
|
|
/** |
|
425
|
|
|
* Set ConfigureAPIs value |
|
426
|
|
|
* @param string $configureAPIs |
|
427
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
428
|
|
|
*/ |
|
429
|
|
|
public function setConfigureAPIs($configureAPIs = null) |
|
430
|
|
|
{ |
|
431
|
|
|
// validation for constraint: string |
|
432
|
|
|
if (!is_null($configureAPIs) && !is_string($configureAPIs)) { |
|
|
|
|
|
|
433
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($configureAPIs, true), gettype($configureAPIs)), __LINE__); |
|
434
|
|
|
} |
|
435
|
|
|
$this->ConfigureAPIs = $configureAPIs; |
|
436
|
|
|
return $this; |
|
437
|
|
|
} |
|
438
|
|
|
/** |
|
439
|
|
|
* Get EmailVerificationStatus value |
|
440
|
|
|
* @return string|null |
|
441
|
|
|
*/ |
|
442
|
|
|
public function getEmailVerificationStatus() |
|
443
|
|
|
{ |
|
444
|
|
|
return $this->EmailVerificationStatus; |
|
445
|
|
|
} |
|
446
|
|
|
/** |
|
447
|
|
|
* Set EmailVerificationStatus value |
|
448
|
|
|
* @param string $emailVerificationStatus |
|
449
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
450
|
|
|
*/ |
|
451
|
|
|
public function setEmailVerificationStatus($emailVerificationStatus = null) |
|
452
|
|
|
{ |
|
453
|
|
|
// validation for constraint: string |
|
454
|
|
|
if (!is_null($emailVerificationStatus) && !is_string($emailVerificationStatus)) { |
|
|
|
|
|
|
455
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($emailVerificationStatus, true), gettype($emailVerificationStatus)), __LINE__); |
|
456
|
|
|
} |
|
457
|
|
|
$this->EmailVerificationStatus = $emailVerificationStatus; |
|
458
|
|
|
return $this; |
|
459
|
|
|
} |
|
460
|
|
|
/** |
|
461
|
|
|
* Get VettingStatus value |
|
462
|
|
|
* @return string|null |
|
463
|
|
|
*/ |
|
464
|
|
|
public function getVettingStatus() |
|
465
|
|
|
{ |
|
466
|
|
|
return $this->VettingStatus; |
|
467
|
|
|
} |
|
468
|
|
|
/** |
|
469
|
|
|
* Set VettingStatus value |
|
470
|
|
|
* @param string $vettingStatus |
|
471
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
472
|
|
|
*/ |
|
473
|
|
|
public function setVettingStatus($vettingStatus = null) |
|
474
|
|
|
{ |
|
475
|
|
|
// validation for constraint: string |
|
476
|
|
|
if (!is_null($vettingStatus) && !is_string($vettingStatus)) { |
|
|
|
|
|
|
477
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($vettingStatus, true), gettype($vettingStatus)), __LINE__); |
|
478
|
|
|
} |
|
479
|
|
|
$this->VettingStatus = $vettingStatus; |
|
480
|
|
|
return $this; |
|
481
|
|
|
} |
|
482
|
|
|
/** |
|
483
|
|
|
* Get BankAccountVerificationStatus value |
|
484
|
|
|
* @return string|null |
|
485
|
|
|
*/ |
|
486
|
|
|
public function getBankAccountVerificationStatus() |
|
487
|
|
|
{ |
|
488
|
|
|
return $this->BankAccountVerificationStatus; |
|
489
|
|
|
} |
|
490
|
|
|
/** |
|
491
|
|
|
* Set BankAccountVerificationStatus value |
|
492
|
|
|
* @param string $bankAccountVerificationStatus |
|
493
|
|
|
* @return \PayPal\StructType\GetBoardingDetailsResponseDetailsType |
|
494
|
|
|
*/ |
|
495
|
|
|
public function setBankAccountVerificationStatus($bankAccountVerificationStatus = null) |
|
496
|
|
|
{ |
|
497
|
|
|
// validation for constraint: string |
|
498
|
|
|
if (!is_null($bankAccountVerificationStatus) && !is_string($bankAccountVerificationStatus)) { |
|
|
|
|
|
|
499
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($bankAccountVerificationStatus, true), gettype($bankAccountVerificationStatus)), __LINE__); |
|
500
|
|
|
} |
|
501
|
|
|
$this->BankAccountVerificationStatus = $bankAccountVerificationStatus; |
|
502
|
|
|
return $this; |
|
503
|
|
|
} |
|
504
|
|
|
} |
|
505
|
|
|
|