-
Notifications
You must be signed in to change notification settings - Fork 151
[legalentitymanagement] Code generation: update services and models #1912
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
base: main
Are you sure you want to change the base?
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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| { | ||
| "service": "legalentitymanagement", | ||
| "project": "java", | ||
| "generatedAt": "2026-04-10T08:24:57Z", | ||
| "openapiCommitSha": "aa5556ef9586980ba6c319d0750fb38d7bbda09b", | ||
| "automationCommitSha": "855b6c5526cb5fae757e921687c38df66d31dc4b", | ||
| "libraryCommitSha": "334bfa6a6af849c76a7a28c45a36a692ab0274c3" | ||
| "generatedAt": "2026-04-15T07:56:32Z", | ||
| "openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5", | ||
| "automationCommitSha": "1ceda93a33430aa189b6141d5f6ea2e61051c7fd", | ||
| "libraryCommitSha": "006de89d9ba7bca5c80eca48bcb5ee5829e763cb" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ | |
| @JsonPropertyOrder({ | ||
| BusinessLine.JSON_PROPERTY_ID, | ||
| BusinessLine.JSON_PROPERTY_INDUSTRY_CODE, | ||
| BusinessLine.JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION, | ||
| BusinessLine.JSON_PROPERTY_LEGAL_ENTITY_ID, | ||
| BusinessLine.JSON_PROPERTY_PROBLEMS, | ||
| BusinessLine.JSON_PROPERTY_SALES_CHANNELS, | ||
|
|
@@ -50,6 +51,12 @@ public class BusinessLine { | |
| /** Mark when the attribute has been explicitly set. */ | ||
| private boolean isSetIndustryCode = false; | ||
|
|
||
| public static final String JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION = "industryCodeDescription"; | ||
| private String industryCodeDescription; | ||
|
|
||
| /** Mark when the attribute has been explicitly set. */ | ||
| private boolean isSetIndustryCodeDescription = false; | ||
|
|
||
| public static final String JSON_PROPERTY_LEGAL_ENTITY_ID = "legalEntityId"; | ||
| private String legalEntityId; | ||
|
|
||
|
|
@@ -147,9 +154,12 @@ public static ServiceEnum fromValue(String value) { | |
| public BusinessLine() {} | ||
|
|
||
| @JsonCreator | ||
| public BusinessLine(@JsonProperty(JSON_PROPERTY_ID) String id) { | ||
| public BusinessLine( | ||
| @JsonProperty(JSON_PROPERTY_ID) String id, | ||
| @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) { | ||
| this(); | ||
| this.id = id; | ||
| this.industryCodeDescription = industryCodeDescription; | ||
| } | ||
|
|
||
| /** | ||
|
|
@@ -222,6 +232,17 @@ public void setIndustryCode(String industryCode) { | |
| isSetIndustryCode = true; // mark as set | ||
| } | ||
|
|
||
| /** | ||
| * The description of the industry code. | ||
| * | ||
| * @return industryCodeDescription The description of the industry code. | ||
| */ | ||
| @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) | ||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
| public String getIndustryCodeDescription() { | ||
| return industryCodeDescription; | ||
| } | ||
|
Comment on lines
+240
to
+244
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 field @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIndustryCodeDescription() {
return industryCodeDescription;
}
/**
* The description of the industry code.
*
* @param industryCodeDescription The description of the industry code.
*/
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIndustryCodeDescription(String industryCodeDescription) {
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
}
/**
* The description of the industry code.
*
* @param industryCodeDescription The description of the industry code.
* @return the current {@code BusinessLine} instance, allowing for method chaining
*/
public BusinessLine industryCodeDescription(String industryCodeDescription) {
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
return this;
} |
||
|
|
||
| /** | ||
| * Unique identifier of the [legal | ||
| * entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) | ||
|
|
@@ -567,6 +588,9 @@ public boolean equals(Object o) { | |
| && Objects.equals(this.isSetId, businessLine.isSetId) | ||
| && Objects.equals(this.industryCode, businessLine.industryCode) | ||
| && Objects.equals(this.isSetIndustryCode, businessLine.isSetIndustryCode) | ||
| && Objects.equals(this.industryCodeDescription, businessLine.industryCodeDescription) | ||
| && Objects.equals( | ||
| this.isSetIndustryCodeDescription, businessLine.isSetIndustryCodeDescription) | ||
| && Objects.equals(this.legalEntityId, businessLine.legalEntityId) | ||
| && Objects.equals(this.isSetLegalEntityId, businessLine.isSetLegalEntityId) | ||
| && Objects.equals(this.problems, businessLine.problems) | ||
|
|
@@ -590,6 +614,8 @@ public int hashCode() { | |
| isSetId, | ||
| industryCode, | ||
| isSetIndustryCode, | ||
| industryCodeDescription, | ||
| isSetIndustryCodeDescription, | ||
| legalEntityId, | ||
| isSetLegalEntityId, | ||
| problems, | ||
|
|
@@ -612,6 +638,9 @@ public String toString() { | |
| sb.append("class BusinessLine {\n"); | ||
| sb.append(" id: ").append(toIndentedString(id)).append("\n"); | ||
| sb.append(" industryCode: ").append(toIndentedString(industryCode)).append("\n"); | ||
| sb.append(" industryCodeDescription: ") | ||
| .append(toIndentedString(industryCodeDescription)) | ||
| .append("\n"); | ||
| sb.append(" legalEntityId: ").append(toIndentedString(legalEntityId)).append("\n"); | ||
| sb.append(" problems: ").append(toIndentedString(problems)).append("\n"); | ||
| sb.append(" salesChannels: ").append(toIndentedString(salesChannels)).append("\n"); | ||
|
|
@@ -649,6 +678,9 @@ public Map<String, Object> getExplicitNulls() { | |
| if (isSetIndustryCode) { | ||
| addIfNull(nulls, JSON_PROPERTY_INDUSTRY_CODE, this.industryCode); | ||
| } | ||
| if (isSetIndustryCodeDescription) { | ||
| addIfNull(nulls, JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION, this.industryCodeDescription); | ||
| } | ||
| if (isSetLegalEntityId) { | ||
| addIfNull(nulls, JSON_PROPERTY_LEGAL_ENTITY_ID, this.legalEntityId); | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -28,6 +28,7 @@ | |||||||||||||||||||||||
| /** BusinessLineInfo */ | ||||||||||||||||||||||||
| @JsonPropertyOrder({ | ||||||||||||||||||||||||
| BusinessLineInfo.JSON_PROPERTY_INDUSTRY_CODE, | ||||||||||||||||||||||||
| BusinessLineInfo.JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION, | ||||||||||||||||||||||||
| BusinessLineInfo.JSON_PROPERTY_LEGAL_ENTITY_ID, | ||||||||||||||||||||||||
| BusinessLineInfo.JSON_PROPERTY_SALES_CHANNELS, | ||||||||||||||||||||||||
| BusinessLineInfo.JSON_PROPERTY_SERVICE, | ||||||||||||||||||||||||
|
|
@@ -42,6 +43,12 @@ public class BusinessLineInfo { | |||||||||||||||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||||||||||||||||
| private boolean isSetIndustryCode = false; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| public static final String JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION = "industryCodeDescription"; | ||||||||||||||||||||||||
| private String industryCodeDescription; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||||||||||||||||
| private boolean isSetIndustryCodeDescription = false; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| public static final String JSON_PROPERTY_LEGAL_ENTITY_ID = "legalEntityId"; | ||||||||||||||||||||||||
| private String legalEntityId; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
@@ -132,6 +139,13 @@ public static ServiceEnum fromValue(String value) { | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| public BusinessLineInfo() {} | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @JsonCreator | ||||||||||||||||||||||||
| public BusinessLineInfo( | ||||||||||||||||||||||||
| @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) { | ||||||||||||||||||||||||
| this(); | ||||||||||||||||||||||||
| this.industryCodeDescription = industryCodeDescription; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
+143
to
+147
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 new
Suggested change
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||
| * A code that represents the industry of the legal entity for | ||||||||||||||||||||||||
| * [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) | ||||||||||||||||||||||||
|
|
@@ -191,6 +205,17 @@ public void setIndustryCode(String industryCode) { | |||||||||||||||||||||||
| isSetIndustryCode = true; // mark as set | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||
| * The description of the industry code. | ||||||||||||||||||||||||
| * | ||||||||||||||||||||||||
| * @return industryCodeDescription The description of the industry code. | ||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||
| @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) | ||||||||||||||||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||||||||||||||||
| public String getIndustryCodeDescription() { | ||||||||||||||||||||||||
| return industryCodeDescription; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
+213
to
+217
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 field @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIndustryCodeDescription() {
return industryCodeDescription;
}
/**
* The description of the industry code.
*
* @param industryCodeDescription The description of the industry code.
*/
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIndustryCodeDescription(String industryCodeDescription) {
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
}
/**
* The description of the industry code.
*
* @param industryCodeDescription The description of the industry code.
* @return the current {@code BusinessLineInfo} instance, allowing for method chaining
*/
public BusinessLineInfo industryCodeDescription(String industryCodeDescription) {
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
return this;
} |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||
| * Unique identifier of the [legal | ||||||||||||||||||||||||
| * entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) | ||||||||||||||||||||||||
|
|
@@ -491,6 +516,9 @@ public boolean equals(Object o) { | |||||||||||||||||||||||
| BusinessLineInfo businessLineInfo = (BusinessLineInfo) o; | ||||||||||||||||||||||||
| return Objects.equals(this.industryCode, businessLineInfo.industryCode) | ||||||||||||||||||||||||
| && Objects.equals(this.isSetIndustryCode, businessLineInfo.isSetIndustryCode) | ||||||||||||||||||||||||
| && Objects.equals(this.industryCodeDescription, businessLineInfo.industryCodeDescription) | ||||||||||||||||||||||||
| && Objects.equals( | ||||||||||||||||||||||||
| this.isSetIndustryCodeDescription, businessLineInfo.isSetIndustryCodeDescription) | ||||||||||||||||||||||||
| && Objects.equals(this.legalEntityId, businessLineInfo.legalEntityId) | ||||||||||||||||||||||||
| && Objects.equals(this.isSetLegalEntityId, businessLineInfo.isSetLegalEntityId) | ||||||||||||||||||||||||
| && Objects.equals(this.salesChannels, businessLineInfo.salesChannels) | ||||||||||||||||||||||||
|
|
@@ -510,6 +538,8 @@ public int hashCode() { | |||||||||||||||||||||||
| return Objects.hash( | ||||||||||||||||||||||||
| industryCode, | ||||||||||||||||||||||||
| isSetIndustryCode, | ||||||||||||||||||||||||
| industryCodeDescription, | ||||||||||||||||||||||||
| isSetIndustryCodeDescription, | ||||||||||||||||||||||||
| legalEntityId, | ||||||||||||||||||||||||
| isSetLegalEntityId, | ||||||||||||||||||||||||
| salesChannels, | ||||||||||||||||||||||||
|
|
@@ -529,6 +559,9 @@ public String toString() { | |||||||||||||||||||||||
| StringBuilder sb = new StringBuilder(); | ||||||||||||||||||||||||
| sb.append("class BusinessLineInfo {\n"); | ||||||||||||||||||||||||
| sb.append(" industryCode: ").append(toIndentedString(industryCode)).append("\n"); | ||||||||||||||||||||||||
| sb.append(" industryCodeDescription: ") | ||||||||||||||||||||||||
| .append(toIndentedString(industryCodeDescription)) | ||||||||||||||||||||||||
| .append("\n"); | ||||||||||||||||||||||||
| sb.append(" legalEntityId: ").append(toIndentedString(legalEntityId)).append("\n"); | ||||||||||||||||||||||||
| sb.append(" salesChannels: ").append(toIndentedString(salesChannels)).append("\n"); | ||||||||||||||||||||||||
| sb.append(" service: ").append(toIndentedString(service)).append("\n"); | ||||||||||||||||||||||||
|
|
@@ -562,6 +595,9 @@ public Map<String, Object> getExplicitNulls() { | |||||||||||||||||||||||
| if (isSetIndustryCode) { | ||||||||||||||||||||||||
| addIfNull(nulls, JSON_PROPERTY_INDUSTRY_CODE, this.industryCode); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| if (isSetIndustryCodeDescription) { | ||||||||||||||||||||||||
| addIfNull(nulls, JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION, this.industryCodeDescription); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| if (isSetLegalEntityId) { | ||||||||||||||||||||||||
| addIfNull(nulls, JSON_PROPERTY_LEGAL_ENTITY_ID, this.legalEntityId); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -12,6 +12,7 @@ | |||||||||||||||||||||||
| package com.adyen.model.legalentitymanagement; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||||||||||||||||||||||||
| import com.fasterxml.jackson.annotation.JsonCreator; | ||||||||||||||||||||||||
| import com.fasterxml.jackson.annotation.JsonIgnore; | ||||||||||||||||||||||||
| import com.fasterxml.jackson.annotation.JsonInclude; | ||||||||||||||||||||||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||||||||||||||||||||||
|
|
@@ -24,6 +25,7 @@ | |||||||||||||||||||||||
| /** BusinessLineInfoUpdate */ | ||||||||||||||||||||||||
| @JsonPropertyOrder({ | ||||||||||||||||||||||||
| BusinessLineInfoUpdate.JSON_PROPERTY_INDUSTRY_CODE, | ||||||||||||||||||||||||
| BusinessLineInfoUpdate.JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION, | ||||||||||||||||||||||||
| BusinessLineInfoUpdate.JSON_PROPERTY_SALES_CHANNELS, | ||||||||||||||||||||||||
| BusinessLineInfoUpdate.JSON_PROPERTY_SOURCE_OF_FUNDS, | ||||||||||||||||||||||||
| BusinessLineInfoUpdate.JSON_PROPERTY_WEB_DATA, | ||||||||||||||||||||||||
|
|
@@ -36,6 +38,12 @@ public class BusinessLineInfoUpdate { | |||||||||||||||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||||||||||||||||
| private boolean isSetIndustryCode = false; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| public static final String JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION = "industryCodeDescription"; | ||||||||||||||||||||||||
| private String industryCodeDescription; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** Mark when the attribute has been explicitly set. */ | ||||||||||||||||||||||||
| private boolean isSetIndustryCodeDescription = false; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| public static final String JSON_PROPERTY_SALES_CHANNELS = "salesChannels"; | ||||||||||||||||||||||||
| private List<String> salesChannels; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
@@ -68,6 +76,13 @@ public class BusinessLineInfoUpdate { | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| public BusinessLineInfoUpdate() {} | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @JsonCreator | ||||||||||||||||||||||||
| public BusinessLineInfoUpdate( | ||||||||||||||||||||||||
| @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) { | ||||||||||||||||||||||||
| this(); | ||||||||||||||||||||||||
| this.industryCodeDescription = industryCodeDescription; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
+80
to
+84
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 new
Suggested change
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||
| * A code that represents the industry of your legal entity. For example, **4431A** for computer | ||||||||||||||||||||||||
| * software stores. | ||||||||||||||||||||||||
|
|
@@ -109,6 +124,17 @@ public void setIndustryCode(String industryCode) { | |||||||||||||||||||||||
| isSetIndustryCode = true; // mark as set | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||
| * The description of the industry code. | ||||||||||||||||||||||||
| * | ||||||||||||||||||||||||
| * @return industryCodeDescription The description of the industry code. | ||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||
| @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) | ||||||||||||||||||||||||
| @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||||||||||||||||||||||||
| public String getIndustryCodeDescription() { | ||||||||||||||||||||||||
| return industryCodeDescription; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
+132
to
+136
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. Missing setter and fluent method for @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIndustryCodeDescription() {
return industryCodeDescription;
}
/**
* The description of the industry code.
*
* @param industryCodeDescription The description of the industry code.
*/
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIndustryCodeDescription(String industryCodeDescription) {
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
}
/**
* The description of the industry code.
*
* @param industryCodeDescription The description of the industry code.
* @return the current {@code BusinessLineInfoUpdate} instance, allowing for method chaining
*/
public BusinessLineInfoUpdate industryCodeDescription(String industryCodeDescription) {
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
return this;
} |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||
| * A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, | ||||||||||||||||||||||||
| * **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the | ||||||||||||||||||||||||
|
|
@@ -321,6 +347,10 @@ public boolean equals(Object o) { | |||||||||||||||||||||||
| BusinessLineInfoUpdate businessLineInfoUpdate = (BusinessLineInfoUpdate) o; | ||||||||||||||||||||||||
| return Objects.equals(this.industryCode, businessLineInfoUpdate.industryCode) | ||||||||||||||||||||||||
| && Objects.equals(this.isSetIndustryCode, businessLineInfoUpdate.isSetIndustryCode) | ||||||||||||||||||||||||
| && Objects.equals( | ||||||||||||||||||||||||
| this.industryCodeDescription, businessLineInfoUpdate.industryCodeDescription) | ||||||||||||||||||||||||
| && Objects.equals( | ||||||||||||||||||||||||
| this.isSetIndustryCodeDescription, businessLineInfoUpdate.isSetIndustryCodeDescription) | ||||||||||||||||||||||||
| && Objects.equals(this.salesChannels, businessLineInfoUpdate.salesChannels) | ||||||||||||||||||||||||
| && Objects.equals(this.isSetSalesChannels, businessLineInfoUpdate.isSetSalesChannels) | ||||||||||||||||||||||||
| && Objects.equals(this.sourceOfFunds, businessLineInfoUpdate.sourceOfFunds) | ||||||||||||||||||||||||
|
|
@@ -336,6 +366,8 @@ public int hashCode() { | |||||||||||||||||||||||
| return Objects.hash( | ||||||||||||||||||||||||
| industryCode, | ||||||||||||||||||||||||
| isSetIndustryCode, | ||||||||||||||||||||||||
| industryCodeDescription, | ||||||||||||||||||||||||
| isSetIndustryCodeDescription, | ||||||||||||||||||||||||
| salesChannels, | ||||||||||||||||||||||||
| isSetSalesChannels, | ||||||||||||||||||||||||
| sourceOfFunds, | ||||||||||||||||||||||||
|
|
@@ -351,6 +383,9 @@ public String toString() { | |||||||||||||||||||||||
| StringBuilder sb = new StringBuilder(); | ||||||||||||||||||||||||
| sb.append("class BusinessLineInfoUpdate {\n"); | ||||||||||||||||||||||||
| sb.append(" industryCode: ").append(toIndentedString(industryCode)).append("\n"); | ||||||||||||||||||||||||
| sb.append(" industryCodeDescription: ") | ||||||||||||||||||||||||
| .append(toIndentedString(industryCodeDescription)) | ||||||||||||||||||||||||
| .append("\n"); | ||||||||||||||||||||||||
| sb.append(" salesChannels: ").append(toIndentedString(salesChannels)).append("\n"); | ||||||||||||||||||||||||
| sb.append(" sourceOfFunds: ").append(toIndentedString(sourceOfFunds)).append("\n"); | ||||||||||||||||||||||||
| sb.append(" webData: ").append(toIndentedString(webData)).append("\n"); | ||||||||||||||||||||||||
|
|
@@ -382,6 +417,9 @@ public Map<String, Object> getExplicitNulls() { | |||||||||||||||||||||||
| if (isSetIndustryCode) { | ||||||||||||||||||||||||
| addIfNull(nulls, JSON_PROPERTY_INDUSTRY_CODE, this.industryCode); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| if (isSetIndustryCodeDescription) { | ||||||||||||||||||||||||
| addIfNull(nulls, JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION, this.industryCodeDescription); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| if (isSetSalesChannels) { | ||||||||||||||||||||||||
| addIfNull(nulls, JSON_PROPERTY_SALES_CHANNELS, this.salesChannels); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
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 update to the
@JsonCreatorconstructor is a breaking change for users of the SDK who rely on the previous single-parameter constructor. Additionally, the constructor fails to update theisSetIdandisSetIndustryCodeDescriptionflags. These flags are used bygetExplicitNulls()to determine which fields should be explicitly serialized asnull. Without setting them totrue, any values provided via this constructor will be ignored by the explicit null logic, which can cause issues when round-tripping data.