Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk-generation-log/payment.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"service": "payment",
"project": "java",
"generatedAt": "2026-04-10T08:24:49Z",
"openapiCommitSha": "aa5556ef9586980ba6c319d0750fb38d7bbda09b",
"generatedAt": "2026-04-14T07:37:56Z",
"openapiCommitSha": "a1f4b19cca472f4d51aa7568fc8ff0f838ca9f57",
"automationCommitSha": "855b6c5526cb5fae757e921687c38df66d31dc4b",
"libraryCommitSha": "334bfa6a6af849c76a7a28c45a36a692ab0274c3"
"libraryCommitSha": "4a7c8d4eb02058d9d3215ba0497d4b2aa8905bea"
}
44 changes: 31 additions & 13 deletions src/main/java/com/adyen/model/payment/PaymentRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2508,11 +2508,17 @@ public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
*
* @param shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
Comment on lines +2511 to +2515
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Javadoc for shopperLocale is quite long and contains multiple links. Consider simplifying the description while keeping the essential information to improve readability.

*
* @param shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
* @return the current {@code PaymentRequest} instance, allowing for method chaining
*/
public PaymentRequest shopperLocale(String shopperLocale) {
Expand All @@ -2522,11 +2528,17 @@ public PaymentRequest shopperLocale(String shopperLocale) {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
*
* @return shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* @return shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
*/
@JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -2535,11 +2547,17 @@ public String getShopperLocale() {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
*
* @param shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* @param shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
*/
@JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
44 changes: 31 additions & 13 deletions src/main/java/com/adyen/model/payment/PaymentRequest3d.java
Original file line number Diff line number Diff line change
Expand Up @@ -2038,11 +2038,17 @@ public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
*
* @param shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
Comment on lines +2041 to +2045
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Javadoc for shopperLocale is quite long and contains multiple links. Consider simplifying the description while keeping the essential information to improve readability.

*
* @param shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
* @return the current {@code PaymentRequest3d} instance, allowing for method chaining
*/
public PaymentRequest3d shopperLocale(String shopperLocale) {
Expand All @@ -2052,11 +2058,17 @@ public PaymentRequest3d shopperLocale(String shopperLocale) {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
*
* @return shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* @return shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
*/
@JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -2065,11 +2077,17 @@ public String getShopperLocale() {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
*
* @param shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* @param shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
*/
@JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
44 changes: 31 additions & 13 deletions src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java
Original file line number Diff line number Diff line change
Expand Up @@ -1963,11 +1963,17 @@ public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
*
* @param shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
Comment on lines +1966 to +1970
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Javadoc for shopperLocale is quite long and contains multiple links. Consider simplifying the description while keeping the essential information to improve readability.

*
* @param shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
* @return the current {@code PaymentRequest3ds2} instance, allowing for method chaining
*/
public PaymentRequest3ds2 shopperLocale(String shopperLocale) {
Expand All @@ -1977,11 +1983,17 @@ public PaymentRequest3ds2 shopperLocale(String shopperLocale) {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
*
* @return shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* @return shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
*/
@JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -1990,11 +2002,17 @@ public String getShopperLocale() {
}

/**
* The combination of a language code and a country code to specify the language to be used in the
* payment.
* The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears if
* your front-end global configuration does not set the `locale`.
*
* @param shopperLocale The combination of a language code and a country code to specify the
* language to be used in the payment.
* @param shopperLocale The language for the payment. The value combines the two-letter [ISO
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code with the
* [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country
* code. For example, **nl-NL**. When using Drop-in/Components, the specified language appears
* if your front-end global configuration does not set the `locale`.
*/
@JsonProperty(JSON_PROPERTY_SHOPPER_LOCALE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
Loading