Skip to content

Commit

Permalink
Update all services (#631)
Browse files Browse the repository at this point in the history
* [reformat][adyen-sdk-automation] automated change

* style(fmt): code formatted

---------

Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]>
  • Loading branch information
AdyenAutomationBot and AdyenAutomationBot authored Mar 7, 2024
1 parent ae60720 commit 00fe206
Show file tree
Hide file tree
Showing 130 changed files with 14,994 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function getFormFactor()
/**
* Sets formFactor
*
* @param string|null $formFactor The form factor of bank account.
* @param string|null $formFactor The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
*
* @return self
*/
Expand Down
34 changes: 34 additions & 0 deletions src/Adyen/Model/BalancePlatform/PaymentInstrument.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class PaymentInstrument implements ModelInterface, ArrayAccess, \JsonSerializabl
* @var string[]
*/
protected static $openAPITypes = [
'additionalBankAccountIdentifications' => '\Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]',
'balanceAccountId' => 'string',
'bankAccount' => '\Adyen\Model\BalancePlatform\PaymentInstrumentBankAccount',
'card' => '\Adyen\Model\BalancePlatform\Card',
Expand All @@ -65,6 +66,7 @@ class PaymentInstrument implements ModelInterface, ArrayAccess, \JsonSerializabl
* @psalm-var array<string, string|null>
*/
protected static $openAPIFormats = [
'additionalBankAccountIdentifications' => null,
'balanceAccountId' => null,
'bankAccount' => null,
'card' => null,
Expand All @@ -84,6 +86,7 @@ class PaymentInstrument implements ModelInterface, ArrayAccess, \JsonSerializabl
* @var boolean[]
*/
protected static $openAPINullables = [
'additionalBankAccountIdentifications' => false,
'balanceAccountId' => false,
'bankAccount' => false,
'card' => false,
Expand Down Expand Up @@ -183,6 +186,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $attributeMap = [
'additionalBankAccountIdentifications' => 'additionalBankAccountIdentifications',
'balanceAccountId' => 'balanceAccountId',
'bankAccount' => 'bankAccount',
'card' => 'card',
Expand All @@ -202,6 +206,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $setters = [
'additionalBankAccountIdentifications' => 'setAdditionalBankAccountIdentifications',
'balanceAccountId' => 'setBalanceAccountId',
'bankAccount' => 'setBankAccount',
'card' => 'setCard',
Expand All @@ -221,6 +226,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $getters = [
'additionalBankAccountIdentifications' => 'getAdditionalBankAccountIdentifications',
'balanceAccountId' => 'getBalanceAccountId',
'bankAccount' => 'getBankAccount',
'card' => 'getCard',
Expand Down Expand Up @@ -351,6 +357,7 @@ public function getTypeAllowableValues()
*/
public function __construct(array $data = null)
{
$this->setIfExists('additionalBankAccountIdentifications', $data ?? [], null);
$this->setIfExists('balanceAccountId', $data ?? [], null);
$this->setIfExists('bankAccount', $data ?? [], null);
$this->setIfExists('card', $data ?? [], null);
Expand Down Expand Up @@ -445,6 +452,33 @@ public function valid()
}


/**
* Gets additionalBankAccountIdentifications
*
* @return \Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]|null
*/
public function getAdditionalBankAccountIdentifications()
{
return $this->container['additionalBankAccountIdentifications'];
}

/**
* Sets additionalBankAccountIdentifications
*
* @param \Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]|null $additionalBankAccountIdentifications Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.
*
* @return self
*/
public function setAdditionalBankAccountIdentifications($additionalBankAccountIdentifications)
{
if (is_null($additionalBankAccountIdentifications)) {
throw new \InvalidArgumentException('non-nullable additionalBankAccountIdentifications cannot be null');
}
$this->container['additionalBankAccountIdentifications'] = $additionalBankAccountIdentifications;

return $this;
}

/**
* Gets balanceAccountId
*
Expand Down
Loading

0 comments on commit 00fe206

Please sign in to comment.