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 Oct 19, 2023
1 parent b80e4f1 commit a8a90c7
Show file tree
Hide file tree
Showing 71 changed files with 6,969 additions and 2,570 deletions.
2 changes: 1 addition & 1 deletion src/Adyen/Model/BalancePlatform/BalanceAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public function getDefaultCurrencyCode()
/**
* Sets defaultCurrencyCode
*
* @param string|null $defaultCurrencyCode The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**.
* @param string|null $defaultCurrencyCode The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/BalancePlatform/BalanceAccountBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ public function getDefaultCurrencyCode()
/**
* Sets defaultCurrencyCode
*
* @param string|null $defaultCurrencyCode The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**.
* @param string|null $defaultCurrencyCode The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function getDefaultCurrencyCode()
/**
* Sets defaultCurrencyCode
*
* @param string|null $defaultCurrencyCode The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**.
* @param string|null $defaultCurrencyCode The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.
*
* @return self
*/
Expand Down
34 changes: 0 additions & 34 deletions src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class BalanceAccountUpdateRequest implements ModelInterface, ArrayAccess, \JsonS
*/
protected static $openAPITypes = [
'accountHolderId' => 'string',
'defaultCurrencyCode' => 'string',
'description' => 'string',
'metadata' => 'array<string,string>',
'platformPaymentConfiguration' => '\Adyen\Model\BalancePlatform\PlatformPaymentConfiguration',
Expand All @@ -63,7 +62,6 @@ class BalanceAccountUpdateRequest implements ModelInterface, ArrayAccess, \JsonS
*/
protected static $openAPIFormats = [
'accountHolderId' => null,
'defaultCurrencyCode' => null,
'description' => null,
'metadata' => null,
'platformPaymentConfiguration' => null,
Expand All @@ -79,7 +77,6 @@ class BalanceAccountUpdateRequest implements ModelInterface, ArrayAccess, \JsonS
*/
protected static $openAPINullables = [
'accountHolderId' => false,
'defaultCurrencyCode' => false,
'description' => false,
'metadata' => false,
'platformPaymentConfiguration' => false,
Expand Down Expand Up @@ -175,7 +172,6 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $attributeMap = [
'accountHolderId' => 'accountHolderId',
'defaultCurrencyCode' => 'defaultCurrencyCode',
'description' => 'description',
'metadata' => 'metadata',
'platformPaymentConfiguration' => 'platformPaymentConfiguration',
Expand All @@ -191,7 +187,6 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $setters = [
'accountHolderId' => 'setAccountHolderId',
'defaultCurrencyCode' => 'setDefaultCurrencyCode',
'description' => 'setDescription',
'metadata' => 'setMetadata',
'platformPaymentConfiguration' => 'setPlatformPaymentConfiguration',
Expand All @@ -207,7 +202,6 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $getters = [
'accountHolderId' => 'getAccountHolderId',
'defaultCurrencyCode' => 'getDefaultCurrencyCode',
'description' => 'getDescription',
'metadata' => 'getMetadata',
'platformPaymentConfiguration' => 'getPlatformPaymentConfiguration',
Expand Down Expand Up @@ -292,7 +286,6 @@ public function getStatusAllowableValues()
public function __construct(array $data = null)
{
$this->setIfExists('accountHolderId', $data ?? [], null);
$this->setIfExists('defaultCurrencyCode', $data ?? [], null);
$this->setIfExists('description', $data ?? [], null);
$this->setIfExists('metadata', $data ?? [], null);
$this->setIfExists('platformPaymentConfiguration', $data ?? [], null);
Expand Down Expand Up @@ -379,33 +372,6 @@ public function setAccountHolderId($accountHolderId)
return $this;
}

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

/**
* Sets defaultCurrencyCode
*
* @param string|null $defaultCurrencyCode The default currency code of this balance account, in three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) format. The default value is **EUR**.
*
* @return self
*/
public function setDefaultCurrencyCode($defaultCurrencyCode)
{
if (is_null($defaultCurrencyCode)) {
throw new \InvalidArgumentException('non-nullable defaultCurrencyCode cannot be null');
}
$this->container['defaultCurrencyCode'] = $defaultCurrencyCode;

return $this;
}

/**
* Gets description
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class BankAccountAccountIdentification implements ModelInterface, ArrayAccess, \
'transitNumber' => 'string',
'clearingCode' => 'string',
'iban' => 'string',
'accountSuffix' => 'string',
'additionalBankIdentification' => '\Adyen\Model\BalancePlatform\AdditionalBankIdentification',
'bic' => 'string',
'clearingNumber' => 'string',
Expand All @@ -81,7 +80,6 @@ class BankAccountAccountIdentification implements ModelInterface, ArrayAccess, \
'transitNumber' => null,
'clearingCode' => null,
'iban' => null,
'accountSuffix' => null,
'additionalBankIdentification' => null,
'bic' => null,
'clearingNumber' => null,
Expand All @@ -105,7 +103,6 @@ class BankAccountAccountIdentification implements ModelInterface, ArrayAccess, \
'transitNumber' => false,
'clearingCode' => false,
'iban' => false,
'accountSuffix' => false,
'additionalBankIdentification' => false,
'bic' => false,
'clearingNumber' => false,
Expand Down Expand Up @@ -209,7 +206,6 @@ public function isNullableSetToNull(string $property): bool
'transitNumber' => 'transitNumber',
'clearingCode' => 'clearingCode',
'iban' => 'iban',
'accountSuffix' => 'accountSuffix',
'additionalBankIdentification' => 'additionalBankIdentification',
'bic' => 'bic',
'clearingNumber' => 'clearingNumber',
Expand All @@ -233,7 +229,6 @@ public function isNullableSetToNull(string $property): bool
'transitNumber' => 'setTransitNumber',
'clearingCode' => 'setClearingCode',
'iban' => 'setIban',
'accountSuffix' => 'setAccountSuffix',
'additionalBankIdentification' => 'setAdditionalBankIdentification',
'bic' => 'setBic',
'clearingNumber' => 'setClearingNumber',
Expand All @@ -257,7 +252,6 @@ public function isNullableSetToNull(string $property): bool
'transitNumber' => 'getTransitNumber',
'clearingCode' => 'getClearingCode',
'iban' => 'getIban',
'accountSuffix' => 'getAccountSuffix',
'additionalBankIdentification' => 'getAdditionalBankIdentification',
'bic' => 'getBic',
'clearingNumber' => 'getClearingNumber',
Expand Down Expand Up @@ -331,7 +325,6 @@ public function __construct(array $data = null)
$this->setIfExists('transitNumber', $data ?? [], null);
$this->setIfExists('clearingCode', $data ?? [], null);
$this->setIfExists('iban', $data ?? [], null);
$this->setIfExists('accountSuffix', $data ?? [], null);
$this->setIfExists('additionalBankIdentification', $data ?? [], null);
$this->setIfExists('bic', $data ?? [], null);
$this->setIfExists('clearingNumber', $data ?? [], null);
Expand Down Expand Up @@ -395,9 +388,6 @@ public function listInvalidProperties()
if ($this->container['iban'] === null) {
$invalidProperties[] = "'iban' can't be null";
}
if ($this->container['accountSuffix'] === null) {
$invalidProperties[] = "'accountSuffix' can't be null";
}
if ($this->container['bic'] === null) {
$invalidProperties[] = "'bic' can't be null";
}
Expand Down Expand Up @@ -519,7 +509,7 @@ public function getBankCode()
/**
* Sets bankCode
*
* @param string $bankCode The 6-digit bank code including the 2-digit bank code and 4-digit branch code, without separators or whitespace.
* @param string $bankCode The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
*
* @return self
*/
Expand Down Expand Up @@ -695,33 +685,6 @@ public function setIban($iban)
return $this;
}

/**
* Gets accountSuffix
*
* @return string
*/
public function getAccountSuffix()
{
return $this->container['accountSuffix'];
}

/**
* Sets accountSuffix
*
* @param string $accountSuffix The 2- to 3-digit account suffix, without separators or whitespace.
*
* @return self
*/
public function setAccountSuffix($accountSuffix)
{
if (is_null($accountSuffix)) {
throw new \InvalidArgumentException('non-nullable accountSuffix cannot be null');
}
$this->container['accountSuffix'] = $accountSuffix;

return $this;
}

/**
* Gets additionalBankIdentification
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class BankAccountIdentificationValidationRequestAccountIdentification implements
'transitNumber' => 'string',
'clearingCode' => 'string',
'iban' => 'string',
'accountSuffix' => 'string',
'additionalBankIdentification' => '\Adyen\Model\BalancePlatform\AdditionalBankIdentification',
'bic' => 'string',
'clearingNumber' => 'string',
Expand All @@ -81,7 +80,6 @@ class BankAccountIdentificationValidationRequestAccountIdentification implements
'transitNumber' => null,
'clearingCode' => null,
'iban' => null,
'accountSuffix' => null,
'additionalBankIdentification' => null,
'bic' => null,
'clearingNumber' => null,
Expand All @@ -105,7 +103,6 @@ class BankAccountIdentificationValidationRequestAccountIdentification implements
'transitNumber' => false,
'clearingCode' => false,
'iban' => false,
'accountSuffix' => false,
'additionalBankIdentification' => false,
'bic' => false,
'clearingNumber' => false,
Expand Down Expand Up @@ -209,7 +206,6 @@ public function isNullableSetToNull(string $property): bool
'transitNumber' => 'transitNumber',
'clearingCode' => 'clearingCode',
'iban' => 'iban',
'accountSuffix' => 'accountSuffix',
'additionalBankIdentification' => 'additionalBankIdentification',
'bic' => 'bic',
'clearingNumber' => 'clearingNumber',
Expand All @@ -233,7 +229,6 @@ public function isNullableSetToNull(string $property): bool
'transitNumber' => 'setTransitNumber',
'clearingCode' => 'setClearingCode',
'iban' => 'setIban',
'accountSuffix' => 'setAccountSuffix',
'additionalBankIdentification' => 'setAdditionalBankIdentification',
'bic' => 'setBic',
'clearingNumber' => 'setClearingNumber',
Expand All @@ -257,7 +252,6 @@ public function isNullableSetToNull(string $property): bool
'transitNumber' => 'getTransitNumber',
'clearingCode' => 'getClearingCode',
'iban' => 'getIban',
'accountSuffix' => 'getAccountSuffix',
'additionalBankIdentification' => 'getAdditionalBankIdentification',
'bic' => 'getBic',
'clearingNumber' => 'getClearingNumber',
Expand Down Expand Up @@ -331,7 +325,6 @@ public function __construct(array $data = null)
$this->setIfExists('transitNumber', $data ?? [], null);
$this->setIfExists('clearingCode', $data ?? [], null);
$this->setIfExists('iban', $data ?? [], null);
$this->setIfExists('accountSuffix', $data ?? [], null);
$this->setIfExists('additionalBankIdentification', $data ?? [], null);
$this->setIfExists('bic', $data ?? [], null);
$this->setIfExists('clearingNumber', $data ?? [], null);
Expand Down Expand Up @@ -395,9 +388,6 @@ public function listInvalidProperties()
if ($this->container['iban'] === null) {
$invalidProperties[] = "'iban' can't be null";
}
if ($this->container['accountSuffix'] === null) {
$invalidProperties[] = "'accountSuffix' can't be null";
}
if ($this->container['bic'] === null) {
$invalidProperties[] = "'bic' can't be null";
}
Expand Down Expand Up @@ -519,7 +509,7 @@ public function getBankCode()
/**
* Sets bankCode
*
* @param string $bankCode The 6-digit bank code including the 2-digit bank code and 4-digit branch code, without separators or whitespace.
* @param string $bankCode The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
*
* @return self
*/
Expand Down Expand Up @@ -695,33 +685,6 @@ public function setIban($iban)
return $this;
}

/**
* Gets accountSuffix
*
* @return string
*/
public function getAccountSuffix()
{
return $this->container['accountSuffix'];
}

/**
* Sets accountSuffix
*
* @param string $accountSuffix The 2- to 3-digit account suffix, without separators or whitespace.
*
* @return self
*/
public function setAccountSuffix($accountSuffix)
{
if (is_null($accountSuffix)) {
throw new \InvalidArgumentException('non-nullable accountSuffix cannot be null');
}
$this->container['accountSuffix'] = $accountSuffix;

return $this;
}

/**
* Gets additionalBankIdentification
*
Expand Down
Loading

0 comments on commit a8a90c7

Please sign in to comment.