Skip to content

Commit d6085d5

Browse files
committed
Generate Transfer models
1 parent e255b8d commit d6085d5

File tree

94 files changed

+1256
-164
lines changed

Some content is hidden

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

94 files changed

+1256
-164
lines changed

src/Adyen/Model/Transfers/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/Transfers/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/Transfers/Address.php

Lines changed: 6 additions & 6 deletions
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);
@@ -327,7 +327,7 @@ public function getCity()
327327
/**
328328
* Sets city
329329
*
330-
* @param string|null $city The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.
330+
* @param string|null $city The name of the city. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
331331
*
332332
* @return self
333333
*/
@@ -375,7 +375,7 @@ public function getLine1()
375375
/**
376376
* Sets line1
377377
*
378-
* @param string|null $line1 First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.
378+
* @param string|null $line1 The first line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
379379
*
380380
* @return self
381381
*/
@@ -399,7 +399,7 @@ public function getLine2()
399399
/**
400400
* Sets line2
401401
*
402-
* @param string|null $line2 Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.
402+
* @param string|null $line2 The second line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
403403
*
404404
* @return self
405405
*/
@@ -423,7 +423,7 @@ public function getPostalCode()
423423
/**
424424
* Sets postalCode
425425
*
426-
* @param string|null $postalCode The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space.
426+
* @param string|null $postalCode The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: **[a-z] [A-Z] [0-9]** and Space. > Required for addresses in the US.
427427
*
428428
* @return self
429429
*/
@@ -447,7 +447,7 @@ public function getStateOrProvince()
447447
/**
448448
* Sets stateOrProvince
449449
*
450-
* @param string|null $stateOrProvince The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
450+
* @param string|null $stateOrProvince The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
451451
*
452452
* @return self
453453
*/

src/Adyen/Model/Transfers/Airline.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('legs', $data ?? [], null);
241241
$this->setIfExists('ticketNumber', $data ?? [], null);

src/Adyen/Model/Transfers/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/Transfers/AmountAdjustment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function getAmountAdjustmentTypeAllowableValues()
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('amount', $data ?? [], null);
265265
$this->setIfExists('amountAdjustmentType', $data ?? [], null);

src/Adyen/Model/Transfers/ApproveTransfersRequest.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('transferIds', $data ?? [], null);
235235
}

src/Adyen/Model/Transfers/BRLocalAccountIdentification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function getTypeAllowableValues()
265265
* @param mixed[] $data Associated array of property values
266266
* initializing the model
267267
*/
268-
public function __construct(array $data = null)
268+
public function __construct(?array $data = null)
269269
{
270270
$this->setIfExists('accountNumber', $data ?? [], null);
271271
$this->setIfExists('bankCode', $data ?? [], null);

src/Adyen/Model/Transfers/BalanceMutation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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('balance', $data ?? [], null);
253253
$this->setIfExists('currency', $data ?? [], null);

src/Adyen/Model/Transfers/BankAccountV3.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('accountHolder', $data ?? [], null);
241241
$this->setIfExists('accountIdentification', $data ?? [], null);

0 commit comments

Comments
 (0)