-
Notifications
You must be signed in to change notification settings - Fork 151
[payment] Code generation: update services and models (javadoc only) #1911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| * | ||
| * @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) { | ||
|
|
@@ -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) | ||
|
|
@@ -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) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| * | ||
| * @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) { | ||
|
|
@@ -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) | ||
|
|
@@ -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) | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Javadoc for
shopperLocaleis quite long and contains multiple links. Consider simplifying the description while keeping the essential information to improve readability.