You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -253,8 +255,10 @@ public function getContractAllowableValues()
253
255
{
254
256
return [
255
257
self::CONTRACT_ONECLICK,
258
+
self::CONTRACT_ONECLICKRECURRING,
256
259
self::CONTRACT_RECURRING,
257
260
self::CONTRACT_PAYOUT,
261
+
self::CONTRACT_EXTERNAL,
258
262
];
259
263
}
260
264
/**
@@ -366,7 +370,7 @@ public function getContract()
366
370
/**
367
371
* Sets contract
368
372
*
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.
Copy file name to clipboardExpand all lines: src/Adyen/Model/Checkout/AdditionalDataLevel23.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -782,7 +782,7 @@ public function getEnhancedSchemeDataTotalTaxAmount()
782
782
/**
783
783
* Sets enhancedSchemeDataTotalTaxAmount
784
784
*
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.
Copy file name to clipboardExpand all lines: src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -531,7 +531,7 @@ public function getSubMerchantSubSellerSubSellerNrPhoneNumber()
531
531
/**
532
532
* Sets subMerchantSubSellerSubSellerNrPhoneNumber
533
533
*
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
Copy file name to clipboardExpand all lines: src/Adyen/Model/Checkout/CardDetailsRequest.php
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -286,9 +286,6 @@ public function listInvalidProperties()
286
286
{
287
287
$invalidProperties = [];
288
288
289
-
if ($this->container['cardNumber'] === null) {
290
-
$invalidProperties[] = "'cardNumber' can't be null";
291
-
}
292
289
if ($this->container['merchantAccount'] === null) {
293
290
$invalidProperties[] = "'merchantAccount' can't be null";
294
291
}
@@ -310,7 +307,7 @@ public function valid()
310
307
/**
311
308
* Gets cardNumber
312
309
*
313
-
* @return string
310
+
* @return string|null
314
311
*/
315
312
publicfunctiongetCardNumber()
316
313
{
@@ -320,7 +317,7 @@ public function getCardNumber()
320
317
/**
321
318
* Sets cardNumber
322
319
*
323
-
* @param string $cardNumber A minimum of the first eight digits of the card number. The full card number gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. Alternatively, you can use the `encryptedCardNumber` field.
320
+
* @param string|null $cardNumber A minimum of the first six digits of the card number. The full card number gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. Alternatively, you can use the `encryptedCardNumber` field.
0 commit comments