-
Notifications
You must be signed in to change notification settings - Fork 159
[payment] Code generation: update services and models #1873
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "service": "payment", | ||
| "project": "java", | ||
| "generatedAt": "2026-04-10T08:24:49Z", | ||
| "openapiCommitSha": "aa5556ef9586980ba6c319d0750fb38d7bbda09b", | ||
| "automationCommitSha": "855b6c5526cb5fae757e921687c38df66d31dc4b", | ||
| "libraryCommitSha": "334bfa6a6af849c76a7a28c45a36a692ab0274c3" | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -291,17 +291,15 @@ public static DeliveryAddressUsageIndicatorEnum fromValue(String value) { | |||||||||
| private boolean isSetDeliveryAddressUsageIndicator = false; | ||||||||||
|
|
||||||||||
| public static final String JSON_PROPERTY_HOME_PHONE = "homePhone"; | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` | ||||||||||
| // instead. | ||||||||||
| private String homePhone; | ||||||||||
| /* deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` instead. */ | ||||||||||
| @Deprecated private String homePhone; | ||||||||||
|
|
||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||
| private boolean isSetHomePhone = false; | ||||||||||
|
|
||||||||||
| public static final String JSON_PROPERTY_MOBILE_PHONE = "mobilePhone"; | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| // instead. | ||||||||||
| private String mobilePhone; | ||||||||||
| /* deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` instead. */ | ||||||||||
| @Deprecated private String mobilePhone; | ||||||||||
|
Comment on lines
+301
to
+302
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. The deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.
Suggested change
|
||||||||||
|
|
||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||
| private boolean isSetMobilePhone = false; | ||||||||||
|
|
@@ -456,9 +454,8 @@ public static PaymentAccountIndicatorEnum fromValue(String value) { | |||||||||
| private boolean isSetSuspiciousActivity = false; | ||||||||||
|
|
||||||||||
| public static final String JSON_PROPERTY_WORK_PHONE = "workPhone"; | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` | ||||||||||
| // instead. | ||||||||||
| private String workPhone; | ||||||||||
| /* deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` instead. */ | ||||||||||
| @Deprecated private String workPhone; | ||||||||||
|
Comment on lines
+457
to
+458
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. The deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.
Suggested change
|
||||||||||
|
|
||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||
| private boolean isSetWorkPhone = false; | ||||||||||
|
|
@@ -797,10 +794,9 @@ public void setDeliveryAddressUsageIndicator( | |||||||||
| * | ||||||||||
| * @param homePhone Shopper's home phone number (including the country code). | ||||||||||
| * @return the current {@code AccountInfo} instance, allowing for method chaining | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.homePhone` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.homePhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| public AccountInfo homePhone(String homePhone) { | ||||||||||
| this.homePhone = homePhone; | ||||||||||
| isSetHomePhone = true; // mark as set | ||||||||||
|
|
@@ -811,11 +807,9 @@ public AccountInfo homePhone(String homePhone) { | |||||||||
| * Shopper's home phone number (including the country code). | ||||||||||
| * | ||||||||||
| * @return homePhone Shopper's home phone number (including the country code). | ||||||||||
| * @deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.homePhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_HOME_PHONE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public String getHomePhone() { | ||||||||||
|
|
@@ -826,10 +820,9 @@ public String getHomePhone() { | |||||||||
| * Shopper's home phone number (including the country code). | ||||||||||
| * | ||||||||||
| * @param homePhone Shopper's home phone number (including the country code). | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.homePhone` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.homePhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_HOME_PHONE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public void setHomePhone(String homePhone) { | ||||||||||
|
|
@@ -842,11 +835,9 @@ public void setHomePhone(String homePhone) { | |||||||||
| * | ||||||||||
| * @param mobilePhone Shopper's mobile phone number (including the country code). | ||||||||||
| * @return the current {@code AccountInfo} instance, allowing for method chaining | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.mobilePhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| public AccountInfo mobilePhone(String mobilePhone) { | ||||||||||
| this.mobilePhone = mobilePhone; | ||||||||||
| isSetMobilePhone = true; // mark as set | ||||||||||
|
|
@@ -857,11 +848,9 @@ public AccountInfo mobilePhone(String mobilePhone) { | |||||||||
| * Shopper's mobile phone number (including the country code). | ||||||||||
| * | ||||||||||
| * @return mobilePhone Shopper's mobile phone number (including the country code). | ||||||||||
| * @deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.mobilePhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public String getMobilePhone() { | ||||||||||
|
|
@@ -872,11 +861,9 @@ public String getMobilePhone() { | |||||||||
| * Shopper's mobile phone number (including the country code). | ||||||||||
| * | ||||||||||
| * @param mobilePhone Shopper's mobile phone number (including the country code). | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.mobilePhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_MOBILE_PHONE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public void setMobilePhone(String mobilePhone) { | ||||||||||
|
|
@@ -1196,10 +1183,9 @@ public void setSuspiciousActivity(Boolean suspiciousActivity) { | |||||||||
| * | ||||||||||
| * @param workPhone Shopper's work phone number (including the country code). | ||||||||||
| * @return the current {@code AccountInfo} instance, allowing for method chaining | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.workPhone` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.workPhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| public AccountInfo workPhone(String workPhone) { | ||||||||||
| this.workPhone = workPhone; | ||||||||||
| isSetWorkPhone = true; // mark as set | ||||||||||
|
|
@@ -1210,11 +1196,9 @@ public AccountInfo workPhone(String workPhone) { | |||||||||
| * Shopper's work phone number (including the country code). | ||||||||||
| * | ||||||||||
| * @return workPhone Shopper's work phone number (including the country code). | ||||||||||
| * @deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.workPhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_WORK_PHONE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public String getWorkPhone() { | ||||||||||
|
|
@@ -1225,10 +1209,9 @@ public String getWorkPhone() { | |||||||||
| * Shopper's work phone number (including the country code). | ||||||||||
| * | ||||||||||
| * @param workPhone Shopper's work phone number (including the country code). | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.workPhone` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `ThreeDS2RequestData.workPhone` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_WORK_PHONE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public void setWorkPhone(String workPhone) { | ||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -111,8 +111,8 @@ public static DeliveryAddressIndicatorEnum fromValue(String value) { | |||||||||
| private boolean isSetDeliveryAddressIndicator = false; | ||||||||||
|
|
||||||||||
| public static final String JSON_PROPERTY_DELIVERY_EMAIL = "deliveryEmail"; | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. | ||||||||||
| private String deliveryEmail; | ||||||||||
| /* deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. */ | ||||||||||
| @Deprecated private String deliveryEmail; | ||||||||||
|
Comment on lines
+114
to
+115
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. The deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.
Suggested change
|
||||||||||
|
|
||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||
| private boolean isSetDeliveryEmail = false; | ||||||||||
|
|
@@ -331,9 +331,9 @@ public void setDeliveryAddressIndicator(DeliveryAddressIndicatorEnum deliveryAdd | |||||||||
| * | ||||||||||
| * @param deliveryEmail The delivery email address (for digital goods). | ||||||||||
| * @return the current {@code MerchantRiskIndicator} instance, allowing for method chaining | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `deliveryEmailAddress` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `deliveryEmailAddress` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. | ||||||||||
| @Deprecated | ||||||||||
| public MerchantRiskIndicator deliveryEmail(String deliveryEmail) { | ||||||||||
| this.deliveryEmail = deliveryEmail; | ||||||||||
| isSetDeliveryEmail = true; // mark as set | ||||||||||
|
|
@@ -344,9 +344,9 @@ public MerchantRiskIndicator deliveryEmail(String deliveryEmail) { | |||||||||
| * The delivery email address (for digital goods). | ||||||||||
| * | ||||||||||
| * @return deliveryEmail The delivery email address (for digital goods). | ||||||||||
| * @deprecated // deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `deliveryEmailAddress` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public String getDeliveryEmail() { | ||||||||||
|
|
@@ -357,9 +357,9 @@ public String getDeliveryEmail() { | |||||||||
| * The delivery email address (for digital goods). | ||||||||||
| * | ||||||||||
| * @param deliveryEmail The delivery email address (for digital goods). | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `deliveryEmailAddress` instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use `deliveryEmailAddress` instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_DELIVERY_EMAIL) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public void setDeliveryEmail(String deliveryEmail) { | ||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -456,17 +456,16 @@ public static FraudRiskLevelEnum fromValue(String value) { | |||||||||
|
|
||||||||||
| public static final String JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE = | ||||||||||
| "recurring.recurringDetailReference"; | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId | ||||||||||
| // instead. | ||||||||||
| private String recurringRecurringDetailReference; | ||||||||||
| /* deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId instead. */ | ||||||||||
| @Deprecated private String recurringRecurringDetailReference; | ||||||||||
|
Comment on lines
+459
to
+460
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. The deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.
Suggested change
|
||||||||||
|
|
||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||
| private boolean isSetRecurringRecurringDetailReference = false; | ||||||||||
|
|
||||||||||
| public static final String JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE = | ||||||||||
| "recurring.shopperReference"; | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.shopperReference instead. | ||||||||||
| private String recurringShopperReference; | ||||||||||
| /* deprecated since Adyen Payment API v68: Use tokenization.shopperReference instead. */ | ||||||||||
| @Deprecated private String recurringShopperReference; | ||||||||||
|
Comment on lines
+467
to
+468
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. The deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.
Suggested change
|
||||||||||
|
|
||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||
| private boolean isSetRecurringShopperReference = false; | ||||||||||
|
|
@@ -2582,8 +2581,7 @@ public void setRecurringFirstPspReference(String recurringFirstPspReference) { | |||||||||
| * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining | ||||||||||
| * @deprecated since Adyen Payment API v68 Use tokenization.storedPaymentMethodId instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| public ResponseAdditionalDataCommon recurringRecurringDetailReference( | ||||||||||
| String recurringRecurringDetailReference) { | ||||||||||
| this.recurringRecurringDetailReference = recurringRecurringDetailReference; | ||||||||||
|
|
@@ -2596,11 +2594,9 @@ public ResponseAdditionalDataCommon recurringRecurringDetailReference( | |||||||||
| * | ||||||||||
| * @return recurringRecurringDetailReference The reference that uniquely identifies the recurring | ||||||||||
| * transaction. | ||||||||||
| * @deprecated // deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use tokenization.storedPaymentMethodId instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public String getRecurringRecurringDetailReference() { | ||||||||||
|
|
@@ -2614,8 +2610,7 @@ public String getRecurringRecurringDetailReference() { | |||||||||
| * transaction. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use tokenization.storedPaymentMethodId instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId | ||||||||||
| // instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_RECURRING_RECURRING_DETAIL_REFERENCE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public void setRecurringRecurringDetailReference(String recurringRecurringDetailReference) { | ||||||||||
|
|
@@ -2631,7 +2626,7 @@ public void setRecurringRecurringDetailReference(String recurringRecurringDetail | |||||||||
| * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining | ||||||||||
| * @deprecated since Adyen Payment API v68 Use tokenization.shopperReference instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.shopperReference instead. | ||||||||||
| @Deprecated | ||||||||||
| public ResponseAdditionalDataCommon recurringShopperReference(String recurringShopperReference) { | ||||||||||
| this.recurringShopperReference = recurringShopperReference; | ||||||||||
| isSetRecurringShopperReference = true; // mark as set | ||||||||||
|
|
@@ -2643,10 +2638,9 @@ public ResponseAdditionalDataCommon recurringShopperReference(String recurringSh | |||||||||
| * | ||||||||||
| * @return recurringShopperReference The provided reference of the shopper for a recurring | ||||||||||
| * transaction. | ||||||||||
| * @deprecated // deprecated since Adyen Payment API v68: Use tokenization.shopperReference | ||||||||||
| * instead. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use tokenization.shopperReference instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.shopperReference instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public String getRecurringShopperReference() { | ||||||||||
|
|
@@ -2660,7 +2654,7 @@ public String getRecurringShopperReference() { | |||||||||
| * transaction. | ||||||||||
| * @deprecated since Adyen Payment API v68 Use tokenization.shopperReference instead. | ||||||||||
| */ | ||||||||||
| @Deprecated // deprecated since Adyen Payment API v68: Use tokenization.shopperReference instead. | ||||||||||
| @Deprecated | ||||||||||
| @JsonProperty(JSON_PROPERTY_RECURRING_SHOPPER_REFERENCE) | ||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||
| public void setRecurringShopperReference(String recurringShopperReference) { | ||||||||||
|
|
||||||||||
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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.