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 Jul 18, 2023
1 parent 689b548 commit fca4ae1
Show file tree
Hide file tree
Showing 162 changed files with 20,435 additions and 1,132 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 @@ -50,6 +50,7 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'description' => 'string',
'id' => 'string',
'legalEntityId' => 'string',
'metadata' => 'array<string,string>',
'primaryBalanceAccount' => 'string',
'reference' => 'string',
'status' => 'string',
Expand All @@ -71,6 +72,7 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'description' => null,
'id' => null,
'legalEntityId' => null,
'metadata' => null,
'primaryBalanceAccount' => null,
'reference' => null,
'status' => null,
Expand All @@ -90,6 +92,7 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'description' => false,
'id' => false,
'legalEntityId' => false,
'metadata' => false,
'primaryBalanceAccount' => false,
'reference' => false,
'status' => false,
Expand Down Expand Up @@ -189,6 +192,7 @@ public function isNullableSetToNull(string $property): bool
'description' => 'description',
'id' => 'id',
'legalEntityId' => 'legalEntityId',
'metadata' => 'metadata',
'primaryBalanceAccount' => 'primaryBalanceAccount',
'reference' => 'reference',
'status' => 'status',
Expand All @@ -208,6 +212,7 @@ public function isNullableSetToNull(string $property): bool
'description' => 'setDescription',
'id' => 'setId',
'legalEntityId' => 'setLegalEntityId',
'metadata' => 'setMetadata',
'primaryBalanceAccount' => 'setPrimaryBalanceAccount',
'reference' => 'setReference',
'status' => 'setStatus',
Expand All @@ -227,6 +232,7 @@ public function isNullableSetToNull(string $property): bool
'description' => 'getDescription',
'id' => 'getId',
'legalEntityId' => 'getLegalEntityId',
'metadata' => 'getMetadata',
'primaryBalanceAccount' => 'getPrimaryBalanceAccount',
'reference' => 'getReference',
'status' => 'getStatus',
Expand Down Expand Up @@ -315,6 +321,7 @@ public function __construct(array $data = null)
$this->setIfExists('description', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('legalEntityId', $data ?? [], null);
$this->setIfExists('metadata', $data ?? [], null);
$this->setIfExists('primaryBalanceAccount', $data ?? [], null);
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('status', $data ?? [], null);
Expand Down Expand Up @@ -541,6 +548,33 @@ public function setLegalEntityId($legalEntityId)
return $this;
}

/**
* Gets metadata
*
* @return array<string,string>|null
*/
public function getMetadata()
{
return $this->container['metadata'];
}

/**
* 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.
*
* @return self
*/
public function setMetadata($metadata)
{
if (is_null($metadata)) {
throw new \InvalidArgumentException('non-nullable metadata cannot be null');
}
$this->container['metadata'] = $metadata;

return $this;
}

/**
* Gets primaryBalanceAccount
*
Expand Down Expand Up @@ -645,7 +679,7 @@ public function getTimeZone()
/**
* Sets timeZone
*
* @param string|null $timeZone The [time zone](https://www.iana.org/time-zones) of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
* @param string|null $timeZone The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
*
* @return self
*/
Expand Down
12 changes: 6 additions & 6 deletions src/Adyen/Model/BalancePlatform/AccountHolderCapability.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ class AccountHolderCapability implements ModelInterface, ArrayAccess, \JsonSeria
protected static $openAPITypes = [
'allowed' => 'bool',
'allowedLevel' => 'string',
'allowedSettings' => '\Adyen\Model\BalancePlatform\JSONObject',
'allowedSettings' => '\Adyen\Model\BalancePlatform\CapabilitySettings',
'enabled' => 'bool',
'problems' => 'object[]',
'requested' => 'bool',
'requestedLevel' => 'string',
'requestedSettings' => '\Adyen\Model\BalancePlatform\JSONObject',
'requestedSettings' => '\Adyen\Model\BalancePlatform\CapabilitySettings',
'transferInstruments' => '\Adyen\Model\BalancePlatform\AccountSupportingEntityCapability[]',
'verificationStatus' => 'string'
];
Expand Down Expand Up @@ -487,7 +487,7 @@ public function setAllowedLevel($allowedLevel)
/**
* Gets allowedSettings
*
* @return \Adyen\Model\BalancePlatform\JSONObject|null
* @return \Adyen\Model\BalancePlatform\CapabilitySettings|null
*/
public function getAllowedSettings()
{
Expand All @@ -497,7 +497,7 @@ public function getAllowedSettings()
/**
* Sets allowedSettings
*
* @param \Adyen\Model\BalancePlatform\JSONObject|null $allowedSettings allowedSettings
* @param \Adyen\Model\BalancePlatform\CapabilitySettings|null $allowedSettings allowedSettings
*
* @return self
*/
Expand Down Expand Up @@ -632,7 +632,7 @@ public function setRequestedLevel($requestedLevel)
/**
* Gets requestedSettings
*
* @return \Adyen\Model\BalancePlatform\JSONObject|null
* @return \Adyen\Model\BalancePlatform\CapabilitySettings|null
*/
public function getRequestedSettings()
{
Expand All @@ -642,7 +642,7 @@ public function getRequestedSettings()
/**
* Sets requestedSettings
*
* @param \Adyen\Model\BalancePlatform\JSONObject|null $requestedSettings requestedSettings
* @param \Adyen\Model\BalancePlatform\CapabilitySettings|null $requestedSettings requestedSettings
*
* @return self
*/
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 @@ -49,6 +49,7 @@ class AccountHolderInfo implements ModelInterface, ArrayAccess, \JsonSerializabl
'contactDetails' => '\Adyen\Model\BalancePlatform\ContactDetails',
'description' => 'string',
'legalEntityId' => 'string',
'metadata' => 'array<string,string>',
'reference' => 'string',
'timeZone' => 'string'
];
Expand All @@ -66,6 +67,7 @@ class AccountHolderInfo implements ModelInterface, ArrayAccess, \JsonSerializabl
'contactDetails' => null,
'description' => null,
'legalEntityId' => null,
'metadata' => null,
'reference' => null,
'timeZone' => null
];
Expand All @@ -81,6 +83,7 @@ class AccountHolderInfo implements ModelInterface, ArrayAccess, \JsonSerializabl
'contactDetails' => false,
'description' => false,
'legalEntityId' => false,
'metadata' => false,
'reference' => false,
'timeZone' => false
];
Expand Down Expand Up @@ -176,6 +179,7 @@ public function isNullableSetToNull(string $property): bool
'contactDetails' => 'contactDetails',
'description' => 'description',
'legalEntityId' => 'legalEntityId',
'metadata' => 'metadata',
'reference' => 'reference',
'timeZone' => 'timeZone'
];
Expand All @@ -191,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
'contactDetails' => 'setContactDetails',
'description' => 'setDescription',
'legalEntityId' => 'setLegalEntityId',
'metadata' => 'setMetadata',
'reference' => 'setReference',
'timeZone' => 'setTimeZone'
];
Expand All @@ -206,6 +211,7 @@ public function isNullableSetToNull(string $property): bool
'contactDetails' => 'getContactDetails',
'description' => 'getDescription',
'legalEntityId' => 'getLegalEntityId',
'metadata' => 'getMetadata',
'reference' => 'getReference',
'timeZone' => 'getTimeZone'
];
Expand Down Expand Up @@ -272,6 +278,7 @@ public function __construct(array $data = null)
$this->setIfExists('contactDetails', $data ?? [], null);
$this->setIfExists('description', $data ?? [], null);
$this->setIfExists('legalEntityId', $data ?? [], null);
$this->setIfExists('metadata', $data ?? [], null);
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('timeZone', $data ?? [], null);
}
Expand Down Expand Up @@ -456,6 +463,33 @@ public function setLegalEntityId($legalEntityId)
return $this;
}

/**
* Gets metadata
*
* @return array<string,string>|null
*/
public function getMetadata()
{
return $this->container['metadata'];
}

/**
* 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.
*
* @return self
*/
public function setMetadata($metadata)
{
if (is_null($metadata)) {
throw new \InvalidArgumentException('non-nullable metadata cannot be null');
}
$this->container['metadata'] = $metadata;

return $this;
}

/**
* Gets reference
*
Expand Down Expand Up @@ -496,7 +530,7 @@ public function getTimeZone()
/**
* Sets timeZone
*
* @param string|null $timeZone The [time zone](https://www.iana.org/time-zones) of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
* @param string|null $timeZone The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
*
* @return self
*/
Expand Down
36 changes: 35 additions & 1 deletion src/Adyen/Model/BalancePlatform/BalanceAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class BalanceAccount implements ModelInterface, ArrayAccess, \JsonSerializable
'defaultCurrencyCode' => 'string',
'description' => 'string',
'id' => 'string',
'metadata' => 'array<string,string>',
'reference' => 'string',
'status' => 'string',
'timeZone' => 'string'
Expand All @@ -67,6 +68,7 @@ class BalanceAccount implements ModelInterface, ArrayAccess, \JsonSerializable
'defaultCurrencyCode' => null,
'description' => null,
'id' => null,
'metadata' => null,
'reference' => null,
'status' => null,
'timeZone' => null
Expand All @@ -83,6 +85,7 @@ class BalanceAccount implements ModelInterface, ArrayAccess, \JsonSerializable
'defaultCurrencyCode' => false,
'description' => false,
'id' => false,
'metadata' => false,
'reference' => false,
'status' => false,
'timeZone' => false
Expand Down Expand Up @@ -179,6 +182,7 @@ public function isNullableSetToNull(string $property): bool
'defaultCurrencyCode' => 'defaultCurrencyCode',
'description' => 'description',
'id' => 'id',
'metadata' => 'metadata',
'reference' => 'reference',
'status' => 'status',
'timeZone' => 'timeZone'
Expand All @@ -195,6 +199,7 @@ public function isNullableSetToNull(string $property): bool
'defaultCurrencyCode' => 'setDefaultCurrencyCode',
'description' => 'setDescription',
'id' => 'setId',
'metadata' => 'setMetadata',
'reference' => 'setReference',
'status' => 'setStatus',
'timeZone' => 'setTimeZone'
Expand All @@ -211,6 +216,7 @@ public function isNullableSetToNull(string $property): bool
'defaultCurrencyCode' => 'getDefaultCurrencyCode',
'description' => 'getDescription',
'id' => 'getId',
'metadata' => 'getMetadata',
'reference' => 'getReference',
'status' => 'getStatus',
'timeZone' => 'getTimeZone'
Expand Down Expand Up @@ -296,6 +302,7 @@ public function __construct(array $data = null)
$this->setIfExists('defaultCurrencyCode', $data ?? [], null);
$this->setIfExists('description', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('metadata', $data ?? [], null);
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('status', $data ?? [], null);
$this->setIfExists('timeZone', $data ?? [], null);
Expand Down Expand Up @@ -493,6 +500,33 @@ public function setId($id)
return $this;
}

/**
* Gets metadata
*
* @return array<string,string>|null
*/
public function getMetadata()
{
return $this->container['metadata'];
}

/**
* 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.
*
* @return self
*/
public function setMetadata($metadata)
{
if (is_null($metadata)) {
throw new \InvalidArgumentException('non-nullable metadata cannot be null');
}
$this->container['metadata'] = $metadata;

return $this;
}

/**
* Gets reference
*
Expand Down Expand Up @@ -570,7 +604,7 @@ public function getTimeZone()
/**
* Sets timeZone
*
* @param string|null $timeZone The [time zone](https://www.iana.org/time-zones) of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
* @param string|null $timeZone The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
*
* @return self
*/
Expand Down
Loading

0 comments on commit fca4ae1

Please sign in to comment.