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
8 changes: 8 additions & 0 deletions sdk-generation-log/payment.json
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"
}
65 changes: 24 additions & 41 deletions src/main/java/com/adyen/model/payment/AccountInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Comment on lines +294 to +295

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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.

Suggested change
/* deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.homePhone` instead. */
@Deprecated private String homePhone;
@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

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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.

Suggested change
/* deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.mobilePhone` instead. */
@Deprecated private String mobilePhone;
@Deprecated
private String mobilePhone;


/** Mark when the attribute has been explicitly set. */
private boolean isSetMobilePhone = false;
Expand Down Expand Up @@ -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

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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.

Suggested change
/* deprecated since Adyen Payment API v68: Use `ThreeDS2RequestData.workPhone` instead. */
@Deprecated private String workPhone;
@Deprecated
private String workPhone;


/** Mark when the attribute has been explicitly set. */
private boolean isSetWorkPhone = false;
Expand Down Expand Up @@ -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
Expand All @@ -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() {
Expand All @@ -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) {
Expand All @@ -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
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down Expand Up @@ -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
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.

Suggested change
/* deprecated since Adyen Payment API v68: Use `deliveryEmailAddress` instead. */
@Deprecated private String deliveryEmail;
@Deprecated
private String deliveryEmail;


/** Mark when the attribute has been explicitly set. */
private boolean isSetDeliveryEmail = false;
Expand Down Expand Up @@ -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
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.

Suggested change
/* deprecated since Adyen Payment API v68: Use tokenization.storedPaymentMethodId instead. */
@Deprecated private String recurringRecurringDetailReference;
@Deprecated
private String recurringRecurringDetailReference;


/** 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

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 deprecated annotation should be placed on its own line for better readability and to follow standard Java practices.

Suggested change
/* deprecated since Adyen Payment API v68: Use tokenization.shopperReference instead. */
@Deprecated private String recurringShopperReference;
@Deprecated
private String recurringShopperReference;


/** Mark when the attribute has been explicitly set. */
private boolean isSetRecurringShopperReference = false;
Expand Down Expand Up @@ -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;
Expand All @@ -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() {
Expand All @@ -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) {
Expand All @@ -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
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down
Loading
Loading