Skip to content

Commit 4fe81ef

Browse files
[transfers] Automated update from Adyen/adyen-openapi@a0b1ce6
1 parent eb19e8c commit 4fe81ef

14 files changed

+978
-22
lines changed

src/Adyen/Model/Transfers/Amount.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function getCurrency()
299299
/**
300300
* Sets currency
301301
*
302-
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
302+
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.
303303
*
304304
* @return self
305305
*/
@@ -323,7 +323,7 @@ public function getValue()
323323
/**
324324
* Sets value
325325
*
326-
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
326+
* @param int $value The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
327327
*
328328
* @return self
329329
*/

src/Adyen/Model/Transfers/BankAccountV3.php

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ class BankAccountV3 implements ModelInterface, ArrayAccess, \JsonSerializable
4242
*/
4343
protected static $openAPITypes = [
4444
'accountHolder' => '\Adyen\Model\Transfers\PartyIdentification',
45-
'accountIdentification' => '\Adyen\Model\Transfers\BankAccountV3AccountIdentification'
45+
'accountIdentification' => '\Adyen\Model\Transfers\BankAccountV3AccountIdentification',
46+
'storedPaymentMethodId' => 'string'
4647
];
4748

4849
/**
@@ -54,7 +55,8 @@ class BankAccountV3 implements ModelInterface, ArrayAccess, \JsonSerializable
5455
*/
5556
protected static $openAPIFormats = [
5657
'accountHolder' => null,
57-
'accountIdentification' => null
58+
'accountIdentification' => null,
59+
'storedPaymentMethodId' => null
5860
];
5961

6062
/**
@@ -64,7 +66,8 @@ class BankAccountV3 implements ModelInterface, ArrayAccess, \JsonSerializable
6466
*/
6567
protected static $openAPINullables = [
6668
'accountHolder' => false,
67-
'accountIdentification' => false
69+
'accountIdentification' => false,
70+
'storedPaymentMethodId' => false
6871
];
6972

7073
/**
@@ -154,7 +157,8 @@ public function isNullableSetToNull(string $property): bool
154157
*/
155158
protected static $attributeMap = [
156159
'accountHolder' => 'accountHolder',
157-
'accountIdentification' => 'accountIdentification'
160+
'accountIdentification' => 'accountIdentification',
161+
'storedPaymentMethodId' => 'storedPaymentMethodId'
158162
];
159163

160164
/**
@@ -164,7 +168,8 @@ public function isNullableSetToNull(string $property): bool
164168
*/
165169
protected static $setters = [
166170
'accountHolder' => 'setAccountHolder',
167-
'accountIdentification' => 'setAccountIdentification'
171+
'accountIdentification' => 'setAccountIdentification',
172+
'storedPaymentMethodId' => 'setStoredPaymentMethodId'
168173
];
169174

170175
/**
@@ -174,7 +179,8 @@ public function isNullableSetToNull(string $property): bool
174179
*/
175180
protected static $getters = [
176181
'accountHolder' => 'getAccountHolder',
177-
'accountIdentification' => 'getAccountIdentification'
182+
'accountIdentification' => 'getAccountIdentification',
183+
'storedPaymentMethodId' => 'getStoredPaymentMethodId'
178184
];
179185

180186
/**
@@ -236,6 +242,7 @@ public function __construct(?array $data = null)
236242
{
237243
$this->setIfExists('accountHolder', $data ?? [], null);
238244
$this->setIfExists('accountIdentification', $data ?? [], null);
245+
$this->setIfExists('storedPaymentMethodId', $data ?? [], null);
239246
}
240247

241248
/**
@@ -333,6 +340,30 @@ public function setAccountIdentification($accountIdentification)
333340

334341
return $this;
335342
}
343+
344+
/**
345+
* Gets storedPaymentMethodId
346+
*
347+
* @return string|null
348+
*/
349+
public function getStoredPaymentMethodId()
350+
{
351+
return $this->container['storedPaymentMethodId'];
352+
}
353+
354+
/**
355+
* Sets storedPaymentMethodId
356+
*
357+
* @param string|null $storedPaymentMethodId The unique token that identifies the stored bank account details of the counterparty for a payout.
358+
*
359+
* @return self
360+
*/
361+
public function setStoredPaymentMethodId($storedPaymentMethodId)
362+
{
363+
$this->container['storedPaymentMethodId'] = $storedPaymentMethodId;
364+
365+
return $this;
366+
}
336367
/**
337368
* Returns true if offset exists. False otherwise.
338369
*

src/Adyen/Model/Transfers/BankCategoryData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public function getPriority()
345345
/**
346346
* Sets priority
347347
*
348-
* @param string|null $priority The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).
348+
* @param string|null $priority The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: For normal, low-value transactions. * **fast**: A faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: For instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: For high-value transfers to a recipient in a different country. * **internal**: For transfers to an Adyen-issued business bank account (by bank account number/IBAN).
349349
*
350350
* @return self
351351
*/

src/Adyen/Model/Transfers/ConfirmationTrackingData.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ public function getModelName()
219219
}
220220

221221
public const STATUS_CREDITED = 'credited';
222+
public const STATUS_ACCEPTED = 'accepted';
222223
public const TYPE_CONFIRMATION = 'confirmation';
223224

224225
/**
@@ -230,6 +231,7 @@ public function getStatusAllowableValues()
230231
{
231232
return [
232233
self::STATUS_CREDITED,
234+
self::STATUS_ACCEPTED,
233235
];
234236
}
235237
/**
@@ -341,7 +343,7 @@ public function getStatus()
341343
/**
342344
* Sets status
343345
*
344-
* @param string $status The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account.
346+
* @param string $status The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account.- **accepted**: the request is accepted by the integration.
345347
*
346348
* @return self
347349
*/

0 commit comments

Comments
 (0)