Skip to content

Commit 741231f

Browse files
[payment] Automated update from Adyen/adyen-openapi@a0b1ce6
1 parent eb19e8c commit 741231f

File tree

10 files changed

+451
-10
lines changed

10 files changed

+451
-10
lines changed

src/Adyen/Model/Payments/AdditionalDataLevel23.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public function getEnhancedSchemeDataItemDetailLineItemNrCommodityCode()
542542
/**
543543
* Sets enhancedSchemeDataItemDetailLineItemNrCommodityCode
544544
*
545-
* @param string|null $enhancedSchemeDataItemDetailLineItemNrCommodityCode The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.unspsc.org/) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros.
545+
* @param string|null $enhancedSchemeDataItemDetailLineItemNrCommodityCode The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.ungm.org/public/unspsc) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros.
546546
*
547547
* @return self
548548
*/
@@ -782,7 +782,7 @@ public function getEnhancedSchemeDataTotalTaxAmount()
782782
/**
783783
* Sets enhancedSchemeDataTotalTaxAmount
784784
*
785-
* @param string|null $enhancedSchemeDataTotalTaxAmount The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros.
785+
* @param string|null $enhancedSchemeDataTotalTaxAmount The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * For L2 data: must not be all zeroes. * For L3 data: can be zero.
786786
*
787787
* @return self
788788
*/

src/Adyen/Model/Payments/AdditionalDataSubMerchant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ public function getSubMerchantSubSellerSubSellerNrPhoneNumber()
531531
/**
532532
* Sets subMerchantSubSellerSubSellerNrPhoneNumber
533533
*
534-
* @param string|null $subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
534+
* @param string|null $subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
535535
*
536536
* @return self
537537
*/

src/Adyen/Model/Payments/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/Payments/PaymentRequest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ public function getModelName()
534534
public const ENTITY_TYPE_COMPANY_NAME = 'CompanyName';
535535
public const FUNDING_SOURCE_CREDIT = 'credit';
536536
public const FUNDING_SOURCE_DEBIT = 'debit';
537+
public const FUNDING_SOURCE_PREPAID = 'prepaid';
537538
public const RECURRING_PROCESSING_MODEL_CARD_ON_FILE = 'CardOnFile';
538539
public const RECURRING_PROCESSING_MODEL_SUBSCRIPTION = 'Subscription';
539540
public const RECURRING_PROCESSING_MODEL_UNSCHEDULED_CARD_ON_FILE = 'UnscheduledCardOnFile';
@@ -564,6 +565,7 @@ public function getFundingSourceAllowableValues()
564565
return [
565566
self::FUNDING_SOURCE_CREDIT,
566567
self::FUNDING_SOURCE_DEBIT,
568+
self::FUNDING_SOURCE_PREPAID,
567569
];
568570
}
569571
/**
@@ -1288,7 +1290,7 @@ public function getLocalizedShopperStatement()
12881290
/**
12891291
* Sets localizedShopperStatement
12901292
*
1291-
* @param array<string,string>|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters.
1293+
* @param array<string,string>|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric.
12921294
*
12931295
* @return self
12941296
*/

src/Adyen/Model/Payments/PaymentRequest3d.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ public function getLocalizedShopperStatement()
10151015
/**
10161016
* Sets localizedShopperStatement
10171017
*
1018-
* @param array<string,string>|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters.
1018+
* @param array<string,string>|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric.
10191019
*
10201020
* @return self
10211021
*/

src/Adyen/Model/Payments/PaymentRequest3ds2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ public function getLocalizedShopperStatement()
10151015
/**
10161016
* Sets localizedShopperStatement
10171017
*
1018-
* @param array<string,string>|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters.
1018+
* @param array<string,string>|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric.
10191019
*
10201020
* @return self
10211021
*/

src/Adyen/Model/Payments/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/Payments/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)