Skip to content

Commit 426bffe

Browse files
[payout] Automated update from Adyen/adyen-openapi@0a007ce
1 parent 5e6c419 commit 426bffe

File tree

4 files changed

+442
-3
lines changed

4 files changed

+442
-3
lines changed

src/Adyen/Model/Payout/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/Payout/Recurring.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,10 @@ public function getModelName()
237237
}
238238

239239
public const CONTRACT_ONECLICK = 'ONECLICK';
240+
public const CONTRACT_ONECLICKRECURRING = 'ONECLICK,RECURRING';
240241
public const CONTRACT_RECURRING = 'RECURRING';
241242
public const CONTRACT_PAYOUT = 'PAYOUT';
243+
public const CONTRACT_EXTERNAL = 'EXTERNAL';
242244
public const TOKEN_SERVICE_VISATOKENSERVICE = 'VISATOKENSERVICE';
243245
public const TOKEN_SERVICE_MCTOKENSERVICE = 'MCTOKENSERVICE';
244246
public const TOKEN_SERVICE_AMEXTOKENSERVICE = 'AMEXTOKENSERVICE';
@@ -253,8 +255,10 @@ public function getContractAllowableValues()
253255
{
254256
return [
255257
self::CONTRACT_ONECLICK,
258+
self::CONTRACT_ONECLICKRECURRING,
256259
self::CONTRACT_RECURRING,
257260
self::CONTRACT_PAYOUT,
261+
self::CONTRACT_EXTERNAL,
258262
];
259263
}
260264
/**
@@ -366,7 +370,7 @@ public function getContract()
366370
/**
367371
* Sets contract
368372
*
369-
* @param string|null $contract The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).
373+
* @param string|null $contract The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * `EXTERNAL` - Use this when you store payment details and send the raw card number or network token directly in your API request.
370374
*
371375
* @return self
372376
*/

src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class ResponseAdditionalDataSepa implements ModelInterface, ArrayAccess, \JsonSe
4343
protected static $openAPITypes = [
4444
'sepadirectdebitDateOfSignature' => 'string',
4545
'sepadirectdebitMandateId' => 'string',
46+
'sepadirectdebitSepadirectdebitDueDate' => 'string',
4647
'sepadirectdebitSequenceType' => 'string'
4748
];
4849

@@ -56,6 +57,7 @@ class ResponseAdditionalDataSepa implements ModelInterface, ArrayAccess, \JsonSe
5657
protected static $openAPIFormats = [
5758
'sepadirectdebitDateOfSignature' => null,
5859
'sepadirectdebitMandateId' => null,
60+
'sepadirectdebitSepadirectdebitDueDate' => null,
5961
'sepadirectdebitSequenceType' => null
6062
];
6163

@@ -67,6 +69,7 @@ class ResponseAdditionalDataSepa implements ModelInterface, ArrayAccess, \JsonSe
6769
protected static $openAPINullables = [
6870
'sepadirectdebitDateOfSignature' => false,
6971
'sepadirectdebitMandateId' => false,
72+
'sepadirectdebitSepadirectdebitDueDate' => false,
7073
'sepadirectdebitSequenceType' => false
7174
];
7275

@@ -158,6 +161,7 @@ public function isNullableSetToNull(string $property): bool
158161
protected static $attributeMap = [
159162
'sepadirectdebitDateOfSignature' => 'sepadirectdebit.dateOfSignature',
160163
'sepadirectdebitMandateId' => 'sepadirectdebit.mandateId',
164+
'sepadirectdebitSepadirectdebitDueDate' => 'sepadirectdebit.sepadirectdebit.dueDate',
161165
'sepadirectdebitSequenceType' => 'sepadirectdebit.sequenceType'
162166
];
163167

@@ -169,6 +173,7 @@ public function isNullableSetToNull(string $property): bool
169173
protected static $setters = [
170174
'sepadirectdebitDateOfSignature' => 'setSepadirectdebitDateOfSignature',
171175
'sepadirectdebitMandateId' => 'setSepadirectdebitMandateId',
176+
'sepadirectdebitSepadirectdebitDueDate' => 'setSepadirectdebitSepadirectdebitDueDate',
172177
'sepadirectdebitSequenceType' => 'setSepadirectdebitSequenceType'
173178
];
174179

@@ -180,6 +185,7 @@ public function isNullableSetToNull(string $property): bool
180185
protected static $getters = [
181186
'sepadirectdebitDateOfSignature' => 'getSepadirectdebitDateOfSignature',
182187
'sepadirectdebitMandateId' => 'getSepadirectdebitMandateId',
188+
'sepadirectdebitSepadirectdebitDueDate' => 'getSepadirectdebitSepadirectdebitDueDate',
183189
'sepadirectdebitSequenceType' => 'getSepadirectdebitSequenceType'
184190
];
185191

@@ -242,6 +248,7 @@ public function __construct(?array $data = null)
242248
{
243249
$this->setIfExists('sepadirectdebitDateOfSignature', $data ?? [], null);
244250
$this->setIfExists('sepadirectdebitMandateId', $data ?? [], null);
251+
$this->setIfExists('sepadirectdebitSepadirectdebitDueDate', $data ?? [], null);
245252
$this->setIfExists('sepadirectdebitSequenceType', $data ?? [], null);
246253
}
247254

@@ -335,6 +342,30 @@ public function setSepadirectdebitMandateId($sepadirectdebitMandateId)
335342
return $this;
336343
}
337344

345+
/**
346+
* Gets sepadirectdebitSepadirectdebitDueDate
347+
*
348+
* @return string|null
349+
*/
350+
public function getSepadirectdebitSepadirectdebitDueDate()
351+
{
352+
return $this->container['sepadirectdebitSepadirectdebitDueDate'];
353+
}
354+
355+
/**
356+
* Sets sepadirectdebitSepadirectdebitDueDate
357+
*
358+
* @param string|null $sepadirectdebitSepadirectdebitDueDate The date that the the shopper's bank account is charged.
359+
*
360+
* @return self
361+
*/
362+
public function setSepadirectdebitSepadirectdebitDueDate($sepadirectdebitSepadirectdebitDueDate)
363+
{
364+
$this->container['sepadirectdebitSepadirectdebitDueDate'] = $sepadirectdebitSepadirectdebitDueDate;
365+
366+
return $this;
367+
}
368+
338369
/**
339370
* Gets sepadirectdebitSequenceType
340371
*

0 commit comments

Comments
 (0)