From a5d4c6a98d8aab9399322a517bab2e0ac5ae6efd Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Mon, 20 Apr 2026 10:47:09 +0000 Subject: [PATCH] [legalentitymanagement] Automated update from Adyen/adyen-openapi@3550ecd --- sdk-generation-log/legalentitymanagement.json | 8 +-- .../legalentitymanagement/BusinessLine.java | 34 +++++++++- .../BusinessLineInfo.java | 36 ++++++++++ .../BusinessLineInfoUpdate.java | 38 +++++++++++ .../IbanAccountIdentification.java | 52 +++++++++++++- .../LegalEntityAssociation.java | 68 +++++++++---------- .../legalentitymanagement/Organization.java | 15 +++- .../service/clouddevice/CloudDeviceApi.java | 7 +- .../clouddevice/EncryptedCloudDeviceApi.java | 3 +- .../clouddevice/CloudDeviceApiTerminalIT.java | 6 +- 10 files changed, 216 insertions(+), 51 deletions(-) diff --git a/sdk-generation-log/legalentitymanagement.json b/sdk-generation-log/legalentitymanagement.json index 81a81868d..7c71a9218 100644 --- a/sdk-generation-log/legalentitymanagement.json +++ b/sdk-generation-log/legalentitymanagement.json @@ -1,8 +1,8 @@ { "service": "legalentitymanagement", "project": "java", - "generatedAt": "2026-04-10T08:24:57Z", - "openapiCommitSha": "aa5556ef9586980ba6c319d0750fb38d7bbda09b", - "automationCommitSha": "855b6c5526cb5fae757e921687c38df66d31dc4b", - "libraryCommitSha": "334bfa6a6af849c76a7a28c45a36a692ab0274c3" + "generatedAt": "2026-04-20T10:47:09Z", + "openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5", + "automationCommitSha": "4ad0c0c7e87bc0e5994a9a3350a991d0691350bb", + "libraryCommitSha": "f6491265ec484f8de763b2bf915498ee30b42861" } diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java index 4a69f443e..ff9f4fb89 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java @@ -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; + } + /** * 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 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); } diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java index 769558d8e..a22f260a9 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java @@ -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; + } + /** * 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; + } + /** * 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 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); } diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java index c1ff0c21e..ff07383d7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfoUpdate.java @@ -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 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; + } + /** * 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; + } + /** * 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 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); } diff --git a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java index efc7af63e..a633d8079 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java @@ -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; @@ -88,6 +95,41 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() {} + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic The bank'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's 8- or 11-character BIC or SWIFT code. + * + * @return bic The bank'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's 8- or 11-character BIC or SWIFT code. + * + * @param bic The bank'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. @@ -194,7 +236,9 @@ 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); @@ -202,13 +246,14 @@ public boolean equals(Object o) { @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("}"); @@ -235,6 +280,9 @@ public Map getExplicitNulls() { Map nulls = new HashMap<>(); + if (isSetBic) { + addIfNull(nulls, JSON_PROPERTY_BIC, this.bic); + } if (isSetIban) { addIfNull(nulls, JSON_PROPERTY_IBAN, this.iban); } diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java index 54a45c367..edc48202b 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityAssociation.java @@ -89,10 +89,10 @@ public class LegalEntityAssociation { /** * Defines the relationship of the legal entity to the current legal entity. Possible value for * individuals: **legalRepresentative**. Possible values for organizations: **director**, - * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or - * **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. - * Possible value for trusts: **trust**. Possible values for trust members: - * **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, + * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, + * **ultimateParentCompany**, or **immediateParentCompany**. Possible values for sole + * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values + * for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, * **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated * partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership * members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership** @@ -467,10 +467,10 @@ public void setSettlorExemptionReason(List settlorExemptionReason) { /** * Defines the relationship of the legal entity to the current legal entity. Possible value for * individuals: **legalRepresentative**. Possible values for organizations: **director**, - * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or - * **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. - * Possible value for trusts: **trust**. Possible values for trust members: - * **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, + * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, + * **ultimateParentCompany**, or **immediateParentCompany**. Possible values for sole + * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values + * for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, * **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated * partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership * members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership** @@ -478,12 +478,12 @@ public void setSettlorExemptionReason(List settlorExemptionReason) { * @param type Defines the relationship of the legal entity to the current legal entity. Possible * value for individuals: **legalRepresentative**. Possible values for organizations: * **director**, **signatory**, **trustOwnership**, **uboThroughOwnership**, - * **uboThroughControl**, or **ultimateParentCompany**. Possible values for sole - * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible - * values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, - * **settlor**, **uboThroughControl**, or **uboThroughOwnership**. Possible value for - * unincorporated partnership: **unincorporatedPartnership**. Possible values for - * unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, + * **uboThroughControl**, **ultimateParentCompany**, or **immediateParentCompany**. Possible + * values for sole proprietorships: **soleProprietorship**. Possible value for trusts: + * **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, + * **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. + * Possible value for unincorporated partnership: **unincorporatedPartnership**. Possible + * values for unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, * **uboThroughOwnership** * @return the current {@code LegalEntityAssociation} instance, allowing for method chaining */ @@ -496,10 +496,10 @@ public LegalEntityAssociation type(TypeEnum type) { /** * Defines the relationship of the legal entity to the current legal entity. Possible value for * individuals: **legalRepresentative**. Possible values for organizations: **director**, - * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or - * **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. - * Possible value for trusts: **trust**. Possible values for trust members: - * **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, + * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, + * **ultimateParentCompany**, or **immediateParentCompany**. Possible values for sole + * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values + * for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, * **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated * partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership * members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership** @@ -507,12 +507,12 @@ public LegalEntityAssociation type(TypeEnum type) { * @return type Defines the relationship of the legal entity to the current legal entity. Possible * value for individuals: **legalRepresentative**. Possible values for organizations: * **director**, **signatory**, **trustOwnership**, **uboThroughOwnership**, - * **uboThroughControl**, or **ultimateParentCompany**. Possible values for sole - * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible - * values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, - * **settlor**, **uboThroughControl**, or **uboThroughOwnership**. Possible value for - * unincorporated partnership: **unincorporatedPartnership**. Possible values for - * unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, + * **uboThroughControl**, **ultimateParentCompany**, or **immediateParentCompany**. Possible + * values for sole proprietorships: **soleProprietorship**. Possible value for trusts: + * **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, + * **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. + * Possible value for unincorporated partnership: **unincorporatedPartnership**. Possible + * values for unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, * **uboThroughOwnership** */ @JsonProperty(JSON_PROPERTY_TYPE) @@ -524,10 +524,10 @@ public TypeEnum getType() { /** * Defines the relationship of the legal entity to the current legal entity. Possible value for * individuals: **legalRepresentative**. Possible values for organizations: **director**, - * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, or - * **ultimateParentCompany**. Possible values for sole proprietorships: **soleProprietorship**. - * Possible value for trusts: **trust**. Possible values for trust members: - * **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, + * **signatory**, **trustOwnership**, **uboThroughOwnership**, **uboThroughControl**, + * **ultimateParentCompany**, or **immediateParentCompany**. Possible values for sole + * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible values + * for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, **settlor**, * **uboThroughControl**, or **uboThroughOwnership**. Possible value for unincorporated * partnership: **unincorporatedPartnership**. Possible values for unincorporated partnership * members: **secondaryPartner**, **uboThroughControl**, **uboThroughOwnership** @@ -535,12 +535,12 @@ public TypeEnum getType() { * @param type Defines the relationship of the legal entity to the current legal entity. Possible * value for individuals: **legalRepresentative**. Possible values for organizations: * **director**, **signatory**, **trustOwnership**, **uboThroughOwnership**, - * **uboThroughControl**, or **ultimateParentCompany**. Possible values for sole - * proprietorships: **soleProprietorship**. Possible value for trusts: **trust**. Possible - * values for trust members: **definedBeneficiary**, **protector**, **secondaryTrustee**, - * **settlor**, **uboThroughControl**, or **uboThroughOwnership**. Possible value for - * unincorporated partnership: **unincorporatedPartnership**. Possible values for - * unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, + * **uboThroughControl**, **ultimateParentCompany**, or **immediateParentCompany**. Possible + * values for sole proprietorships: **soleProprietorship**. Possible value for trusts: + * **trust**. Possible values for trust members: **definedBeneficiary**, **protector**, + * **secondaryTrustee**, **settlor**, **uboThroughControl**, or **uboThroughOwnership**. + * Possible value for unincorporated partnership: **unincorporatedPartnership**. Possible + * values for unincorporated partnership members: **secondaryPartner**, **uboThroughControl**, * **uboThroughOwnership** */ @JsonProperty(JSON_PROPERTY_TYPE) diff --git a/src/main/java/com/adyen/model/legalentitymanagement/Organization.java b/src/main/java/com/adyen/model/legalentitymanagement/Organization.java index b93f65121..cecfbba6f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/Organization.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/Organization.java @@ -837,9 +837,12 @@ public void setFinancialReports(List financialReports) { } /** - * The global legal entity identifier for the organization. + * The global legal entity identifier for the organization. This field is not required if the + * `registrationNumber` for the organization has been provided. * * @param globalLegalEntityIdentifier The global legal entity identifier for the organization. + * This field is not required if the `registrationNumber` for the organization has + * been provided. * @return the current {@code Organization} instance, allowing for method chaining */ public Organization globalLegalEntityIdentifier(String globalLegalEntityIdentifier) { @@ -849,9 +852,12 @@ public Organization globalLegalEntityIdentifier(String globalLegalEntityIdentifi } /** - * The global legal entity identifier for the organization. + * The global legal entity identifier for the organization. This field is not required if the + * `registrationNumber` for the organization has been provided. * * @return globalLegalEntityIdentifier The global legal entity identifier for the organization. + * This field is not required if the `registrationNumber` for the organization has + * been provided. */ @JsonProperty(JSON_PROPERTY_GLOBAL_LEGAL_ENTITY_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -860,9 +866,12 @@ public String getGlobalLegalEntityIdentifier() { } /** - * The global legal entity identifier for the organization. + * The global legal entity identifier for the organization. This field is not required if the + * `registrationNumber` for the organization has been provided. * * @param globalLegalEntityIdentifier The global legal entity identifier for the organization. + * This field is not required if the `registrationNumber` for the organization has + * been provided. */ @JsonProperty(JSON_PROPERTY_GLOBAL_LEGAL_ENTITY_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java b/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java index 9de3ea1c3..02238b5e8 100644 --- a/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java +++ b/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java @@ -3,7 +3,6 @@ import com.adyen.Client; import com.adyen.Service; import com.adyen.constants.ApiConstants; -import com.adyen.model.RequestOptions; import com.adyen.model.clouddevice.*; import com.adyen.model.clouddevice.CloudDeviceApiAsyncResponse; import com.adyen.service.exception.ApiException; @@ -142,7 +141,8 @@ public CloudDeviceApiAsyncResponse async( /** * Get a list of connected devices * - * @param merchantAccount {@link String } The unique identifier of the merchant account. (required) + * @param merchantAccount {@link String } The unique identifier of the merchant account. + * (required) * @return {@link ConnectedDevicesResponse } * @throws ApiException if fails to make API call */ @@ -154,7 +154,8 @@ public ConnectedDevicesResponse getConnectedDevices(String merchantAccount) /** * Get a list of connected devices * - * @param merchantAccount {@link String } The unique identifier of the merchant account. (required) + * @param merchantAccount {@link String } The unique identifier of the merchant account. + * (required) * @param store {@link String } Query: The store ID of the store belonging to the merchant account * specified in the path. (optional) * @return {@link ConnectedDevicesResponse } diff --git a/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java b/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java index 8547bc463..8a0da21a7 100644 --- a/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java +++ b/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java @@ -133,8 +133,7 @@ public CloudDeviceApiResponse sync( return CloudDeviceApiResponse.fromJson(response); } - return CloudDeviceApiResponse.fromJson( - nexoSecurityManager.decrypt(saleToPOISecuredResponse)); + return CloudDeviceApiResponse.fromJson(nexoSecurityManager.decrypt(saleToPOISecuredResponse)); } /** diff --git a/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java b/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java index a4f3293b3..979e5cdb7 100644 --- a/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java +++ b/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java @@ -54,7 +54,8 @@ public void sendSync() throws Exception { Assertions.assertNotNull(response); Assertions.assertNotNull(response.getSaleToPOIResponse()); - Assertions.assertEquals(getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); + Assertions.assertEquals( + getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); } @Disabled("Enable when you want to test with the Terminal") @@ -96,7 +97,8 @@ public void sendEncryptedSync() throws Exception { Assertions.assertNotNull(response); Assertions.assertNotNull(response.getSaleToPOIResponse()); - Assertions.assertEquals(getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); + Assertions.assertEquals( + getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); } @Disabled("Enable when you want to test with the Terminal")