Skip to content

Commit 14def14

Browse files
committed
Generate Recurring models
1 parent 614dc4a commit 14def14

28 files changed

+69
-64
lines changed

src/Adyen/Model/Recurring/Address.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -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/Recurring/Amount.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -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/Recurring/BankAccount.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -277,7 +277,7 @@ public function getModelName()
277277
* @param mixed[] $data Associated array of property values
278278
* initializing the model
279279
*/
280-
public function __construct(array $data = null)
280+
public function __construct(?array $data = null)
281281
{
282282
$this->setIfExists('bankAccountNumber', $data ?? [], null);
283283
$this->setIfExists('bankCity', $data ?? [], null);

src/Adyen/Model/Recurring/Card.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -271,7 +271,7 @@ public function getModelName()
271271
* @param mixed[] $data Associated array of property values
272272
* initializing the model
273273
*/
274-
public function __construct(array $data = null)
274+
public function __construct(?array $data = null)
275275
{
276276
$this->setIfExists('cvc', $data ?? [], null);
277277
$this->setIfExists('expiryMonth', $data ?? [], null);

src/Adyen/Model/Recurring/CreatePermitRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -247,7 +247,7 @@ public function getModelName()
247247
* @param mixed[] $data Associated array of property values
248248
* initializing the model
249249
*/
250-
public function __construct(array $data = null)
250+
public function __construct(?array $data = null)
251251
{
252252
$this->setIfExists('merchantAccount', $data ?? [], null);
253253
$this->setIfExists('permits', $data ?? [], null);

src/Adyen/Model/Recurring/CreatePermitResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -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('permitResultList', $data ?? [], null);
241241
$this->setIfExists('pspReference', $data ?? [], null);

src/Adyen/Model/Recurring/DisablePermitRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -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('merchantAccount', $data ?? [], null);
241241
$this->setIfExists('token', $data ?? [], null);

src/Adyen/Model/Recurring/DisablePermitResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -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('pspReference', $data ?? [], null);
241241
$this->setIfExists('status', $data ?? [], null);

src/Adyen/Model/Recurring/DisableRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -247,7 +247,7 @@ public function getModelName()
247247
* @param mixed[] $data Associated array of property values
248248
* initializing the model
249249
*/
250-
public function __construct(array $data = null)
250+
public function __construct(?array $data = null)
251251
{
252252
$this->setIfExists('contract', $data ?? [], null);
253253
$this->setIfExists('merchantAccount', $data ?? [], null);

src/Adyen/Model/Recurring/DisableResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Adyen Recurring API (deprecated)
4+
* Adyen Recurring API
55
*
66
* The version of the OpenAPI document: 68
77
* Generated by: https://openapi-generator.tech
@@ -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('response', $data ?? [], null);
235235
}

0 commit comments

Comments
 (0)