diff --git a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java index e53c85dd8..4bb275727 100644 --- a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java +++ b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java @@ -1533,11 +1533,11 @@ public void setInstallmentOptions( /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. * @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining */ public CreateCheckoutSessionRequest lineItems(List lineItems) { @@ -1556,11 +1556,11 @@ public CreateCheckoutSessionRequest addLineItemsItem(LineItem lineItemsItem) { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @return lineItems Price and product information about the purchased items, to be included on * the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, - * Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Afterpay, Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1571,11 +1571,11 @@ public List getLineItems() { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java index b28fee47b..2e59087e2 100644 --- a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java +++ b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java @@ -1585,11 +1585,11 @@ public void setInstallmentOptions( /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. * @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method * chaining */ @@ -1609,11 +1609,11 @@ public CreateCheckoutSessionResponse addLineItemsItem(LineItem lineItemsItem) { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @return lineItems Price and product information about the purchased items, to be included on * the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, - * Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Afterpay, Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1624,11 +1624,11 @@ public List getLineItems() { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java b/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java index 782a5a65c..d54f3dc88 100644 --- a/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java +++ b/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java @@ -1092,11 +1092,11 @@ public void setDonationToken(String donationToken) { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. * @return the current {@code DonationPaymentRequest} instance, allowing for method chaining */ public DonationPaymentRequest lineItems(List lineItems) { @@ -1115,11 +1115,11 @@ public DonationPaymentRequest addLineItemsItem(LineItem lineItemsItem) { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @return lineItems Price and product information about the purchased items, to be included on * the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, - * Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Afterpay, Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1130,11 +1130,11 @@ public List getLineItems() { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java b/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java index 1c67bcc18..5d035c14d 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java @@ -969,12 +969,12 @@ public void setInstallmentOptions(Map installmentOpti /** * Price and product information about the purchased items, to be included on the invoice sent to - * the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods - * such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the - * invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay - * later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, + * Clearpay, Klarna, Ratepay, and Riverty. * @return the current {@code PaymentLinkRequest} instance, allowing for method chaining */ public PaymentLinkRequest lineItems(List lineItems) { @@ -992,12 +992,12 @@ public PaymentLinkRequest addLineItemsItem(LineItem lineItemsItem) { /** * Price and product information about the purchased items, to be included on the invoice sent to - * the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods - * such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, + * Ratepay, and Riverty. * * @return lineItems Price and product information about the purchased items, to be included on - * the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay - * later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, + * Afterpay, Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1007,12 +1007,12 @@ public List getLineItems() { /** * Price and product information about the purchased items, to be included on the invoice sent to - * the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods - * such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the - * invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay - * later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, + * Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java b/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java index c0e50637f..c76f9f3bb 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java @@ -1057,12 +1057,12 @@ public void setInstallmentOptions(Map installmentOpti /** * Price and product information about the purchased items, to be included on the invoice sent to - * the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods - * such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the - * invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay - * later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, + * Clearpay, Klarna, Ratepay, and Riverty. * @return the current {@code PaymentLinkResponse} instance, allowing for method chaining */ public PaymentLinkResponse lineItems(List lineItems) { @@ -1080,12 +1080,12 @@ public PaymentLinkResponse addLineItemsItem(LineItem lineItemsItem) { /** * Price and product information about the purchased items, to be included on the invoice sent to - * the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods - * such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, + * Ratepay, and Riverty. * * @return lineItems Price and product information about the purchased items, to be included on - * the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay - * later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, + * Afterpay, Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1095,12 +1095,12 @@ public List getLineItems() { /** * Price and product information about the purchased items, to be included on the invoice sent to - * the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods - * such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the - * invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay - * later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. + * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, + * Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/checkout/PaymentRequest.java b/src/main/java/com/adyen/model/checkout/PaymentRequest.java index a70bb9954..c42440bfd 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRequest.java @@ -1756,11 +1756,11 @@ public void setInstallments(Installments installments) { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. * @return the current {@code PaymentRequest} instance, allowing for method chaining */ public PaymentRequest lineItems(List lineItems) { @@ -1779,11 +1779,11 @@ public PaymentRequest addLineItemsItem(LineItem lineItemsItem) { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @return lineItems Price and product information about the purchased items, to be included on * the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, - * Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Afterpay, Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1794,11 +1794,11 @@ public List getLineItems() { /** * Price and product information about the purchased items, to be included on the invoice sent to * the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, - * Ratepay, Riverty, and Zip. + * Ratepay, and Riverty. * * @param lineItems Price and product information about the purchased items, to be included on the * invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, - * Clearpay, Klarna, Ratepay, Riverty, and Zip. + * Clearpay, Klarna, Ratepay, and Riverty. */ @JsonProperty(JSON_PROPERTY_LINE_ITEMS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java index 017c8143e..005f1e000 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java @@ -215,11 +215,15 @@ public void setIpAddress(String ipAddress) { /** * The language used for the Terms of Service document, specified by the two-letter [ISO * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: - * **en** for English. + * **en** for English or **fr** for French. Note that French is only available for some + * integration types in certain countries/regions. Reach out to your Adyen contact for more + * information. * * @param language The language used for the Terms of Service document, specified by the * two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language - * code. Possible value: **en** for English. + * code. Possible value: **en** for English or **fr** for French. Note that French is only + * available for some integration types in certain countries/regions. Reach out to your Adyen + * contact for more information. * @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining */ public AcceptTermsOfServiceResponse language(String language) { @@ -230,11 +234,15 @@ public AcceptTermsOfServiceResponse language(String language) { /** * The language used for the Terms of Service document, specified by the two-letter [ISO * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: - * **en** for English. + * **en** for English or **fr** for French. Note that French is only available for some + * integration types in certain countries/regions. Reach out to your Adyen contact for more + * information. * * @return language The language used for the Terms of Service document, specified by the * two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language - * code. Possible value: **en** for English. + * code. Possible value: **en** for English or **fr** for French. Note that French is only + * available for some integration types in certain countries/regions. Reach out to your Adyen + * contact for more information. */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -245,11 +253,15 @@ public String getLanguage() { /** * The language used for the Terms of Service document, specified by the two-letter [ISO * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: - * **en** for English. + * **en** for English or **fr** for French. Note that French is only available for some + * integration types in certain countries/regions. Reach out to your Adyen contact for more + * information. * * @param language The language used for the Terms of Service document, specified by the * two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language - * code. Possible value: **en** for English. + * code. Possible value: **en** for English or **fr** for French. Note that French is only + * available for some integration types in certain countries/regions. Reach out to your Adyen + * contact for more information. */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java index 90c1961d6..e9f335ec4 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GetTermsOfServiceDocumentResponse.java @@ -185,11 +185,15 @@ public void setId(String id) { /** * The language used for the Terms of Service document, specified by the two-letter [ISO * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: - * **en** for English. + * **en** for English or **fr** for French. Note that French is only available for some + * integration types in certain countries/regions. Reach out to your Adyen contact for more + * information. * * @param language The language used for the Terms of Service document, specified by the * two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language - * code. Possible value: **en** for English. + * code. Possible value: **en** for English or **fr** for French. Note that French is only + * available for some integration types in certain countries/regions. Reach out to your Adyen + * contact for more information. * @return the current {@code GetTermsOfServiceDocumentResponse} instance, allowing for method * chaining */ @@ -201,11 +205,15 @@ public GetTermsOfServiceDocumentResponse language(String language) { /** * The language used for the Terms of Service document, specified by the two-letter [ISO * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: - * **en** for English. + * **en** for English or **fr** for French. Note that French is only available for some + * integration types in certain countries/regions. Reach out to your Adyen contact for more + * information. * * @return language The language used for the Terms of Service document, specified by the * two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language - * code. Possible value: **en** for English. + * code. Possible value: **en** for English or **fr** for French. Note that French is only + * available for some integration types in certain countries/regions. Reach out to your Adyen + * contact for more information. */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -216,11 +224,15 @@ public String getLanguage() { /** * The language used for the Terms of Service document, specified by the two-letter [ISO * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: - * **en** for English. + * **en** for English or **fr** for French. Note that French is only available for some + * integration types in certain countries/regions. Reach out to your Adyen contact for more + * information. * * @param language The language used for the Terms of Service document, specified by the * two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language - * code. Possible value: **en** for English. + * code. Possible value: **en** for English or **fr** for French. Note that French is only + * available for some integration types in certain countries/regions. Reach out to your Adyen + * contact for more information. */ @JsonProperty(JSON_PROPERTY_LANGUAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/AlipayPlusInfo.java b/src/main/java/com/adyen/model/management/AlipayPlusInfo.java index f06a54c70..1923a39a6 100644 --- a/src/main/java/com/adyen/model/management/AlipayPlusInfo.java +++ b/src/main/java/com/adyen/model/management/AlipayPlusInfo.java @@ -26,9 +26,9 @@ public class AlipayPlusInfo { public AlipayPlusInfo() {} /** - * currency used for settlement. Defaults to USD + * The currency used for settlement. Defaults to USD. * - * @param settlementCurrencyCode currency used for settlement. Defaults to USD + * @param settlementCurrencyCode The currency used for settlement. Defaults to USD. * @return the current {@code AlipayPlusInfo} instance, allowing for method chaining */ public AlipayPlusInfo settlementCurrencyCode(String settlementCurrencyCode) { @@ -37,9 +37,9 @@ public AlipayPlusInfo settlementCurrencyCode(String settlementCurrencyCode) { } /** - * currency used for settlement. Defaults to USD + * The currency used for settlement. Defaults to USD. * - * @return settlementCurrencyCode currency used for settlement. Defaults to USD + * @return settlementCurrencyCode The currency used for settlement. Defaults to USD. */ @JsonProperty(JSON_PROPERTY_SETTLEMENT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -48,9 +48,9 @@ public String getSettlementCurrencyCode() { } /** - * currency used for settlement. Defaults to USD + * The currency used for settlement. Defaults to USD. * - * @param settlementCurrencyCode currency used for settlement. Defaults to USD + * @param settlementCurrencyCode The currency used for settlement. Defaults to USD. */ @JsonProperty(JSON_PROPERTY_SETTLEMENT_CURRENCY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java b/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java index 08a172fb0..2a46821cd 100644 --- a/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/CreateCompanyWebhookRequest.java @@ -830,10 +830,10 @@ public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { * **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - * **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** - * Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @param type The type of webhook that is being created. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -842,10 +842,10 @@ public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about - * [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * @return the current {@code CreateCompanyWebhookRequest} instance, allowing for method chaining */ public CreateCompanyWebhookRequest type(String type) { @@ -860,10 +860,10 @@ public CreateCompanyWebhookRequest type(String type) { * **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - * **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** - * Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @return type The type of webhook that is being created. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -872,10 +872,10 @@ public CreateCompanyWebhookRequest type(String type) { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about - * [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -890,10 +890,10 @@ public String getType() { * **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - * **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** - * Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @param type The type of webhook that is being created. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -902,10 +902,10 @@ public String getType() { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about - * [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java b/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java index d4bd0c907..1e78bf263 100644 --- a/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java +++ b/src/main/java/com/adyen/model/management/CreateMerchantWebhookRequest.java @@ -641,10 +641,10 @@ public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { * **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - * **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** - * Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @param type The type of webhook that is being created. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -653,10 +653,10 @@ public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about - * [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * @return the current {@code CreateMerchantWebhookRequest} instance, allowing for method chaining */ public CreateMerchantWebhookRequest type(String type) { @@ -671,10 +671,10 @@ public CreateMerchantWebhookRequest type(String type) { * **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - * **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** - * Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @return type The type of webhook that is being created. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -683,10 +683,10 @@ public CreateMerchantWebhookRequest type(String type) { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about - * [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -701,10 +701,10 @@ public String getType() { * **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** - * **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** - * Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @param type The type of webhook that is being created. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -713,10 +713,10 @@ public String getType() { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about - * [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/PaymentMethod.java b/src/main/java/com/adyen/model/management/PaymentMethod.java index e11543be7..81968c2a0 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethod.java +++ b/src/main/java/com/adyen/model/management/PaymentMethod.java @@ -63,6 +63,7 @@ PaymentMethod.JSON_PROPERTY_PAYTO, PaymentMethod.JSON_PROPERTY_PULSE, PaymentMethod.JSON_PROPERTY_REFERENCE, + PaymentMethod.JSON_PROPERTY_SEPADIRECTDEBIT, PaymentMethod.JSON_PROPERTY_SHOPPER_INTERACTION, PaymentMethod.JSON_PROPERTY_SODEXO, PaymentMethod.JSON_PROPERTY_SOFORT, @@ -193,6 +194,9 @@ public class PaymentMethod { public static final String JSON_PROPERTY_REFERENCE = "reference"; private String reference; + public static final String JSON_PROPERTY_SEPADIRECTDEBIT = "sepadirectdebit"; + private SepaDirectDebitInfo sepadirectdebit; + public static final String JSON_PROPERTY_SHOPPER_INTERACTION = "shopperInteraction"; private String shopperInteraction; @@ -1592,6 +1596,39 @@ public void setReference(String reference) { this.reference = reference; } + /** + * sepadirectdebit + * + * @param sepadirectdebit + * @return the current {@code PaymentMethod} instance, allowing for method chaining + */ + public PaymentMethod sepadirectdebit(SepaDirectDebitInfo sepadirectdebit) { + this.sepadirectdebit = sepadirectdebit; + return this; + } + + /** + * Get sepadirectdebit + * + * @return sepadirectdebit + */ + @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public SepaDirectDebitInfo getSepadirectdebit() { + return sepadirectdebit; + } + + /** + * sepadirectdebit + * + * @param sepadirectdebit + */ + @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSepadirectdebit(SepaDirectDebitInfo sepadirectdebit) { + this.sepadirectdebit = sepadirectdebit; + } + /** * The sales channel. * @@ -2122,6 +2159,7 @@ public boolean equals(Object o) { && Objects.equals(this.payto, paymentMethod.payto) && Objects.equals(this.pulse, paymentMethod.pulse) && Objects.equals(this.reference, paymentMethod.reference) + && Objects.equals(this.sepadirectdebit, paymentMethod.sepadirectdebit) && Objects.equals(this.shopperInteraction, paymentMethod.shopperInteraction) && Objects.equals(this.sodexo, paymentMethod.sodexo) && Objects.equals(this.sofort, paymentMethod.sofort) @@ -2179,6 +2217,7 @@ public int hashCode() { payto, pulse, reference, + sepadirectdebit, shopperInteraction, sodexo, sofort, @@ -2237,6 +2276,7 @@ public String toString() { sb.append(" payto: ").append(toIndentedString(payto)).append("\n"); sb.append(" pulse: ").append(toIndentedString(pulse)).append("\n"); sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); + sb.append(" sepadirectdebit: ").append(toIndentedString(sepadirectdebit)).append("\n"); sb.append(" shopperInteraction: ").append(toIndentedString(shopperInteraction)).append("\n"); sb.append(" sodexo: ").append(toIndentedString(sodexo)).append("\n"); sb.append(" sofort: ").append(toIndentedString(sofort)).append("\n"); diff --git a/src/main/java/com/adyen/model/management/PaymentMethodResponse.java b/src/main/java/com/adyen/model/management/PaymentMethodResponse.java index 6f062d8fa..f2760c092 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodResponse.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodResponse.java @@ -46,6 +46,14 @@ public class PaymentMethodResponse { /** Gets or Sets typesWithErrors */ public enum TypesWithErrorsEnum { + ABRAPETITE(String.valueOf("abrapetite")), + + ABRAPETITE_CREDIT(String.valueOf("abrapetite_credit")), + + ABRAPETITE_DEBIT(String.valueOf("abrapetite_debit")), + + ABRAPETITE_PREPAID(String.valueOf("abrapetite_prepaid")), + ACCEL(String.valueOf("accel")), ACH(String.valueOf("ach")), @@ -230,10 +238,18 @@ public enum TypesWithErrorsEnum { PULSE(String.valueOf("pulse")), + ROMCARD(String.valueOf("romcard")), + + ROMCARD_CREDIT(String.valueOf("romcard_credit")), + + ROMCARD_DEBIT(String.valueOf("romcard_debit")), + SENFF(String.valueOf("senff")), SENFF_CREDIT(String.valueOf("senff_credit")), + SEPADIRECTDEBIT(String.valueOf("sepadirectdebit")), + SODEXO(String.valueOf("sodexo")), STAR(String.valueOf("star")), @@ -469,9 +485,10 @@ public void setPagesTotal(Integer pagesTotal) { } /** - * Payment method types with errors. + * The payment method types that were not successfully requested and their corresponding errors. * - * @param typesWithErrors Payment method types with errors. + * @param typesWithErrors The payment method types that were not successfully requested and their + * corresponding errors. * @return the current {@code PaymentMethodResponse} instance, allowing for method chaining */ public PaymentMethodResponse typesWithErrors(List typesWithErrors) { @@ -488,9 +505,10 @@ public PaymentMethodResponse addTypesWithErrorsItem(TypesWithErrorsEnum typesWit } /** - * Payment method types with errors. + * The payment method types that were not successfully requested and their corresponding errors. * - * @return typesWithErrors Payment method types with errors. + * @return typesWithErrors The payment method types that were not successfully requested and their + * corresponding errors. */ @JsonProperty(JSON_PROPERTY_TYPES_WITH_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -499,9 +517,10 @@ public List getTypesWithErrors() { } /** - * Payment method types with errors. + * The payment method types that were not successfully requested and their corresponding errors. * - * @param typesWithErrors Payment method types with errors. + * @param typesWithErrors The payment method types that were not successfully requested and their + * corresponding errors. */ @JsonProperty(JSON_PROPERTY_TYPES_WITH_ERRORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java index 61988b391..7b9eb9ccb 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java @@ -60,6 +60,7 @@ PaymentMethodSetupInfo.JSON_PROPERTY_PAYTO, PaymentMethodSetupInfo.JSON_PROPERTY_PULSE, PaymentMethodSetupInfo.JSON_PROPERTY_REFERENCE, + PaymentMethodSetupInfo.JSON_PROPERTY_SEPADIRECTDEBIT, PaymentMethodSetupInfo.JSON_PROPERTY_SHOPPER_INTERACTION, PaymentMethodSetupInfo.JSON_PROPERTY_SODEXO, PaymentMethodSetupInfo.JSON_PROPERTY_SOFORT, @@ -180,6 +181,9 @@ public class PaymentMethodSetupInfo { public static final String JSON_PROPERTY_REFERENCE = "reference"; private String reference; + public static final String JSON_PROPERTY_SEPADIRECTDEBIT = "sepadirectdebit"; + private SepaDirectDebitInfo sepadirectdebit; + /** * The sales channel. Required if the merchant account does not have a sales channel. When you * provide this field, it overrides the default sales channel set on the merchant account. @@ -258,6 +262,14 @@ public static ShopperInteractionEnum fromValue(String value) { * [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ public enum TypeEnum { + ABRAPETITE(String.valueOf("abrapetite")), + + ABRAPETITE_CREDIT(String.valueOf("abrapetite_credit")), + + ABRAPETITE_DEBIT(String.valueOf("abrapetite_debit")), + + ABRAPETITE_PREPAID(String.valueOf("abrapetite_prepaid")), + ACCEL(String.valueOf("accel")), ACH(String.valueOf("ach")), @@ -442,10 +454,18 @@ public enum TypeEnum { PULSE(String.valueOf("pulse")), + ROMCARD(String.valueOf("romcard")), + + ROMCARD_CREDIT(String.valueOf("romcard_credit")), + + ROMCARD_DEBIT(String.valueOf("romcard_debit")), + SENFF(String.valueOf("senff")), SENFF_CREDIT(String.valueOf("senff_credit")), + SEPADIRECTDEBIT(String.valueOf("sepadirectdebit")), + SODEXO(String.valueOf("sodexo")), STAR(String.valueOf("star")), @@ -1752,6 +1772,39 @@ public void setReference(String reference) { this.reference = reference; } + /** + * sepadirectdebit + * + * @param sepadirectdebit + * @return the current {@code PaymentMethodSetupInfo} instance, allowing for method chaining + */ + public PaymentMethodSetupInfo sepadirectdebit(SepaDirectDebitInfo sepadirectdebit) { + this.sepadirectdebit = sepadirectdebit; + return this; + } + + /** + * Get sepadirectdebit + * + * @return sepadirectdebit + */ + @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public SepaDirectDebitInfo getSepadirectdebit() { + return sepadirectdebit; + } + + /** + * sepadirectdebit + * + * @param sepadirectdebit + */ + @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSepadirectdebit(SepaDirectDebitInfo sepadirectdebit) { + this.sepadirectdebit = sepadirectdebit; + } + /** * The sales channel. Required if the merchant account does not have a sales channel. When you * provide this field, it overrides the default sales channel set on the merchant account. @@ -2255,6 +2308,7 @@ public boolean equals(Object o) { && Objects.equals(this.payto, paymentMethodSetupInfo.payto) && Objects.equals(this.pulse, paymentMethodSetupInfo.pulse) && Objects.equals(this.reference, paymentMethodSetupInfo.reference) + && Objects.equals(this.sepadirectdebit, paymentMethodSetupInfo.sepadirectdebit) && Objects.equals(this.shopperInteraction, paymentMethodSetupInfo.shopperInteraction) && Objects.equals(this.sodexo, paymentMethodSetupInfo.sodexo) && Objects.equals(this.sofort, paymentMethodSetupInfo.sofort) @@ -2308,6 +2362,7 @@ public int hashCode() { payto, pulse, reference, + sepadirectdebit, shopperInteraction, sodexo, sofort, @@ -2362,6 +2417,7 @@ public String toString() { sb.append(" payto: ").append(toIndentedString(payto)).append("\n"); sb.append(" pulse: ").append(toIndentedString(pulse)).append("\n"); sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); + sb.append(" sepadirectdebit: ").append(toIndentedString(sepadirectdebit)).append("\n"); sb.append(" shopperInteraction: ").append(toIndentedString(shopperInteraction)).append("\n"); sb.append(" sodexo: ").append(toIndentedString(sodexo)).append("\n"); sb.append(" sofort: ").append(toIndentedString(sofort)).append("\n"); diff --git a/src/main/java/com/adyen/model/management/SepaDirectDebitInfo.java b/src/main/java/com/adyen/model/management/SepaDirectDebitInfo.java new file mode 100644 index 000000000..027a311c2 --- /dev/null +++ b/src/main/java/com/adyen/model/management/SepaDirectDebitInfo.java @@ -0,0 +1,162 @@ +/* + * Management API + * + * The version of the OpenAPI document: 3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.adyen.model.management; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; +import java.util.*; + +/** SepaDirectDebitInfo */ +@JsonPropertyOrder({ + SepaDirectDebitInfo.JSON_PROPERTY_CREDITOR_ID, + SepaDirectDebitInfo.JSON_PROPERTY_TRANSACTION_DESCRIPTION +}) +public class SepaDirectDebitInfo { + public static final String JSON_PROPERTY_CREDITOR_ID = "creditorId"; + private String creditorId; + + public static final String JSON_PROPERTY_TRANSACTION_DESCRIPTION = "transactionDescription"; + private TransactionDescriptionInfo transactionDescription; + + public SepaDirectDebitInfo() {} + + /** + * Creditor id + * + * @param creditorId Creditor id + * @return the current {@code SepaDirectDebitInfo} instance, allowing for method chaining + */ + public SepaDirectDebitInfo creditorId(String creditorId) { + this.creditorId = creditorId; + return this; + } + + /** + * Creditor id + * + * @return creditorId Creditor id + */ + @JsonProperty(JSON_PROPERTY_CREDITOR_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCreditorId() { + return creditorId; + } + + /** + * Creditor id + * + * @param creditorId Creditor id + */ + @JsonProperty(JSON_PROPERTY_CREDITOR_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreditorId(String creditorId) { + this.creditorId = creditorId; + } + + /** + * transactionDescription + * + * @param transactionDescription + * @return the current {@code SepaDirectDebitInfo} instance, allowing for method chaining + */ + public SepaDirectDebitInfo transactionDescription( + TransactionDescriptionInfo transactionDescription) { + this.transactionDescription = transactionDescription; + return this; + } + + /** + * Get transactionDescription + * + * @return transactionDescription + */ + @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TransactionDescriptionInfo getTransactionDescription() { + return transactionDescription; + } + + /** + * transactionDescription + * + * @param transactionDescription + */ + @JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) { + this.transactionDescription = transactionDescription; + } + + /** Return true if this SepaDirectDebitInfo object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SepaDirectDebitInfo sepaDirectDebitInfo = (SepaDirectDebitInfo) o; + return Objects.equals(this.creditorId, sepaDirectDebitInfo.creditorId) + && Objects.equals(this.transactionDescription, sepaDirectDebitInfo.transactionDescription); + } + + @Override + public int hashCode() { + return Objects.hash(creditorId, transactionDescription); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SepaDirectDebitInfo {\n"); + sb.append(" creditorId: ").append(toIndentedString(creditorId)).append("\n"); + sb.append(" transactionDescription: ") + .append(toIndentedString(transactionDescription)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Create an instance of SepaDirectDebitInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of SepaDirectDebitInfo + * @throws JsonProcessingException if the JSON string is invalid with respect to + * SepaDirectDebitInfo + */ + public static SepaDirectDebitInfo fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, SepaDirectDebitInfo.class); + } + + /** + * Convert an instance of SepaDirectDebitInfo to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} diff --git a/src/main/java/com/adyen/model/management/SplitConfigurationRule.java b/src/main/java/com/adyen/model/management/SplitConfigurationRule.java index 0c707b5f7..7d54a9fc5 100644 --- a/src/main/java/com/adyen/model/management/SplitConfigurationRule.java +++ b/src/main/java/com/adyen/model/management/SplitConfigurationRule.java @@ -35,8 +35,8 @@ public class SplitConfigurationRule { private String currency; /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** */ public enum FundingSourceEnum { CHARGED(String.valueOf("charged")), @@ -204,12 +204,11 @@ public void setCurrency(String currency) { } /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** * - * @param fundingSource The funding source of the payment method. This only applies to card - * transactions. Possible values: * **credit** * **debit** * **prepaid** * **deferred_debit** - * * **charged** * **ANY** + * @param fundingSource The funding source of the payment method. Possible values: * **credit** * + * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** * @return the current {@code SplitConfigurationRule} instance, allowing for method chaining */ public SplitConfigurationRule fundingSource(FundingSourceEnum fundingSource) { @@ -218,12 +217,11 @@ public SplitConfigurationRule fundingSource(FundingSourceEnum fundingSource) { } /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** * - * @return fundingSource The funding source of the payment method. This only applies to card - * transactions. Possible values: * **credit** * **debit** * **prepaid** * **deferred_debit** - * * **charged** * **ANY** + * @return fundingSource The funding source of the payment method. Possible values: * **credit** * + * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -232,12 +230,11 @@ public FundingSourceEnum getFundingSource() { } /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** * - * @param fundingSource The funding source of the payment method. This only applies to card - * transactions. Possible values: * **credit** * **debit** * **prepaid** * **deferred_debit** - * * **charged** * **ANY** + * @param fundingSource The funding source of the payment method. Possible values: * **credit** * + * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/TestOutput.java b/src/main/java/com/adyen/model/management/TestOutput.java index 9e4d2b451..29208ff9f 100644 --- a/src/main/java/com/adyen/model/management/TestOutput.java +++ b/src/main/java/com/adyen/model/management/TestOutput.java @@ -84,16 +84,16 @@ public void setMerchantId(String merchantId) { * A short, human-readable explanation of the test result. Your server must respond with **HTTP * 2xx* for the test webhook to be successful (`data.status`: **success**). Find out * more about [accepting - * notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You - * can use the value of this field together with the + * notifications](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks) You can + * use the value of this field together with the * [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) * value to troubleshoot unsuccessful test webhooks. * * @param output A short, human-readable explanation of the test result. Your server must respond * with **HTTP 2xx* for the test webhook to be successful (`data.status`: * **success**). Find out more about [accepting - * notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) - * You can use the value of this field together with the + * notifications](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks) You + * can use the value of this field together with the * [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) * value to troubleshoot unsuccessful test webhooks. * @return the current {@code TestOutput} instance, allowing for method chaining @@ -107,16 +107,16 @@ public TestOutput output(String output) { * A short, human-readable explanation of the test result. Your server must respond with **HTTP * 2xx* for the test webhook to be successful (`data.status`: **success**). Find out * more about [accepting - * notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You - * can use the value of this field together with the + * notifications](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks) You can + * use the value of this field together with the * [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) * value to troubleshoot unsuccessful test webhooks. * * @return output A short, human-readable explanation of the test result. Your server must respond * with **HTTP 2xx* for the test webhook to be successful (`data.status`: * **success**). Find out more about [accepting - * notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) - * You can use the value of this field together with the + * notifications](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks) You + * can use the value of this field together with the * [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) * value to troubleshoot unsuccessful test webhooks. */ @@ -130,16 +130,16 @@ public String getOutput() { * A short, human-readable explanation of the test result. Your server must respond with **HTTP * 2xx* for the test webhook to be successful (`data.status`: **success**). Find out * more about [accepting - * notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) You - * can use the value of this field together with the + * notifications](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks) You can + * use the value of this field together with the * [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) * value to troubleshoot unsuccessful test webhooks. * * @param output A short, human-readable explanation of the test result. Your server must respond * with **HTTP 2xx* for the test webhook to be successful (`data.status`: * **success**). Find out more about [accepting - * notifications](https://docs.adyen.com/development-resources/webhooks#accept-notifications) - * You can use the value of this field together with the + * notifications](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks) You + * can use the value of this field together with the * [`responseCode`](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/webhooks/{id}/test__resParam_data-responseCode) * value to troubleshoot unsuccessful test webhooks. */ diff --git a/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java b/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java index 624027ddb..3e233f2ce 100644 --- a/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java +++ b/src/main/java/com/adyen/model/management/UpdatePaymentMethodInfo.java @@ -43,6 +43,7 @@ UpdatePaymentMethodInfo.JSON_PROPERTY_NYCE, UpdatePaymentMethodInfo.JSON_PROPERTY_PAYBYBANK_PLAID, UpdatePaymentMethodInfo.JSON_PROPERTY_PULSE, + UpdatePaymentMethodInfo.JSON_PROPERTY_SEPADIRECTDEBIT, UpdatePaymentMethodInfo.JSON_PROPERTY_STAR, UpdatePaymentMethodInfo.JSON_PROPERTY_STORE_ID, UpdatePaymentMethodInfo.JSON_PROPERTY_STORE_IDS, @@ -115,6 +116,9 @@ public class UpdatePaymentMethodInfo { public static final String JSON_PROPERTY_PULSE = "pulse"; private PulseInfo pulse; + public static final String JSON_PROPERTY_SEPADIRECTDEBIT = "sepadirectdebit"; + private SepaDirectDebitInfo sepadirectdebit; + public static final String JSON_PROPERTY_STAR = "star"; private StarInfo star; @@ -896,6 +900,39 @@ public void setPulse(PulseInfo pulse) { this.pulse = pulse; } + /** + * sepadirectdebit + * + * @param sepadirectdebit + * @return the current {@code UpdatePaymentMethodInfo} instance, allowing for method chaining + */ + public UpdatePaymentMethodInfo sepadirectdebit(SepaDirectDebitInfo sepadirectdebit) { + this.sepadirectdebit = sepadirectdebit; + return this; + } + + /** + * Get sepadirectdebit + * + * @return sepadirectdebit + */ + @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public SepaDirectDebitInfo getSepadirectdebit() { + return sepadirectdebit; + } + + /** + * sepadirectdebit + * + * @param sepadirectdebit + */ + @JsonProperty(JSON_PROPERTY_SEPADIRECTDEBIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSepadirectdebit(SepaDirectDebitInfo sepadirectdebit) { + this.sepadirectdebit = sepadirectdebit; + } + /** * star * @@ -1080,6 +1117,7 @@ public boolean equals(Object o) { && Objects.equals(this.nyce, updatePaymentMethodInfo.nyce) && Objects.equals(this.paybybankPlaid, updatePaymentMethodInfo.paybybankPlaid) && Objects.equals(this.pulse, updatePaymentMethodInfo.pulse) + && Objects.equals(this.sepadirectdebit, updatePaymentMethodInfo.sepadirectdebit) && Objects.equals(this.star, updatePaymentMethodInfo.star) && Objects.equals(this.storeId, updatePaymentMethodInfo.storeId) && Objects.equals(this.storeIds, updatePaymentMethodInfo.storeIds) @@ -1111,6 +1149,7 @@ public int hashCode() { nyce, paybybankPlaid, pulse, + sepadirectdebit, star, storeId, storeIds, @@ -1143,6 +1182,7 @@ public String toString() { sb.append(" nyce: ").append(toIndentedString(nyce)).append("\n"); sb.append(" paybybankPlaid: ").append(toIndentedString(paybybankPlaid)).append("\n"); sb.append(" pulse: ").append(toIndentedString(pulse)).append("\n"); + sb.append(" sepadirectdebit: ").append(toIndentedString(sepadirectdebit)).append("\n"); sb.append(" star: ").append(toIndentedString(star)).append("\n"); sb.append(" storeId: ").append(toIndentedString(storeId)).append("\n"); sb.append(" storeIds: ").append(toIndentedString(storeIds)).append("\n"); diff --git a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java index 46a66722f..62af8e983 100644 --- a/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateSplitConfigurationRuleRequest.java @@ -80,12 +80,11 @@ public void setCurrency(String currency) { } /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** * - * @param fundingSource The funding source of the payment method. This only applies to card - * transactions. Possible values: * **credit** * **debit** * **prepaid** * **deferred_debit** - * * **charged** * **ANY** + * @param fundingSource The funding source of the payment method. Possible values: * **credit** * + * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** * @return the current {@code UpdateSplitConfigurationRuleRequest} instance, allowing for method * chaining */ @@ -95,12 +94,11 @@ public UpdateSplitConfigurationRuleRequest fundingSource(String fundingSource) { } /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** * - * @return fundingSource The funding source of the payment method. This only applies to card - * transactions. Possible values: * **credit** * **debit** * **prepaid** * **deferred_debit** - * * **charged** * **ANY** + * @return fundingSource The funding source of the payment method. Possible values: * **credit** * + * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -109,12 +107,11 @@ public String getFundingSource() { } /** - * The funding source of the payment method. This only applies to card transactions. Possible - * values: * **credit** * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** + * The funding source of the payment method. Possible values: * **credit** * **debit** * + * **prepaid** * **deferred_debit** * **charged** * **ANY** * - * @param fundingSource The funding source of the payment method. This only applies to card - * transactions. Possible values: * **credit** * **debit** * **prepaid** * **deferred_debit** - * * **charged** * **ANY** + * @param fundingSource The funding source of the payment method. Possible values: * **credit** * + * **debit** * **prepaid** * **deferred_debit** * **charged** * **ANY** */ @JsonProperty(JSON_PROPERTY_FUNDING_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/management/Webhook.java b/src/main/java/com/adyen/model/management/Webhook.java index cc35f5486..0a3c2c44c 100644 --- a/src/main/java/com/adyen/model/management/Webhook.java +++ b/src/main/java/com/adyen/model/management/Webhook.java @@ -1050,10 +1050,10 @@ public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { * - **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** * - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **terminal-api-notification** - **terminal-settings** - - * **terminal-boarding** Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * **terminal-boarding** Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @param type The type of webhook. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -1062,10 +1062,10 @@ public void setPopulateSoapActionHeader(Boolean populateSoapActionHeader) { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more - * about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * @return the current {@code Webhook} instance, allowing for method chaining */ public Webhook type(String type) { @@ -1079,10 +1079,10 @@ public Webhook type(String type) { * - **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** * - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **terminal-api-notification** - **terminal-settings** - - * **terminal-boarding** Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * **terminal-boarding** Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @return type The type of webhook. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -1091,10 +1091,10 @@ public Webhook type(String type) { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more - * about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1108,10 +1108,10 @@ public String getType() { * - **ach-notification-of-change-notification** - **direct-debit-notice-of-change-notification** * - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - * **report-notification** - **terminal-api-notification** - **terminal-settings** - - * **terminal-boarding** Find out more about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) - * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * **terminal-boarding** Find out more about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) and + * [other types of + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). * * @param type The type of webhook. Possible values are: - **standard** - * **account-settings-notification** - **banktransfer-notification** - @@ -1120,10 +1120,10 @@ public String getType() { * **direct-debit-notice-of-change-notification** - **pending-notification** - * **ideal-notification** - **ideal-pending-notification** - **report-notification** - * **terminal-api-notification** - **terminal-settings** - **terminal-boarding** Find out more - * about [standard notification - * webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) + * about [standard + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#event-codes) * and [other types of - * notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications). + * webhooks](https://docs.adyen.com/development-resources/webhooks/webhook-types/#other-webhooks). */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java index f2c5194a8..8528fe458 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/AccountNotificationResponse.java @@ -27,10 +27,10 @@ public AccountNotificationResponse() {} /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * @return the current {@code AccountNotificationResponse} instance, allowing for method chaining */ public AccountNotificationResponse notificationResponse(String notificationResponse) { @@ -40,10 +40,10 @@ public AccountNotificationResponse notificationResponse(String notificationRespo /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @return notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -53,10 +53,10 @@ public String getNotificationResponse() { /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java index b878f10e8..05eadf327 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/PaymentMethodNotificationResponse.java @@ -27,10 +27,10 @@ public PaymentMethodNotificationResponse() {} /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * @return the current {@code PaymentMethodNotificationResponse} instance, allowing for method * chaining */ @@ -41,10 +41,10 @@ public PaymentMethodNotificationResponse notificationResponse(String notificatio /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @return notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -54,10 +54,10 @@ public String getNotificationResponse() { /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationResponse.java index 4e534f748..bc39a097b 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalAssignmentNotificationResponse.java @@ -27,10 +27,10 @@ public TerminalAssignmentNotificationResponse() {} /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * @return the current {@code TerminalAssignmentNotificationResponse} instance, allowing for * method chaining */ @@ -41,10 +41,10 @@ public TerminalAssignmentNotificationResponse notificationResponse(String notifi /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @return notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -54,10 +54,10 @@ public String getNotificationResponse() { /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java index 35f9c1591..1b06bf9a1 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalBoardingNotificationResponse.java @@ -27,10 +27,10 @@ public TerminalBoardingNotificationResponse() {} /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * @return the current {@code TerminalBoardingNotificationResponse} instance, allowing for method * chaining */ @@ -41,10 +41,10 @@ public TerminalBoardingNotificationResponse notificationResponse(String notifica /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @return notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -54,10 +54,10 @@ public String getNotificationResponse() { /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java index fce2e1678..4cb54c453 100644 --- a/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java +++ b/src/main/java/com/adyen/model/managementwebhooks/TerminalSettingsNotificationResponse.java @@ -27,10 +27,10 @@ public TerminalSettingsNotificationResponse() {} /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * @return the current {@code TerminalSettingsNotificationResponse} instance, allowing for method * chaining */ @@ -41,10 +41,10 @@ public TerminalSettingsNotificationResponse notificationResponse(String notifica /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @return notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -54,10 +54,10 @@ public String getNotificationResponse() { /** * Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). * * @param notificationResponse Respond with any **2xx** HTTP status code to [accept the - * webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ @JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/model/sessionauthentication/ProductType.java b/src/main/java/com/adyen/model/sessionauthentication/ProductType.java index bfa730ba0..9784a9393 100644 --- a/src/main/java/com/adyen/model/sessionauthentication/ProductType.java +++ b/src/main/java/com/adyen/model/sessionauthentication/ProductType.java @@ -19,7 +19,9 @@ public enum ProductType { ONBOARDING("onboarding"), - PLATFORM("platform"); + PLATFORM("platform"), + + BANK("bank"); private String value;