diff --git a/src/main/java/com/adyen/model/binlookup/Recurring.java b/src/main/java/com/adyen/model/binlookup/Recurring.java index 6e8b4f2c8..340775631 100644 --- a/src/main/java/com/adyen/model/binlookup/Recurring.java +++ b/src/main/java/com/adyen/model/binlookup/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/model/checkout/AdditionalDataSubMerchant.java b/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java index ba1997bfb..b4fd35e7c 100644 --- a/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java +++ b/src/main/java/com/adyen/model/checkout/AdditionalDataSubMerchant.java @@ -411,11 +411,11 @@ public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSu /** * Required for transactions performed by registered payment facilitators. The phone number of the - * sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters + * sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters * * @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by - * registered payment facilitators. The phone number of the sub-merchant.* Format: - * Alphanumeric * Maximum length: 20 characters + * registered payment facilitators. The phone number of the sub-merchant. * Format: + * Alphanumeric and special characters * Maximum length: 20 characters * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber( @@ -426,11 +426,11 @@ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber( /** * Required for transactions performed by registered payment facilitators. The phone number of the - * sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters + * sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters * * @return subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by - * registered payment facilitators. The phone number of the sub-merchant.* Format: - * Alphanumeric * Maximum length: 20 characters + * registered payment facilitators. The phone number of the sub-merchant. * Format: + * Alphanumeric and special characters * Maximum length: 20 characters */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -440,11 +440,11 @@ public String getSubMerchantSubSellerSubSellerNrPhoneNumber() { /** * Required for transactions performed by registered payment facilitators. The phone number of the - * sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters + * sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters * * @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by - * registered payment facilitators. The phone number of the sub-merchant.* Format: - * Alphanumeric * Maximum length: 20 characters + * registered payment facilitators. The phone number of the sub-merchant. * Format: + * Alphanumeric and special characters * Maximum length: 20 characters */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/checkout/Recurring.java b/src/main/java/com/adyen/model/checkout/Recurring.java index 45fc04dab..efe7e27e0 100644 --- a/src/main/java/com/adyen/model/checkout/Recurring.java +++ b/src/main/java/com/adyen/model/checkout/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/model/payment/AdditionalDataSubMerchant.java b/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java index 9b4699949..67b48d956 100644 --- a/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java +++ b/src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java @@ -411,11 +411,11 @@ public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSu /** * Required for transactions performed by registered payment facilitators. The phone number of the - * sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters + * sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters * * @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by - * registered payment facilitators. The phone number of the sub-merchant.* Format: - * Alphanumeric * Maximum length: 20 characters + * registered payment facilitators. The phone number of the sub-merchant. * Format: + * Alphanumeric and special characters * Maximum length: 20 characters * @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining */ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber( @@ -426,11 +426,11 @@ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber( /** * Required for transactions performed by registered payment facilitators. The phone number of the - * sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters + * sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters * * @return subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by - * registered payment facilitators. The phone number of the sub-merchant.* Format: - * Alphanumeric * Maximum length: 20 characters + * registered payment facilitators. The phone number of the sub-merchant. * Format: + * Alphanumeric and special characters * Maximum length: 20 characters */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -440,11 +440,11 @@ public String getSubMerchantSubSellerSubSellerNrPhoneNumber() { /** * Required for transactions performed by registered payment facilitators. The phone number of the - * sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters + * sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters * * @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by - * registered payment facilitators. The phone number of the sub-merchant.* Format: - * Alphanumeric * Maximum length: 20 characters + * registered payment facilitators. The phone number of the sub-merchant. * Format: + * Alphanumeric and special characters * Maximum length: 20 characters */ @JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/payout/Recurring.java b/src/main/java/com/adyen/model/payout/Recurring.java index daa53d17b..990345d93 100644 --- a/src/main/java/com/adyen/model/payout/Recurring.java +++ b/src/main/java/com/adyen/model/payout/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)