Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Aug 16, 2023
1 parent 7c88d9d commit 77dc6f6
Show file tree
Hide file tree
Showing 45 changed files with 7,426 additions and 250 deletions.
36 changes: 35 additions & 1 deletion src/Adyen/Model/BalancePlatform/AccountHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'id' => 'string',
'legalEntityId' => 'string',
'metadata' => 'array<string,string>',
'migratedAccountHolderCode' => 'string',
'primaryBalanceAccount' => 'string',
'reference' => 'string',
'status' => 'string',
Expand All @@ -73,6 +74,7 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'id' => null,
'legalEntityId' => null,
'metadata' => null,
'migratedAccountHolderCode' => null,
'primaryBalanceAccount' => null,
'reference' => null,
'status' => null,
Expand All @@ -93,6 +95,7 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'id' => false,
'legalEntityId' => false,
'metadata' => false,
'migratedAccountHolderCode' => false,
'primaryBalanceAccount' => false,
'reference' => false,
'status' => false,
Expand Down Expand Up @@ -193,6 +196,7 @@ public function isNullableSetToNull(string $property): bool
'id' => 'id',
'legalEntityId' => 'legalEntityId',
'metadata' => 'metadata',
'migratedAccountHolderCode' => 'migratedAccountHolderCode',
'primaryBalanceAccount' => 'primaryBalanceAccount',
'reference' => 'reference',
'status' => 'status',
Expand All @@ -213,6 +217,7 @@ public function isNullableSetToNull(string $property): bool
'id' => 'setId',
'legalEntityId' => 'setLegalEntityId',
'metadata' => 'setMetadata',
'migratedAccountHolderCode' => 'setMigratedAccountHolderCode',
'primaryBalanceAccount' => 'setPrimaryBalanceAccount',
'reference' => 'setReference',
'status' => 'setStatus',
Expand All @@ -233,6 +238,7 @@ public function isNullableSetToNull(string $property): bool
'id' => 'getId',
'legalEntityId' => 'getLegalEntityId',
'metadata' => 'getMetadata',
'migratedAccountHolderCode' => 'getMigratedAccountHolderCode',
'primaryBalanceAccount' => 'getPrimaryBalanceAccount',
'reference' => 'getReference',
'status' => 'getStatus',
Expand Down Expand Up @@ -322,6 +328,7 @@ public function __construct(array $data = null)
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('legalEntityId', $data ?? [], null);
$this->setIfExists('metadata', $data ?? [], null);
$this->setIfExists('migratedAccountHolderCode', $data ?? [], null);
$this->setIfExists('primaryBalanceAccount', $data ?? [], null);
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('status', $data ?? [], null);
Expand Down Expand Up @@ -561,7 +568,7 @@ public function getMetadata()
/**
* Sets metadata
*
* @param array<string,string>|null $metadata A set of key and value pairs for general use by the merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
* @param array<string,string>|null $metadata A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
*
* @return self
*/
Expand All @@ -575,6 +582,33 @@ public function setMetadata($metadata)
return $this;
}

/**
* Gets migratedAccountHolderCode
*
* @return string|null
*/
public function getMigratedAccountHolderCode()
{
return $this->container['migratedAccountHolderCode'];
}

/**
* Sets migratedAccountHolderCode
*
* @param string|null $migratedAccountHolderCode The unique identifier of the migrated account holder in the classic integration.
*
* @return self
*/
public function setMigratedAccountHolderCode($migratedAccountHolderCode)
{
if (is_null($migratedAccountHolderCode)) {
throw new \InvalidArgumentException('non-nullable migratedAccountHolderCode cannot be null');
}
$this->container['migratedAccountHolderCode'] = $migratedAccountHolderCode;

return $this;
}

/**
* Gets primaryBalanceAccount
*
Expand Down
36 changes: 35 additions & 1 deletion src/Adyen/Model/BalancePlatform/AccountHolderInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class AccountHolderInfo implements ModelInterface, ArrayAccess, \JsonSerializabl
'description' => 'string',
'legalEntityId' => 'string',
'metadata' => 'array<string,string>',
'migratedAccountHolderCode' => 'string',
'reference' => 'string',
'timeZone' => 'string'
];
Expand All @@ -68,6 +69,7 @@ class AccountHolderInfo implements ModelInterface, ArrayAccess, \JsonSerializabl
'description' => null,
'legalEntityId' => null,
'metadata' => null,
'migratedAccountHolderCode' => null,
'reference' => null,
'timeZone' => null
];
Expand All @@ -84,6 +86,7 @@ class AccountHolderInfo implements ModelInterface, ArrayAccess, \JsonSerializabl
'description' => false,
'legalEntityId' => false,
'metadata' => false,
'migratedAccountHolderCode' => false,
'reference' => false,
'timeZone' => false
];
Expand Down Expand Up @@ -180,6 +183,7 @@ public function isNullableSetToNull(string $property): bool
'description' => 'description',
'legalEntityId' => 'legalEntityId',
'metadata' => 'metadata',
'migratedAccountHolderCode' => 'migratedAccountHolderCode',
'reference' => 'reference',
'timeZone' => 'timeZone'
];
Expand All @@ -196,6 +200,7 @@ public function isNullableSetToNull(string $property): bool
'description' => 'setDescription',
'legalEntityId' => 'setLegalEntityId',
'metadata' => 'setMetadata',
'migratedAccountHolderCode' => 'setMigratedAccountHolderCode',
'reference' => 'setReference',
'timeZone' => 'setTimeZone'
];
Expand All @@ -212,6 +217,7 @@ public function isNullableSetToNull(string $property): bool
'description' => 'getDescription',
'legalEntityId' => 'getLegalEntityId',
'metadata' => 'getMetadata',
'migratedAccountHolderCode' => 'getMigratedAccountHolderCode',
'reference' => 'getReference',
'timeZone' => 'getTimeZone'
];
Expand Down Expand Up @@ -279,6 +285,7 @@ public function __construct(array $data = null)
$this->setIfExists('description', $data ?? [], null);
$this->setIfExists('legalEntityId', $data ?? [], null);
$this->setIfExists('metadata', $data ?? [], null);
$this->setIfExists('migratedAccountHolderCode', $data ?? [], null);
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('timeZone', $data ?? [], null);
}
Expand Down Expand Up @@ -476,7 +483,7 @@ public function getMetadata()
/**
* Sets metadata
*
* @param array<string,string>|null $metadata A set of key and value pairs for general use by the merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
* @param array<string,string>|null $metadata A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
*
* @return self
*/
Expand All @@ -490,6 +497,33 @@ public function setMetadata($metadata)
return $this;
}

/**
* Gets migratedAccountHolderCode
*
* @return string|null
*/
public function getMigratedAccountHolderCode()
{
return $this->container['migratedAccountHolderCode'];
}

/**
* Sets migratedAccountHolderCode
*
* @param string|null $migratedAccountHolderCode The unique identifier of the migrated account holder in the classic integration.
*
* @return self
*/
public function setMigratedAccountHolderCode($migratedAccountHolderCode)
{
if (is_null($migratedAccountHolderCode)) {
throw new \InvalidArgumentException('non-nullable migratedAccountHolderCode cannot be null');
}
$this->container['migratedAccountHolderCode'] = $migratedAccountHolderCode;

return $this;
}

/**
* Gets reference
*
Expand Down
Loading

0 comments on commit 77dc6f6

Please sign in to comment.