diff --git a/src/main/java/com/adyen/model/management/PaymentMethodResponse.java b/src/main/java/com/adyen/model/management/PaymentMethodResponse.java index f2760c092..a357228f5 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodResponse.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodResponse.java @@ -94,6 +94,8 @@ public enum TypesWithErrorsEnum { BLIK(String.valueOf("blik")), + BR_SCHEMES(String.valueOf("br_schemes")), + CARTEBANCAIRE(String.valueOf("cartebancaire")), CLEARPAY(String.valueOf("clearpay")), diff --git a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java index 7b9eb9ccb..2c4527c64 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java @@ -310,6 +310,8 @@ public enum TypeEnum { BLIK(String.valueOf("blik")), + BR_SCHEMES(String.valueOf("br_schemes")), + CARTEBANCAIRE(String.valueOf("cartebancaire")), CLEARPAY(String.valueOf("clearpay")), diff --git a/src/main/java/com/adyen/model/management/SplitConfigurationRule.java b/src/main/java/com/adyen/model/management/SplitConfigurationRule.java index 7d54a9fc5..d0f1c6212 100644 --- a/src/main/java/com/adyen/model/management/SplitConfigurationRule.java +++ b/src/main/java/com/adyen/model/management/SplitConfigurationRule.java @@ -97,12 +97,12 @@ public static FundingSourceEnum fromValue(String value) { /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. */ public enum ShopperInteractionEnum { ECOMMERCE(String.valueOf("Ecommerce")), @@ -309,20 +309,20 @@ public String getRuleId() { /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. * * @param shopperInteraction The sales channel condition that defines whether the split logic - * applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is - * present. * **ContAuth**: Card on file and/or subscription transactions, where the - * cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and + * applies. Possible values: * **Ecommerce**: online transactions where the cardholder is + * present. * **ContAuth**: card on file and/or subscription transactions, where the + * cardholder is known to the merchant (returning customer). * **Moto**: mail-order and * telephone-order transactions where the customer is in contact with the merchant via email - * or telephone. * **POS**: Point-of-sale transactions where the customer is physically - * present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * or telephone. * **POS**: point-of-sale transactions where the customer is physically + * present to make a payment using a secure payment terminal. * **ANY**: all sales channels. * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining */ public SplitConfigurationRule shopperInteraction(ShopperInteractionEnum shopperInteraction) { @@ -332,20 +332,20 @@ public SplitConfigurationRule shopperInteraction(ShopperInteractionEnum shopperI /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. * * @return shopperInteraction The sales channel condition that defines whether the split logic - * applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is - * present. * **ContAuth**: Card on file and/or subscription transactions, where the - * cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and + * applies. Possible values: * **Ecommerce**: online transactions where the cardholder is + * present. * **ContAuth**: card on file and/or subscription transactions, where the + * cardholder is known to the merchant (returning customer). * **Moto**: mail-order and * telephone-order transactions where the customer is in contact with the merchant via email - * or telephone. * **POS**: Point-of-sale transactions where the customer is physically - * present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * or telephone. * **POS**: point-of-sale transactions where the customer is physically + * present to make a payment using a secure payment terminal. * **ANY**: all sales channels. */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -355,20 +355,20 @@ public ShopperInteractionEnum getShopperInteraction() { /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. * * @param shopperInteraction The sales channel condition that defines whether the split logic - * applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is - * present. * **ContAuth**: Card on file and/or subscription transactions, where the - * cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and + * applies. Possible values: * **Ecommerce**: online transactions where the cardholder is + * present. * **ContAuth**: card on file and/or subscription transactions, where the + * cardholder is known to the merchant (returning customer). * **Moto**: mail-order and * telephone-order transactions where the customer is in contact with the merchant via email - * or telephone. * **POS**: Point-of-sale transactions where the customer is physically - * present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * or telephone. * **POS**: point-of-sale transactions where the customer is physically + * present to make a payment using a secure payment terminal. * **ANY**: all sales channels. */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java index 62af8e983..769508d4c 100644 --- a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java @@ -176,20 +176,20 @@ public void setPaymentMethod(String paymentMethod) { /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. * * @param shopperInteraction The sales channel condition that defines whether the split logic - * applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is - * present. * **ContAuth**: Card on file and/or subscription transactions, where the - * cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and + * applies. Possible values: * **Ecommerce**: online transactions where the cardholder is + * present. * **ContAuth**: card on file and/or subscription transactions, where the + * cardholder is known to the merchant (returning customer). * **Moto**: mail-order and * telephone-order transactions where the customer is in contact with the merchant via email - * or telephone. * **POS**: Point-of-sale transactions where the customer is physically - * present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * or telephone. * **POS**: point-of-sale transactions where the customer is physically + * present to make a payment using a secure payment terminal. * **ANY**: all sales channels. * @return the current {@code UpdateSplitConfigurationRuleRequest} instance, allowing for method * chaining */ @@ -200,20 +200,20 @@ public UpdateSplitConfigurationRuleRequest shopperInteraction(String shopperInte /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. * * @return shopperInteraction The sales channel condition that defines whether the split logic - * applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is - * present. * **ContAuth**: Card on file and/or subscription transactions, where the - * cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and + * applies. Possible values: * **Ecommerce**: online transactions where the cardholder is + * present. * **ContAuth**: card on file and/or subscription transactions, where the + * cardholder is known to the merchant (returning customer). * **Moto**: mail-order and * telephone-order transactions where the customer is in contact with the merchant via email - * or telephone. * **POS**: Point-of-sale transactions where the customer is physically - * present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * or telephone. * **POS**: point-of-sale transactions where the customer is physically + * present to make a payment using a secure payment terminal. * **ANY**: all sales channels. */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -223,20 +223,20 @@ public String getShopperInteraction() { /** * The sales channel condition that defines whether the split logic applies. Possible values: * - * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on + * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on * file and/or subscription transactions, where the cardholder is known to the merchant (returning - * customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in - * contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where + * customer). * **Moto**: mail-order and telephone-order transactions where the customer is in + * contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where * the customer is physically present to make a payment using a secure payment terminal. * - * **ANY**: All sales channels. + * **ANY**: all sales channels. * * @param shopperInteraction The sales channel condition that defines whether the split logic - * applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is - * present. * **ContAuth**: Card on file and/or subscription transactions, where the - * cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and + * applies. Possible values: * **Ecommerce**: online transactions where the cardholder is + * present. * **ContAuth**: card on file and/or subscription transactions, where the + * cardholder is known to the merchant (returning customer). * **Moto**: mail-order and * telephone-order transactions where the customer is in contact with the merchant via email - * or telephone. * **POS**: Point-of-sale transactions where the customer is physically - * present to make a payment using a secure payment terminal. * **ANY**: All sales channels. + * or telephone. * **POS**: point-of-sale transactions where the customer is physically + * present to make a payment using a secure payment terminal. * **ANY**: all sales channels. */ @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java b/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java index d26a45383..861debf56 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java +++ b/src/main/java/com/adyen/model/managementwebhooks/AccountCapabilityData.java @@ -176,10 +176,10 @@ public void setCapability(String capability) { } /** - * List of entities that has problems with verification. The information includes the details of + * List of entities that have problems with verification. The information includes the details of * the errors and the actions that you can take to resolve them. * - * @param problems List of entities that has problems with verification. The information includes + * @param problems List of entities that have problems with verification. The information includes * the details of the errors and the actions that you can take to resolve them. * @return the current {@code AccountCapabilityData} instance, allowing for method chaining */ @@ -197,11 +197,11 @@ public AccountCapabilityData addProblemsItem(CapabilityProblem problemsItem) { } /** - * List of entities that has problems with verification. The information includes the details of + * List of entities that have problems with verification. The information includes the details of * the errors and the actions that you can take to resolve them. * - * @return problems List of entities that has problems with verification. The information includes - * the details of the errors and the actions that you can take to resolve them. + * @return problems List of entities that have problems with verification. The information + * includes the details of the errors and the actions that you can take to resolve them. */ @JsonProperty(JSON_PROPERTY_PROBLEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -210,10 +210,10 @@ public List getProblems() { } /** - * List of entities that has problems with verification. The information includes the details of + * List of entities that have problems with verification. The information includes the details of * the errors and the actions that you can take to resolve them. * - * @param problems List of entities that has problems with verification. The information includes + * @param problems List of entities that have problems with verification. The information includes * the details of the errors and the actions that you can take to resolve them. */ @JsonProperty(JSON_PROPERTY_PROBLEMS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationRequest.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationRequest.java index 6f45bb4bd..cc29279e2 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationRequest.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationRequest.java @@ -21,6 +21,7 @@ @JsonPropertyOrder({ TerminalAssignmentNotificationRequest.JSON_PROPERTY_ASSIGNED_TO_ACCOUNT, TerminalAssignmentNotificationRequest.JSON_PROPERTY_ASSIGNED_TO_STORE, + TerminalAssignmentNotificationRequest.JSON_PROPERTY_ASSIGNED_TO_STORE_ID, TerminalAssignmentNotificationRequest.JSON_PROPERTY_EVENT_DATE, TerminalAssignmentNotificationRequest.JSON_PROPERTY_PSP_REFERENCE, TerminalAssignmentNotificationRequest.JSON_PROPERTY_UNIQUE_TERMINAL_ID @@ -32,6 +33,9 @@ public class TerminalAssignmentNotificationRequest { public static final String JSON_PROPERTY_ASSIGNED_TO_STORE = "assignedToStore"; private String assignedToStore; + public static final String JSON_PROPERTY_ASSIGNED_TO_STORE_ID = "assignedToStoreId"; + private String assignedToStoreId; + public static final String JSON_PROPERTY_EVENT_DATE = "eventDate"; private String eventDate; @@ -81,9 +85,11 @@ public void setAssignedToAccount(String assignedToAccount) { } /** - * The unique identifier of the store to which the terminal is assigned. + * The store that the terminal is assigned to, identified by the store reference (also known as + * store code). * - * @param assignedToStore The unique identifier of the store to which the terminal is assigned. + * @param assignedToStore The store that the terminal is assigned to, identified by the store + * reference (also known as store code). * @return the current {@code TerminalAssignmentNotificationRequest} instance, allowing for method * chaining */ @@ -93,9 +99,11 @@ public TerminalAssignmentNotificationRequest assignedToStore(String assignedToSt } /** - * The unique identifier of the store to which the terminal is assigned. + * The store that the terminal is assigned to, identified by the store reference (also known as + * store code). * - * @return assignedToStore The unique identifier of the store to which the terminal is assigned. + * @return assignedToStore The store that the terminal is assigned to, identified by the store + * reference (also known as store code). */ @JsonProperty(JSON_PROPERTY_ASSIGNED_TO_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -104,9 +112,11 @@ public String getAssignedToStore() { } /** - * The unique identifier of the store to which the terminal is assigned. + * The store that the terminal is assigned to, identified by the store reference (also known as + * store code). * - * @param assignedToStore The unique identifier of the store to which the terminal is assigned. + * @param assignedToStore The store that the terminal is assigned to, identified by the store + * reference (also known as store code). */ @JsonProperty(JSON_PROPERTY_ASSIGNED_TO_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -114,6 +124,40 @@ public void setAssignedToStore(String assignedToStore) { this.assignedToStore = assignedToStore; } + /** + * The unique identifier of the store to which the terminal is assigned. + * + * @param assignedToStoreId The unique identifier of the store to which the terminal is assigned. + * @return the current {@code TerminalAssignmentNotificationRequest} instance, allowing for method + * chaining + */ + public TerminalAssignmentNotificationRequest assignedToStoreId(String assignedToStoreId) { + this.assignedToStoreId = assignedToStoreId; + return this; + } + + /** + * The unique identifier of the store to which the terminal is assigned. + * + * @return assignedToStoreId The unique identifier of the store to which the terminal is assigned. + */ + @JsonProperty(JSON_PROPERTY_ASSIGNED_TO_STORE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAssignedToStoreId() { + return assignedToStoreId; + } + + /** + * The unique identifier of the store to which the terminal is assigned. + * + * @param assignedToStoreId The unique identifier of the store to which the terminal is assigned. + */ + @JsonProperty(JSON_PROPERTY_ASSIGNED_TO_STORE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAssignedToStoreId(String assignedToStoreId) { + this.assignedToStoreId = assignedToStoreId; + } + /** * The date and time when an event has been completed. * @@ -231,6 +275,8 @@ public boolean equals(Object o) { this.assignedToAccount, terminalAssignmentNotificationRequest.assignedToAccount) && Objects.equals( this.assignedToStore, terminalAssignmentNotificationRequest.assignedToStore) + && Objects.equals( + this.assignedToStoreId, terminalAssignmentNotificationRequest.assignedToStoreId) && Objects.equals(this.eventDate, terminalAssignmentNotificationRequest.eventDate) && Objects.equals(this.pspReference, terminalAssignmentNotificationRequest.pspReference) && Objects.equals( @@ -240,7 +286,12 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - assignedToAccount, assignedToStore, eventDate, pspReference, uniqueTerminalId); + assignedToAccount, + assignedToStore, + assignedToStoreId, + eventDate, + pspReference, + uniqueTerminalId); } @Override @@ -249,6 +300,7 @@ public String toString() { sb.append("class TerminalAssignmentNotificationRequest {\n"); sb.append(" assignedToAccount: ").append(toIndentedString(assignedToAccount)).append("\n"); sb.append(" assignedToStore: ").append(toIndentedString(assignedToStore)).append("\n"); + sb.append(" assignedToStoreId: ").append(toIndentedString(assignedToStoreId)).append("\n"); sb.append(" eventDate: ").append(toIndentedString(eventDate)).append("\n"); sb.append(" pspReference: ").append(toIndentedString(pspReference)).append("\n"); sb.append(" uniqueTerminalId: ").append(toIndentedString(uniqueTerminalId)).append("\n"); diff --git a/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java b/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java index 072c39622..c86fd02bd 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java +++ b/src/main/java/com/adyen/model/managementwebhooks/VerificationError.java @@ -51,6 +51,8 @@ public class VerificationError { public enum TypeEnum { DATAMISSING(String.valueOf("dataMissing")), + DATAREVIEW(String.valueOf("dataReview")), + INVALIDINPUT(String.valueOf("invalidInput")), PENDINGSTATUS(String.valueOf("pendingStatus")); diff --git a/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java b/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java index 8f3fbc37f..68c11ba2c 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java +++ b/src/main/java/com/adyen/model/managementwebhooks/VerificationErrorRecursive.java @@ -46,6 +46,8 @@ public class VerificationErrorRecursive { public enum TypeEnum { DATAMISSING(String.valueOf("dataMissing")), + DATAREVIEW(String.valueOf("dataReview")), + INVALIDINPUT(String.valueOf("invalidInput")), PENDINGSTATUS(String.valueOf("pendingStatus")); diff --git a/src/main/java/com/adyen/model/payment/Recurring.java b/src/main/java/com/adyen/model/payment/Recurring.java index 3a988f401..53ddca058 100644 --- a/src/main/java/com/adyen/model/payment/Recurring.java +++ b/src/main/java/com/adyen/model/payment/Recurring.java @@ -41,14 +41,20 @@ public class Recurring { * 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). + * 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. */ public enum ContractEnum { ONECLICK(String.valueOf("ONECLICK")), + ONECLICK_RECURRING(String.valueOf("ONECLICK,RECURRING")), + RECURRING(String.valueOf("RECURRING")), - PAYOUT(String.valueOf("PAYOUT")); + PAYOUT(String.valueOf("PAYOUT")), + + EXTERNAL(String.valueOf("EXTERNAL")); private static final Logger LOG = Logger.getLogger(ContractEnum.class.getName()); @@ -157,7 +163,9 @@ public Recurring() {} * 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). + * 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. * * @param contract The type of recurring contract to be used. Possible values: * * `ONECLICK` – Payment details can be used to initiate a one-click payment, where @@ -168,7 +176,9 @@ public Recurring() {} * 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). + * 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. * @return the current {@code Recurring} instance, allowing for method chaining */ public Recurring contract(ContractEnum contract) { @@ -186,7 +196,9 @@ public Recurring contract(ContractEnum contract) { * 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). + * 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. * * @return contract The type of recurring contract to be used. Possible values: * * `ONECLICK` – Payment details can be used to initiate a one-click payment, where @@ -197,7 +209,9 @@ public Recurring contract(ContractEnum contract) { * 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). + * 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. */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -215,7 +229,9 @@ public ContractEnum getContract() { * 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). + * 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. * * @param contract The type of recurring contract to be used. Possible values: * * `ONECLICK` – Payment details can be used to initiate a one-click payment, where @@ -226,7 +242,9 @@ public ContractEnum getContract() { * 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). + * 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. */ @JsonProperty(JSON_PROPERTY_CONTRACT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/service/checkout/DonationsApi.java b/src/main/java/com/adyen/service/checkout/DonationsApi.java index 656f739c6..a7a553cc6 100644 --- a/src/main/java/com/adyen/service/checkout/DonationsApi.java +++ b/src/main/java/com/adyen/service/checkout/DonationsApi.java @@ -84,7 +84,7 @@ public DonationCampaignsResponse donationCampaigns( } /** - * Start a transaction for donations + * Make a donation * * @param donationPaymentRequest {@link DonationPaymentRequest } (required) * @return {@link DonationPaymentResponse } @@ -96,7 +96,7 @@ public DonationPaymentResponse donations(DonationPaymentRequest donationPaymentR } /** - * Start a transaction for donations + * Make a donation * * @param donationPaymentRequest {@link DonationPaymentRequest } (required) * @param requestOptions {@link RequestOptions } Object to store additional data such as diff --git a/src/main/java/com/adyen/service/management/SplitConfigurationMerchantLevelApi.java b/src/main/java/com/adyen/service/management/SplitConfigurationMerchantLevelApi.java index 0713c7378..72c72f36b 100644 --- a/src/main/java/com/adyen/service/management/SplitConfigurationMerchantLevelApi.java +++ b/src/main/java/com/adyen/service/management/SplitConfigurationMerchantLevelApi.java @@ -114,7 +114,7 @@ public SplitConfiguration createRule( } /** - * Create a split configuration + * Create a split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfiguration {@link SplitConfiguration } (required) @@ -127,7 +127,7 @@ public SplitConfiguration createSplitConfiguration( } /** - * Create a split configuration + * Create a split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfiguration {@link SplitConfiguration } (required) @@ -155,7 +155,7 @@ public SplitConfiguration createSplitConfiguration( } /** - * Delete a split configuration + * Delete a split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -169,7 +169,7 @@ public SplitConfiguration deleteSplitConfiguration(String merchantId, String spl } /** - * Delete a split configuration + * Delete a split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -205,7 +205,7 @@ public SplitConfiguration deleteSplitConfiguration( } /** - * Delete a split configuration rule + * Delete a rule * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -221,7 +221,7 @@ public SplitConfiguration deleteSplitConfigurationRule( } /** - * Delete a split configuration rule + * Delete a rule * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -263,7 +263,7 @@ public SplitConfiguration deleteSplitConfigurationRule( } /** - * Get a split configuration + * Get a split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -277,7 +277,7 @@ public SplitConfiguration getSplitConfiguration(String merchantId, String splitC } /** - * Get a split configuration + * Get a split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -313,7 +313,7 @@ public SplitConfiguration getSplitConfiguration( } /** - * Get a list of split configurations + * Get a list of split configuration profiles * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @return {@link SplitConfigurationList } @@ -325,7 +325,7 @@ public SplitConfigurationList listSplitConfigurations(String merchantId) } /** - * Get a list of split configurations + * Get a list of split configuration profiles * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param requestOptions {@link RequestOptions } Object to store additional data such as @@ -351,7 +351,7 @@ public SplitConfigurationList listSplitConfigurations( } /** - * Update split conditions + * Update the split conditions * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The identifier of the split configuration. @@ -373,7 +373,7 @@ public SplitConfiguration updateSplitConditions( } /** - * Update split conditions + * Update the split conditions * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The identifier of the split configuration. @@ -421,7 +421,7 @@ public SplitConfiguration updateSplitConditions( } /** - * Update split configuration description + * Update the description of the split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration. @@ -440,7 +440,7 @@ public SplitConfiguration updateSplitConfigurationDescription( } /** - * Update split configuration description + * Update the description of the split configuration profile * * @param merchantId {@link String } The unique identifier of the merchant account. (required) * @param splitConfigurationId {@link String } The unique identifier of the split configuration.