diff --git a/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java b/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java index ca0228215..89ec8e856 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java @@ -55,14 +55,14 @@ public class PlatformPayment { * Adyen's commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under * [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked * to your user after the deduction of the relevant fees. * **Commission**: Your platform's or - * marketplace's commission on a transaction. * **DCCPlatformCommission**: The Dynamic - * Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee - * paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all - * transaction fees. * **Remainder**: The leftover amount after currency conversion. * - * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by - * the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An - * incoming transfer to top up your user's balance account. * **VAT**: The value-added tax - * charged on the payment. + * marketplace's commission on a transaction. * **DCCPlatformCommission**: **deprecated** The + * Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency + * Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the + * issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction + * fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The + * scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a + * transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top + * up your user's balance account. * **VAT**: The value-added tax charged on the payment. */ public enum PlatformPaymentTypeEnum { ACQUIRINGFEES(String.valueOf("AcquiringFees")), @@ -79,6 +79,8 @@ public enum PlatformPaymentTypeEnum { COMMISSION(String.valueOf("Commission")), + DCCMARKUP(String.valueOf("DCCMarkup")), + DCCPLATFORMCOMMISSION(String.valueOf("DCCPlatformCommission")), DEFAULT(String.valueOf("Default")), @@ -300,14 +302,14 @@ public void setPaymentMerchantReference(String paymentMerchantReference) { * Adyen's commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under * [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked * to your user after the deduction of the relevant fees. * **Commission**: Your platform's or - * marketplace's commission on a transaction. * **DCCPlatformCommission**: The Dynamic - * Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee - * paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all - * transaction fees. * **Remainder**: The leftover amount after currency conversion. * - * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by - * the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An - * incoming transfer to top up your user's balance account. * **VAT**: The value-added tax - * charged on the payment. + * marketplace's commission on a transaction. * **DCCPlatformCommission**: **deprecated** The + * Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency + * Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the + * issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction + * fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The + * scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a + * transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top + * up your user's balance account. * **VAT**: The value-added tax charged on the payment. * * @param platformPaymentType Specifies the nature of the transfer. This parameter helps * categorize transfers so you can reconcile transactions at a later time, using the Balance @@ -324,7 +326,8 @@ public void setPaymentMerchantReference(String paymentMerchantReference) { * under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The * amount booked to your user after the deduction of the relevant fees. * **Commission**: Your * platform's or marketplace's commission on a transaction. * - * **DCCPlatformCommission**: The Dynamic Currency Conversion (DCC) fee on a transaction. * + * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a + * transaction. * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction. * * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction. * * **PaymentFee**: The aggregated amount of all transaction fees. * **Remainder**: The * leftover amount after currency conversion. * **SchemeFee**: The scheme fee incurred on a @@ -352,14 +355,14 @@ public PlatformPayment platformPaymentType(PlatformPaymentTypeEnum platformPayme * Adyen's commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under * [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked * to your user after the deduction of the relevant fees. * **Commission**: Your platform's or - * marketplace's commission on a transaction. * **DCCPlatformCommission**: The Dynamic - * Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee - * paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all - * transaction fees. * **Remainder**: The leftover amount after currency conversion. * - * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by - * the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An - * incoming transfer to top up your user's balance account. * **VAT**: The value-added tax - * charged on the payment. + * marketplace's commission on a transaction. * **DCCPlatformCommission**: **deprecated** The + * Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency + * Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the + * issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction + * fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The + * scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a + * transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top + * up your user's balance account. * **VAT**: The value-added tax charged on the payment. * * @return platformPaymentType Specifies the nature of the transfer. This parameter helps * categorize transfers so you can reconcile transactions at a later time, using the Balance @@ -376,7 +379,8 @@ public PlatformPayment platformPaymentType(PlatformPaymentTypeEnum platformPayme * under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The * amount booked to your user after the deduction of the relevant fees. * **Commission**: Your * platform's or marketplace's commission on a transaction. * - * **DCCPlatformCommission**: The Dynamic Currency Conversion (DCC) fee on a transaction. * + * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a + * transaction. * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction. * * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction. * * **PaymentFee**: The aggregated amount of all transaction fees. * **Remainder**: The * leftover amount after currency conversion. * **SchemeFee**: The scheme fee incurred on a @@ -404,14 +408,14 @@ public PlatformPaymentTypeEnum getPlatformPaymentType() { * Adyen's commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under * [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked * to your user after the deduction of the relevant fees. * **Commission**: Your platform's or - * marketplace's commission on a transaction. * **DCCPlatformCommission**: The Dynamic - * Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee - * paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all - * transaction fees. * **Remainder**: The leftover amount after currency conversion. * - * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by - * the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An - * incoming transfer to top up your user's balance account. * **VAT**: The value-added tax - * charged on the payment. + * marketplace's commission on a transaction. * **DCCPlatformCommission**: **deprecated** The + * Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency + * Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the + * issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction + * fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The + * scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a + * transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top + * up your user's balance account. * **VAT**: The value-added tax charged on the payment. * * @param platformPaymentType Specifies the nature of the transfer. This parameter helps * categorize transfers so you can reconcile transactions at a later time, using the Balance @@ -428,7 +432,8 @@ public PlatformPaymentTypeEnum getPlatformPaymentType() { * under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The * amount booked to your user after the deduction of the relevant fees. * **Commission**: Your * platform's or marketplace's commission on a transaction. * - * **DCCPlatformCommission**: The Dynamic Currency Conversion (DCC) fee on a transaction. * + * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a + * transaction. * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction. * * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction. * * **PaymentFee**: The aggregated amount of all transaction fees. * **Remainder**: The * leftover amount after currency conversion. * **SchemeFee**: The scheme fee incurred on a diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferData.java b/src/main/java/com/adyen/model/transferwebhooks/TransferData.java index 180fe69ce..12fa08cd2 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferData.java @@ -224,9 +224,31 @@ public enum ReasonEnum { APPROVED(String.valueOf("approved")), + AVSDECLINED(String.valueOf("avsDeclined")), + BALANCEACCOUNTTEMPORARILYBLOCKEDBYTRANSACTIONRULE( String.valueOf("balanceAccountTemporarilyBlockedByTransactionRule")), + BLOCKCARD(String.valueOf("blockCard")), + + CALLREFERRAL(String.valueOf("callReferral")), + + CANCELLED(String.valueOf("cancelled")), + + CAPTURECARD(String.valueOf("captureCard")), + + CARDEXPIRED(String.valueOf("cardExpired")), + + CARDHOLDERAUTHENTICATIONREQUIRED(String.valueOf("cardholderAuthenticationRequired")), + + CASHBACKAMOUNTEXCEEDSLIMIT(String.valueOf("cashbackAmountExceedsLimit")), + + CAVVDECLINED(String.valueOf("cavvDeclined")), + + CONTACTLESSFALLBACK(String.valueOf("contactlessFallback")), + + CONTACTLESSLIMITREACHED(String.valueOf("contactlessLimitReached")), + COUNTERPARTYACCOUNTBLOCKED(String.valueOf("counterpartyAccountBlocked")), COUNTERPARTYACCOUNTCLOSED(String.valueOf("counterpartyAccountClosed")), @@ -239,35 +261,131 @@ public enum ReasonEnum { COUNTERPARTYBANKUNAVAILABLE(String.valueOf("counterpartyBankUnavailable")), + CRYPTOGRAPHICFAILURE(String.valueOf("cryptographicFailure")), + + CVCDECLINED(String.valueOf("cvcDeclined")), + DECLINED(String.valueOf("declined")), + DECLINEDBYBAPVALIDATION(String.valueOf("declinedByBapValidation")), + DECLINEDBYTRANSACTIONRULE(String.valueOf("declinedByTransactionRule")), + DECLINEDNONGENERIC(String.valueOf("declinedNonGeneric")), + DIRECTDEBITNOTSUPPORTED(String.valueOf("directDebitNotSupported")), + DONOTHONOR(String.valueOf("doNotHonor")), + + DOMESTICDEBITTRANSACTIONNOTALLOWED(String.valueOf("domesticDebitTransactionNotAllowed")), + + DUPLICATETRANSMISSIONDETECTED(String.valueOf("duplicateTransmissionDetected")), + ERROR(String.valueOf("error")), + FORMATERROR(String.valueOf("formatError")), + + FRAUD(String.valueOf("fraud")), + + FRAUDCANCELLED(String.valueOf("fraudCancelled")), + + HONORWITHID(String.valueOf("honorWithId")), + + INTERNALTIMEOUT(String.valueOf("internalTimeout")), + + INVALIDACCOUNT(String.valueOf("invalidAccount")), + + INVALIDAMOUNT(String.valueOf("invalidAmount")), + + INVALIDAUTHORIZATIONLIFECYCLE(String.valueOf("invalidAuthorizationLifeCycle")), + + INVALIDCARD(String.valueOf("invalidCard")), + + INVALIDEXPIRYDATE(String.valueOf("invalidExpiryDate")), + + INVALIDFROMACCOUNT(String.valueOf("invalidFromAccount")), + + INVALIDISSUER(String.valueOf("invalidIssuer")), + + INVALIDMERCHANT(String.valueOf("invalidMerchant")), + + INVALIDPIN(String.valueOf("invalidPin")), + + INVALIDTOACCOUNT(String.valueOf("invalidToAccount")), + + INVALIDTRANSACTION(String.valueOf("invalidTransaction")), + + ISSUERSUSPECTEDFRAUD(String.valueOf("issuerSuspectedFraud")), + + LOSTCARD(String.valueOf("lostCard")), + + MOBILEPINREQUIRED(String.valueOf("mobilePinRequired")), + + NOCHECKINGACCOUNT(String.valueOf("noCheckingAccount")), + + NOSAVINGSACCOUNT(String.valueOf("noSavingsAccount")), + + NOT3DAUTHENTICATED(String.valueOf("not3dAuthenticated")), + NOTENOUGHBALANCE(String.valueOf("notEnoughBalance")), + NOTSUBMITTED(String.valueOf("notSubmitted")), + + NOTSUPPORTED(String.valueOf("notSupported")), + + PARTIALLYAPPROVED(String.valueOf("partiallyApproved")), + PENDING(String.valueOf("pending")), PENDINGAPPROVAL(String.valueOf("pendingApproval")), PENDINGEXECUTION(String.valueOf("pendingExecution")), + PINNOTCHANGED(String.valueOf("pinNotChanged")), + + PINREQUIRED(String.valueOf("pinRequired")), + + PINTRIESEXCEEDED(String.valueOf("pinTriesExceeded")), + + PINVALIDATIONNOTPOSSIBLE(String.valueOf("pinValidationNotPossible")), + + PURCHASEAMOUNTONLYNOCASHBACK(String.valueOf("purchaseAmountOnlyNoCashBack")), + REFUSEDBYCOUNTERPARTYBANK(String.valueOf("refusedByCounterpartyBank")), REFUSEDBYCUSTOMER(String.valueOf("refusedByCustomer")), + RESTRICTEDCARD(String.valueOf("restrictedCard")), + + REVOCATIONOFAUTH(String.valueOf("revocationOfAuth")), + ROUTENOTFOUND(String.valueOf("routeNotFound")), + SCAAUTHENTICATIONREQUIRED(String.valueOf("scaAuthenticationRequired")), + SCAFAILED(String.valueOf("scaFailed")), SCHEMEADVICE(String.valueOf("schemeAdvice")), + SECURITYVIOLATION(String.valueOf("securityViolation")), + + SHOPPERCANCELLED(String.valueOf("shopperCancelled")), + + STOLENCARD(String.valueOf("stolenCard")), + + THREEDSDYNAMICLINKINGMISMATCH(String.valueOf("threedsDynamicLinkingMismatch")), + + TRANSACTIONNOTPERMITTED(String.valueOf("transactionNotPermitted")), + TRANSFERINSTRUMENTDOESNOTEXIST(String.valueOf("transferInstrumentDoesNotExist")), - UNKNOWN(String.valueOf("unknown")); + UNABLETOROUTETRANSACTION(String.valueOf("unableToRouteTransaction")), + + UNKNOWN(String.valueOf("unknown")), + + WITHDRAWALAMOUNTEXCEEDED(String.valueOf("withdrawalAmountExceeded")), + + WITHDRAWALCOUNTEXCEEDED(String.valueOf("withdrawalCountExceeded")); private static final Logger LOG = Logger.getLogger(ReasonEnum.class.getName()); diff --git a/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java b/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java index f14b86ca7..291448c69 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java +++ b/src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java @@ -89,9 +89,31 @@ public enum ReasonEnum { APPROVED(String.valueOf("approved")), + AVSDECLINED(String.valueOf("avsDeclined")), + BALANCEACCOUNTTEMPORARILYBLOCKEDBYTRANSACTIONRULE( String.valueOf("balanceAccountTemporarilyBlockedByTransactionRule")), + BLOCKCARD(String.valueOf("blockCard")), + + CALLREFERRAL(String.valueOf("callReferral")), + + CANCELLED(String.valueOf("cancelled")), + + CAPTURECARD(String.valueOf("captureCard")), + + CARDEXPIRED(String.valueOf("cardExpired")), + + CARDHOLDERAUTHENTICATIONREQUIRED(String.valueOf("cardholderAuthenticationRequired")), + + CASHBACKAMOUNTEXCEEDSLIMIT(String.valueOf("cashbackAmountExceedsLimit")), + + CAVVDECLINED(String.valueOf("cavvDeclined")), + + CONTACTLESSFALLBACK(String.valueOf("contactlessFallback")), + + CONTACTLESSLIMITREACHED(String.valueOf("contactlessLimitReached")), + COUNTERPARTYACCOUNTBLOCKED(String.valueOf("counterpartyAccountBlocked")), COUNTERPARTYACCOUNTCLOSED(String.valueOf("counterpartyAccountClosed")), @@ -104,35 +126,131 @@ public enum ReasonEnum { COUNTERPARTYBANKUNAVAILABLE(String.valueOf("counterpartyBankUnavailable")), + CRYPTOGRAPHICFAILURE(String.valueOf("cryptographicFailure")), + + CVCDECLINED(String.valueOf("cvcDeclined")), + DECLINED(String.valueOf("declined")), + DECLINEDBYBAPVALIDATION(String.valueOf("declinedByBapValidation")), + DECLINEDBYTRANSACTIONRULE(String.valueOf("declinedByTransactionRule")), + DECLINEDNONGENERIC(String.valueOf("declinedNonGeneric")), + DIRECTDEBITNOTSUPPORTED(String.valueOf("directDebitNotSupported")), + DONOTHONOR(String.valueOf("doNotHonor")), + + DOMESTICDEBITTRANSACTIONNOTALLOWED(String.valueOf("domesticDebitTransactionNotAllowed")), + + DUPLICATETRANSMISSIONDETECTED(String.valueOf("duplicateTransmissionDetected")), + ERROR(String.valueOf("error")), + FORMATERROR(String.valueOf("formatError")), + + FRAUD(String.valueOf("fraud")), + + FRAUDCANCELLED(String.valueOf("fraudCancelled")), + + HONORWITHID(String.valueOf("honorWithId")), + + INTERNALTIMEOUT(String.valueOf("internalTimeout")), + + INVALIDACCOUNT(String.valueOf("invalidAccount")), + + INVALIDAMOUNT(String.valueOf("invalidAmount")), + + INVALIDAUTHORIZATIONLIFECYCLE(String.valueOf("invalidAuthorizationLifeCycle")), + + INVALIDCARD(String.valueOf("invalidCard")), + + INVALIDEXPIRYDATE(String.valueOf("invalidExpiryDate")), + + INVALIDFROMACCOUNT(String.valueOf("invalidFromAccount")), + + INVALIDISSUER(String.valueOf("invalidIssuer")), + + INVALIDMERCHANT(String.valueOf("invalidMerchant")), + + INVALIDPIN(String.valueOf("invalidPin")), + + INVALIDTOACCOUNT(String.valueOf("invalidToAccount")), + + INVALIDTRANSACTION(String.valueOf("invalidTransaction")), + + ISSUERSUSPECTEDFRAUD(String.valueOf("issuerSuspectedFraud")), + + LOSTCARD(String.valueOf("lostCard")), + + MOBILEPINREQUIRED(String.valueOf("mobilePinRequired")), + + NOCHECKINGACCOUNT(String.valueOf("noCheckingAccount")), + + NOSAVINGSACCOUNT(String.valueOf("noSavingsAccount")), + + NOT3DAUTHENTICATED(String.valueOf("not3dAuthenticated")), + NOTENOUGHBALANCE(String.valueOf("notEnoughBalance")), + NOTSUBMITTED(String.valueOf("notSubmitted")), + + NOTSUPPORTED(String.valueOf("notSupported")), + + PARTIALLYAPPROVED(String.valueOf("partiallyApproved")), + PENDING(String.valueOf("pending")), PENDINGAPPROVAL(String.valueOf("pendingApproval")), PENDINGEXECUTION(String.valueOf("pendingExecution")), + PINNOTCHANGED(String.valueOf("pinNotChanged")), + + PINREQUIRED(String.valueOf("pinRequired")), + + PINTRIESEXCEEDED(String.valueOf("pinTriesExceeded")), + + PINVALIDATIONNOTPOSSIBLE(String.valueOf("pinValidationNotPossible")), + + PURCHASEAMOUNTONLYNOCASHBACK(String.valueOf("purchaseAmountOnlyNoCashBack")), + REFUSEDBYCOUNTERPARTYBANK(String.valueOf("refusedByCounterpartyBank")), REFUSEDBYCUSTOMER(String.valueOf("refusedByCustomer")), + RESTRICTEDCARD(String.valueOf("restrictedCard")), + + REVOCATIONOFAUTH(String.valueOf("revocationOfAuth")), + ROUTENOTFOUND(String.valueOf("routeNotFound")), + SCAAUTHENTICATIONREQUIRED(String.valueOf("scaAuthenticationRequired")), + SCAFAILED(String.valueOf("scaFailed")), SCHEMEADVICE(String.valueOf("schemeAdvice")), + SECURITYVIOLATION(String.valueOf("securityViolation")), + + SHOPPERCANCELLED(String.valueOf("shopperCancelled")), + + STOLENCARD(String.valueOf("stolenCard")), + + THREEDSDYNAMICLINKINGMISMATCH(String.valueOf("threedsDynamicLinkingMismatch")), + + TRANSACTIONNOTPERMITTED(String.valueOf("transactionNotPermitted")), + TRANSFERINSTRUMENTDOESNOTEXIST(String.valueOf("transferInstrumentDoesNotExist")), - UNKNOWN(String.valueOf("unknown")); + UNABLETOROUTETRANSACTION(String.valueOf("unableToRouteTransaction")), + + UNKNOWN(String.valueOf("unknown")), + + WITHDRAWALAMOUNTEXCEEDED(String.valueOf("withdrawalAmountExceeded")), + + WITHDRAWALCOUNTEXCEEDED(String.valueOf("withdrawalCountExceeded")); private static final Logger LOG = Logger.getLogger(ReasonEnum.class.getName()); diff --git a/src/test/java/com/adyen/CheckoutTest.java b/src/test/java/com/adyen/CheckoutTest.java index b81e95531..396880cdc 100644 --- a/src/test/java/com/adyen/CheckoutTest.java +++ b/src/test/java/com/adyen/CheckoutTest.java @@ -889,7 +889,7 @@ public void testForwardCardDetails() throws Exception { CheckoutForwardResponse response = recurringApi.forward(checkoutForwardRequest); - assertNull(response.getStoredPaymentMethodId()); // card is not tokenized + assertNull(response.getStoredPaymentMethodId()); // card is not tokenized assertNotNull(response.getResponse()); assertEquals(200, (int) response.getResponse().getStatus()); assertTrue(response.getResponse().getBody().contains("PAYMENT_METHOD_ID"));