Skip to content

Commit 7544e2d

Browse files
committed
Generate LEM models
1 parent 12ff965 commit 7544e2d

File tree

100 files changed

+239
-161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+239
-161
lines changed

src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function getTypeAllowableValues()
253253
* @param mixed[] $data Associated array of property values
254254
* initializing the model
255255
*/
256-
public function __construct(array $data = null)
256+
public function __construct(?array $data = null)
257257
{
258258
$this->setIfExists('accountNumber', $data ?? [], null);
259259
$this->setIfExists('bsbCode', $data ?? [], null);

src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function getModelName()
235235
* @param mixed[] $data Associated array of property values
236236
* initializing the model
237237
*/
238-
public function __construct(array $data = null)
238+
public function __construct(?array $data = null)
239239
{
240240
$this->setIfExists('acceptedBy', $data ?? [], null);
241241
$this->setIfExists('ipAddress', $data ?? [], null);

src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ public function getModelName()
254254
public const TYPE_ADYEN_FRANCHISEE = 'adyenFranchisee';
255255
public const TYPE_ADYEN_ISSUING = 'adyenIssuing';
256256
public const TYPE_ADYEN_PCCR = 'adyenPccr';
257+
public const TYPE_KYC_ON_INVITE = 'kycOnInvite';
257258

258259
/**
259260
* Gets allowable values of the enum
@@ -272,6 +273,7 @@ public function getTypeAllowableValues()
272273
self::TYPE_ADYEN_FRANCHISEE,
273274
self::TYPE_ADYEN_ISSUING,
274275
self::TYPE_ADYEN_PCCR,
276+
self::TYPE_KYC_ON_INVITE,
275277
];
276278
}
277279
/**
@@ -287,7 +289,7 @@ public function getTypeAllowableValues()
287289
* @param mixed[] $data Associated array of property values
288290
* initializing the model
289291
*/
290-
public function __construct(array $data = null)
292+
public function __construct(?array $data = null)
291293
{
292294
$this->setIfExists('acceptedBy', $data ?? [], null);
293295
$this->setIfExists('id', $data ?? [], null);
@@ -481,7 +483,7 @@ public function getType()
481483
/**
482484
* Sets type
483485
*
484-
* @param string|null $type The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard**
486+
* @param string|null $type The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** * **kycOnInvite**
485487
*
486488
* @return self
487489
*/

src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function getTypeAllowableValues()
249249
* @param mixed[] $data Associated array of property values
250250
* initializing the model
251251
*/
252-
public function __construct(array $data = null)
252+
public function __construct(?array $data = null)
253253
{
254254
$this->setIfExists('code', $data ?? [], null);
255255
$this->setIfExists('type', $data ?? [], null);

src/Adyen/Model/LegalEntityManagement/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function getModelName()
259259
* @param mixed[] $data Associated array of property values
260260
* initializing the model
261261
*/
262-
public function __construct(array $data = null)
262+
public function __construct(?array $data = null)
263263
{
264264
$this->setIfExists('city', $data ?? [], null);
265265
$this->setIfExists('country', $data ?? [], null);

src/Adyen/Model/LegalEntityManagement/Amount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function getModelName()
235235
* @param mixed[] $data Associated array of property values
236236
* initializing the model
237237
*/
238-
public function __construct(array $data = null)
238+
public function __construct(?array $data = null)
239239
{
240240
$this->setIfExists('currency', $data ?? [], null);
241241
$this->setIfExists('value', $data ?? [], null);

src/Adyen/Model/LegalEntityManagement/Attachment.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function getModelName()
253253
* @param mixed[] $data Associated array of property values
254254
* initializing the model
255255
*/
256-
public function __construct(array $data = null)
256+
public function __construct(?array $data = null)
257257
{
258258
$this->setIfExists('content', $data ?? [], null);
259259
$this->setIfExists('contentType', $data ?? [], null);
@@ -335,7 +335,7 @@ public function setContent($content)
335335
* Gets contentType
336336
*
337337
* @return string|null
338-
* @deprecated since Legal Entity Management API v1.
338+
* @deprecated since Legal Entity Management API v1.
339339
*/
340340
public function getContentType()
341341
{
@@ -348,7 +348,7 @@ public function getContentType()
348348
* @param string|null $contentType The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**.
349349
*
350350
* @return self
351-
* @deprecated since Legal Entity Management API v1.
351+
* @deprecated since Legal Entity Management API v1.
352352
*/
353353
public function setContentType($contentType)
354354
{
@@ -361,7 +361,7 @@ public function setContentType($contentType)
361361
* Gets filename
362362
*
363363
* @return string|null
364-
* @deprecated since Legal Entity Management API v1.
364+
* @deprecated since Legal Entity Management API v1.
365365
*/
366366
public function getFilename()
367367
{
@@ -374,7 +374,7 @@ public function getFilename()
374374
* @param string|null $filename The name of the file including the file extension.
375375
*
376376
* @return self
377-
* @deprecated since Legal Entity Management API v1.
377+
* @deprecated since Legal Entity Management API v1.
378378
*/
379379
public function setFilename($filename)
380380
{

src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function getModelName()
253253
* @param mixed[] $data Associated array of property values
254254
* initializing the model
255255
*/
256-
public function __construct(array $data = null)
256+
public function __construct(?array $data = null)
257257
{
258258
$this->setIfExists('accountIdentification', $data ?? [], null);
259259
$this->setIfExists('accountType', $data ?? [], null);
@@ -332,7 +332,7 @@ public function setAccountIdentification($accountIdentification)
332332
* Gets accountType
333333
*
334334
* @return string|null
335-
* @deprecated since Legal Entity Management API v2.
335+
* @deprecated since Legal Entity Management API v2.
336336
*/
337337
public function getAccountType()
338338
{
@@ -345,7 +345,7 @@ public function getAccountType()
345345
* @param string|null $accountType The type of bank account.
346346
*
347347
* @return self
348-
* @deprecated since Legal Entity Management API v2.
348+
* @deprecated since Legal Entity Management API v2.
349349
*/
350350
public function setAccountType($accountType)
351351
{

src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public function getModelName()
307307
* @param mixed[] $data Associated array of property values
308308
* initializing the model
309309
*/
310-
public function __construct(array $data = null)
310+
public function __construct(?array $data = null)
311311
{
312312
$this->setIfExists('accountNumber', $data ?? [], null);
313313
$this->setIfExists('bsbCode', $data ?? [], null);

src/Adyen/Model/LegalEntityManagement/BirthData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function getModelName()
229229
* @param mixed[] $data Associated array of property values
230230
* initializing the model
231231
*/
232-
public function __construct(array $data = null)
232+
public function __construct(?array $data = null)
233233
{
234234
$this->setIfExists('dateOfBirth', $data ?? [], null);
235235
}

0 commit comments

Comments
 (0)