Skip to content

Commit

Permalink
[create-pull-request] automated change (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored Nov 27, 2023
1 parent ea322a9 commit 7bc1ac4
Show file tree
Hide file tree
Showing 5 changed files with 626 additions and 9 deletions.
46 changes: 40 additions & 6 deletions src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'primaryBalanceAccount' => 'string',
'reference' => 'string',
'status' => 'string',
'timeZone' => 'string'
'timeZone' => 'string',
'verificationDeadlines' => '\Adyen\Model\ConfigurationWebhooks\VerificationDeadline[]'
];

/**
Expand All @@ -77,7 +78,8 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'primaryBalanceAccount' => null,
'reference' => null,
'status' => null,
'timeZone' => null
'timeZone' => null,
'verificationDeadlines' => null
];

/**
Expand All @@ -97,7 +99,8 @@ class AccountHolder implements ModelInterface, ArrayAccess, \JsonSerializable
'primaryBalanceAccount' => false,
'reference' => false,
'status' => false,
'timeZone' => false
'timeZone' => false,
'verificationDeadlines' => false
];

/**
Expand Down Expand Up @@ -197,7 +200,8 @@ public function isNullableSetToNull(string $property): bool
'primaryBalanceAccount' => 'primaryBalanceAccount',
'reference' => 'reference',
'status' => 'status',
'timeZone' => 'timeZone'
'timeZone' => 'timeZone',
'verificationDeadlines' => 'verificationDeadlines'
];

/**
Expand All @@ -217,7 +221,8 @@ public function isNullableSetToNull(string $property): bool
'primaryBalanceAccount' => 'setPrimaryBalanceAccount',
'reference' => 'setReference',
'status' => 'setStatus',
'timeZone' => 'setTimeZone'
'timeZone' => 'setTimeZone',
'verificationDeadlines' => 'setVerificationDeadlines'
];

/**
Expand All @@ -237,7 +242,8 @@ public function isNullableSetToNull(string $property): bool
'primaryBalanceAccount' => 'getPrimaryBalanceAccount',
'reference' => 'getReference',
'status' => 'getStatus',
'timeZone' => 'getTimeZone'
'timeZone' => 'getTimeZone',
'verificationDeadlines' => 'getVerificationDeadlines'
];

/**
Expand Down Expand Up @@ -327,6 +333,7 @@ public function __construct(array $data = null)
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('status', $data ?? [], null);
$this->setIfExists('timeZone', $data ?? [], null);
$this->setIfExists('verificationDeadlines', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -719,6 +726,33 @@ public function setTimeZone($timeZone)

return $this;
}

/**
* Gets verificationDeadlines
*
* @return \Adyen\Model\ConfigurationWebhooks\VerificationDeadline[]|null
*/
public function getVerificationDeadlines()
{
return $this->container['verificationDeadlines'];
}

/**
* Sets verificationDeadlines
*
* @param \Adyen\Model\ConfigurationWebhooks\VerificationDeadline[]|null $verificationDeadlines List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.
*
* @return self
*/
public function setVerificationDeadlines($verificationDeadlines)
{
if (is_null($verificationDeadlines)) {
throw new \InvalidArgumentException('non-nullable verificationDeadlines cannot be null');
}
$this->container['verificationDeadlines'] = $verificationDeadlines;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,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
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public function getSalesDayClosingTime()
/**
* Sets salesDayClosingTime
*
* @param string|null $salesDayClosingTime Specifies at what time a [sales day](https://docs.adyen.com/marketplaces-and-platforms/receive-funds/sales-day-settlement#sales-day) ends. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**.
* @param string|null $salesDayClosingTime Specifies at what time a [sales day](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/sales-day-settlement#sales-day) ends. Possible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\"00:00\"**.
*
* @return self
*/
Expand All @@ -323,7 +323,7 @@ public function getSettlementDelayDays()
/**
* Sets settlementDelayDays
*
* @param int|null $settlementDelayDays Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/marketplaces-and-platforms/receive-funds/sales-day-settlement#settlement-batch) are made available. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables [Sales day settlement](https://docs.adyen.com/marketplaces-and-platforms/receive-funds/sales-day-settlement). * Setting this value to **null** enables [Pass-through settlement](https://docs.adyen.com/marketplaces-and-platforms/receive-funds/pass-through-settlement). Default value: **null**.
* @param int|null $settlementDelayDays Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/sales-day-settlement#settlement-batch) are made available. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables [Sales day settlement](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables [Pass-through settlement](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/pass-through-settlement). Default value: **null**.
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,16 +277,19 @@ public function getModelName()

public const REASON_AMOUNT_LIMIT_EXCEEDED = 'amountLimitExceeded';
public const REASON_APPROVED = 'approved';
public const REASON_BALANCE_ACCOUNT_TEMPORARILY_BLOCKED_BY_TRANSACTION_RULE = 'balanceAccountTemporarilyBlockedByTransactionRule';
public const REASON_COUNTERPARTY_ACCOUNT_BLOCKED = 'counterpartyAccountBlocked';
public const REASON_COUNTERPARTY_ACCOUNT_CLOSED = 'counterpartyAccountClosed';
public const REASON_COUNTERPARTY_ACCOUNT_NOT_FOUND = 'counterpartyAccountNotFound';
public const REASON_COUNTERPARTY_ADDRESS_REQUIRED = 'counterpartyAddressRequired';
public const REASON_COUNTERPARTY_BANK_TIMED_OUT = 'counterpartyBankTimedOut';
public const REASON_COUNTERPARTY_BANK_UNAVAILABLE = 'counterpartyBankUnavailable';
public const REASON_DECLINED_BY_TRANSACTION_RULE = 'declinedByTransactionRule';
public const REASON_ERROR = 'error';
public const REASON_NOT_ENOUGH_BALANCE = 'notEnoughBalance';
public const REASON_REFUSED_BY_COUNTERPARTY_BANK = 'refusedByCounterpartyBank';
public const REASON_ROUTE_NOT_FOUND = 'routeNotFound';
public const REASON_SCA_FAILED = 'scaFailed';
public const REASON_UNKNOWN = 'unknown';
public const STATUS_ACTIVE = 'active';
public const STATUS_INACTIVE = 'inactive';
Expand All @@ -303,16 +306,19 @@ public function getReasonAllowableValues()
return [
self::REASON_AMOUNT_LIMIT_EXCEEDED,
self::REASON_APPROVED,
self::REASON_BALANCE_ACCOUNT_TEMPORARILY_BLOCKED_BY_TRANSACTION_RULE,
self::REASON_COUNTERPARTY_ACCOUNT_BLOCKED,
self::REASON_COUNTERPARTY_ACCOUNT_CLOSED,
self::REASON_COUNTERPARTY_ACCOUNT_NOT_FOUND,
self::REASON_COUNTERPARTY_ADDRESS_REQUIRED,
self::REASON_COUNTERPARTY_BANK_TIMED_OUT,
self::REASON_COUNTERPARTY_BANK_UNAVAILABLE,
self::REASON_DECLINED_BY_TRANSACTION_RULE,
self::REASON_ERROR,
self::REASON_NOT_ENOUGH_BALANCE,
self::REASON_REFUSED_BY_COUNTERPARTY_BANK,
self::REASON_ROUTE_NOT_FOUND,
self::REASON_SCA_FAILED,
self::REASON_UNKNOWN,
];
}
Expand Down
Loading

0 comments on commit 7bc1ac4

Please sign in to comment.