Skip to content
Open
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: 4 additions & 4 deletions sdk-generation-log/legalentitymanagement.json
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
Expand Up @@ -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,
Expand All @@ -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;

Expand Down Expand Up @@ -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;
}
Comment on lines +157 to 163
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.

high

The update to the @JsonCreator constructor is a breaking change for users of the SDK who rely on the previous single-parameter constructor. Additionally, the constructor fails to update the isSetId and isSetIndustryCodeDescription flags. These flags are used by getExplicitNulls() to determine which fields should be explicitly serialized as null. Without setting them to true, any values provided via this constructor will be ignored by the explicit null logic, which can cause issues when round-tripping data.

  public BusinessLine(
      @JsonProperty(JSON_PROPERTY_ID) String id,
      @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) {
    this();
    this.id = id;
    this.isSetId = true; // mark as set
    this.industryCodeDescription = industryCodeDescription;
    this.isSetIndustryCodeDescription = true; // mark as set
  }


/**
Expand Down Expand Up @@ -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
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 field industryCodeDescription is missing a setter and a fluent builder method. This is inconsistent with other fields in this class (like industryCode) and limits the ability to build or modify the object programmatically, especially since the only way to set this field currently is via the constructor which requires the id as well.

  @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)
Expand Down Expand Up @@ -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)
Expand All @@ -590,6 +614,8 @@ public int hashCode() {
isSetId,
industryCode,
isSetIndustryCode,
industryCodeDescription,
isSetIndustryCodeDescription,
legalEntityId,
isSetLegalEntityId,
problems,
Expand All @@ -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");
Expand Down Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;

Expand Down Expand Up @@ -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
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 new @JsonCreator constructor fails to set the isSetIndustryCodeDescription flag to true. This will cause the field to be ignored by the getExplicitNulls() method, preventing explicit null values from being correctly serialized.

Suggested change
public BusinessLineInfo(
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) {
this();
this.industryCodeDescription = industryCodeDescription;
}
public BusinessLineInfo(
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) {
this();
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
}


/**
* 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)
Expand Down Expand Up @@ -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
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 field industryCodeDescription is missing a setter and a fluent builder method, making it inconsistent with other fields in the model and difficult to use programmatically.

  @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)
Expand Down Expand Up @@ -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)
Expand All @@ -510,6 +538,8 @@ public int hashCode() {
return Objects.hash(
industryCode,
isSetIndustryCode,
industryCodeDescription,
isSetIndustryCodeDescription,
legalEntityId,
isSetLegalEntityId,
salesChannels,
Expand All @@ -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");
Expand Down Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand All @@ -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;

Expand Down Expand Up @@ -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
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 new @JsonCreator constructor fails to set the isSetIndustryCodeDescription flag to true. This is particularly important for update models where tracking which fields were explicitly provided is crucial.

Suggested change
public BusinessLineInfoUpdate(
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) {
this();
this.industryCodeDescription = industryCodeDescription;
}
public BusinessLineInfoUpdate(
@JsonProperty(JSON_PROPERTY_INDUSTRY_CODE_DESCRIPTION) String industryCodeDescription) {
this();
this.industryCodeDescription = industryCodeDescription;
this.isSetIndustryCodeDescription = true; // mark as set
}


/**
* A code that represents the industry of your legal entity. For example, **4431A** for computer
* software stores.
Expand Down Expand Up @@ -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
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

Missing setter and fluent method for industryCodeDescription. Since this is an update model, users should be able to set this field easily alongside other updateable fields.

  @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
Expand Down Expand Up @@ -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)
Expand All @@ -336,6 +366,8 @@ public int hashCode() {
return Objects.hash(
industryCode,
isSetIndustryCode,
industryCodeDescription,
isSetIndustryCodeDescription,
salesChannels,
isSetSalesChannels,
sourceOfFunds,
Expand All @@ -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");
Expand Down Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@

/** IbanAccountIdentification */
@JsonPropertyOrder({
IbanAccountIdentification.JSON_PROPERTY_BIC,
IbanAccountIdentification.JSON_PROPERTY_IBAN,
IbanAccountIdentification.JSON_PROPERTY_TYPE
})
public class IbanAccountIdentification {
public static final String JSON_PROPERTY_BIC = "bic";
private String bic;

/** Mark when the attribute has been explicitly set. */
private boolean isSetBic = false;

public static final String JSON_PROPERTY_IBAN = "iban";
private String iban;

Expand Down Expand Up @@ -88,6 +95,41 @@ public static TypeEnum fromValue(String value) {

public IbanAccountIdentification() {}

/**
* The bank&#39;s 8- or 11-character BIC or SWIFT code.
*
* @param bic The bank&#39;s 8- or 11-character BIC or SWIFT code.
* @return the current {@code IbanAccountIdentification} instance, allowing for method chaining
*/
public IbanAccountIdentification bic(String bic) {
this.bic = bic;
isSetBic = true; // mark as set
return this;
}

/**
* The bank&#39;s 8- or 11-character BIC or SWIFT code.
*
* @return bic The bank&#39;s 8- or 11-character BIC or SWIFT code.
*/
@JsonProperty(JSON_PROPERTY_BIC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBic() {
return bic;
}

/**
* The bank&#39;s 8- or 11-character BIC or SWIFT code.
*
* @param bic The bank&#39;s 8- or 11-character BIC or SWIFT code.
*/
@JsonProperty(JSON_PROPERTY_BIC)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBic(String bic) {
this.bic = bic;
isSetBic = true; // mark as set
}

/**
* The international bank account number as defined in the
* [ISO-13616](https://www.iso.org/standard/81090.html) standard.
Expand Down Expand Up @@ -194,21 +236,24 @@ public boolean equals(Object o) {
return false;
}
IbanAccountIdentification ibanAccountIdentification = (IbanAccountIdentification) o;
return Objects.equals(this.iban, ibanAccountIdentification.iban)
return Objects.equals(this.bic, ibanAccountIdentification.bic)
&& Objects.equals(this.isSetBic, ibanAccountIdentification.isSetBic)
&& Objects.equals(this.iban, ibanAccountIdentification.iban)
&& Objects.equals(this.isSetIban, ibanAccountIdentification.isSetIban)
&& Objects.equals(this.type, ibanAccountIdentification.type)
&& Objects.equals(this.isSetType, ibanAccountIdentification.isSetType);
}

@Override
public int hashCode() {
return Objects.hash(iban, isSetIban, type, isSetType);
return Objects.hash(bic, isSetBic, iban, isSetIban, type, isSetType);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IbanAccountIdentification {\n");
sb.append(" bic: ").append(toIndentedString(bic)).append("\n");
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
Expand All @@ -235,6 +280,9 @@ public Map<String, Object> getExplicitNulls() {

Map<String, Object> nulls = new HashMap<>();

if (isSetBic) {
addIfNull(nulls, JSON_PROPERTY_BIC, this.bic);
}
if (isSetIban) {
addIfNull(nulls, JSON_PROPERTY_IBAN, this.iban);
}
Expand Down
Loading