diff --git a/sdk-generation-log/legalentitymanagement.json b/sdk-generation-log/legalentitymanagement.json new file mode 100644 index 000000000..7b8b119a3 --- /dev/null +++ b/sdk-generation-log/legalentitymanagement.json @@ -0,0 +1,8 @@ +{ + "service": "legalentitymanagement", + "project": "php", + "generatedAt": "2026-04-20T10:49:52Z", + "openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5", + "automationCommitSha": "4ad0c0c7e87bc0e5994a9a3350a991d0691350bb", + "libraryCommitSha": "543a990aa9c3dc0c5899292b33c6762d153edca7" +} diff --git a/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php index 75fe5aea9..b29dc4165 100644 --- a/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php @@ -51,9 +51,9 @@ class BankAccountInfoAccountIdentification implements ModelInterface, ArrayAcces 'transitNumber' => 'string', 'bankCode' => 'string', 'clearingCode' => 'string', + 'bic' => 'string', 'iban' => 'string', 'additionalBankIdentification' => '\Adyen\Model\LegalEntityManagement\AdditionalBankIdentification', - 'bic' => 'string', 'clearingNumber' => 'string', 'sortCode' => 'string', 'routingNumber' => 'string' @@ -75,9 +75,9 @@ class BankAccountInfoAccountIdentification implements ModelInterface, ArrayAcces 'transitNumber' => null, 'bankCode' => null, 'clearingCode' => null, + 'bic' => null, 'iban' => null, 'additionalBankIdentification' => null, - 'bic' => null, 'clearingNumber' => null, 'sortCode' => null, 'routingNumber' => null @@ -97,9 +97,9 @@ class BankAccountInfoAccountIdentification implements ModelInterface, ArrayAcces 'transitNumber' => false, 'bankCode' => false, 'clearingCode' => false, + 'bic' => false, 'iban' => false, 'additionalBankIdentification' => false, - 'bic' => false, 'clearingNumber' => false, 'sortCode' => false, 'routingNumber' => false @@ -199,9 +199,9 @@ public function isNullableSetToNull(string $property): bool 'transitNumber' => 'transitNumber', 'bankCode' => 'bankCode', 'clearingCode' => 'clearingCode', + 'bic' => 'bic', 'iban' => 'iban', 'additionalBankIdentification' => 'additionalBankIdentification', - 'bic' => 'bic', 'clearingNumber' => 'clearingNumber', 'sortCode' => 'sortCode', 'routingNumber' => 'routingNumber' @@ -221,9 +221,9 @@ public function isNullableSetToNull(string $property): bool 'transitNumber' => 'setTransitNumber', 'bankCode' => 'setBankCode', 'clearingCode' => 'setClearingCode', + 'bic' => 'setBic', 'iban' => 'setIban', 'additionalBankIdentification' => 'setAdditionalBankIdentification', - 'bic' => 'setBic', 'clearingNumber' => 'setClearingNumber', 'sortCode' => 'setSortCode', 'routingNumber' => 'setRoutingNumber' @@ -243,9 +243,9 @@ public function isNullableSetToNull(string $property): bool 'transitNumber' => 'getTransitNumber', 'bankCode' => 'getBankCode', 'clearingCode' => 'getClearingCode', + 'bic' => 'getBic', 'iban' => 'getIban', 'additionalBankIdentification' => 'getAdditionalBankIdentification', - 'bic' => 'getBic', 'clearingNumber' => 'getClearingNumber', 'sortCode' => 'getSortCode', 'routingNumber' => 'getRoutingNumber' @@ -315,9 +315,9 @@ public function __construct(?array $data = null) $this->setIfExists('transitNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); $this->setIfExists('clearingCode', $data ?? [], null); + $this->setIfExists('bic', $data ?? [], null); $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('additionalBankIdentification', $data ?? [], null); - $this->setIfExists('bic', $data ?? [], null); $this->setIfExists('clearingNumber', $data ?? [], null); $this->setIfExists('sortCode', $data ?? [], null); $this->setIfExists('routingNumber', $data ?? [], null); @@ -373,12 +373,12 @@ public function listInvalidProperties() if ($this->container['clearingCode'] === null) { $invalidProperties[] = "'clearingCode' can't be null"; } - if ($this->container['iban'] === null) { - $invalidProperties[] = "'iban' can't be null"; - } if ($this->container['bic'] === null) { $invalidProperties[] = "'bic' can't be null"; } + if ($this->container['iban'] === null) { + $invalidProperties[] = "'iban' can't be null"; + } if ($this->container['clearingNumber'] === null) { $invalidProperties[] = "'clearingNumber' can't be null"; } @@ -596,73 +596,73 @@ public function setClearingCode($clearingCode) } /** - * Gets iban + * Gets bic * * @return string */ - public function getIban() + public function getBic() { - return $this->container['iban']; + return $this->container['bic']; } /** - * Sets iban + * Sets bic * - * @param string $iban The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * @param string $bic The bank's 8- or 11-character BIC or SWIFT code. * * @return self */ - public function setIban($iban) + public function setBic($bic) { - $this->container['iban'] = $iban; + $this->container['bic'] = $bic; return $this; } /** - * Gets additionalBankIdentification + * Gets iban * - * @return \Adyen\Model\LegalEntityManagement\AdditionalBankIdentification|null + * @return string */ - public function getAdditionalBankIdentification() + public function getIban() { - return $this->container['additionalBankIdentification']; + return $this->container['iban']; } /** - * Sets additionalBankIdentification + * Sets iban * - * @param \Adyen\Model\LegalEntityManagement\AdditionalBankIdentification|null $additionalBankIdentification additionalBankIdentification + * @param string $iban The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. * * @return self */ - public function setAdditionalBankIdentification($additionalBankIdentification) + public function setIban($iban) { - $this->container['additionalBankIdentification'] = $additionalBankIdentification; + $this->container['iban'] = $iban; return $this; } /** - * Gets bic + * Gets additionalBankIdentification * - * @return string + * @return \Adyen\Model\LegalEntityManagement\AdditionalBankIdentification|null */ - public function getBic() + public function getAdditionalBankIdentification() { - return $this->container['bic']; + return $this->container['additionalBankIdentification']; } /** - * Sets bic + * Sets additionalBankIdentification * - * @param string $bic The bank's 8- or 11-character BIC or SWIFT code. + * @param \Adyen\Model\LegalEntityManagement\AdditionalBankIdentification|null $additionalBankIdentification additionalBankIdentification * * @return self */ - public function setBic($bic) + public function setAdditionalBankIdentification($additionalBankIdentification) { - $this->container['bic'] = $bic; + $this->container['additionalBankIdentification'] = $additionalBankIdentification; return $this; } diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLine.php b/src/Adyen/Model/LegalEntityManagement/BusinessLine.php index e989d17f5..32bcd59c5 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLine.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLine.php @@ -43,6 +43,7 @@ class BusinessLine implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'id' => 'string', 'industryCode' => 'string', + 'industryCodeDescription' => 'string', 'legalEntityId' => 'string', 'problems' => '\Adyen\Model\LegalEntityManagement\CapabilityProblem[]', 'salesChannels' => 'string[]', @@ -62,6 +63,7 @@ class BusinessLine implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPIFormats = [ 'id' => null, 'industryCode' => null, + 'industryCodeDescription' => null, 'legalEntityId' => null, 'problems' => null, 'salesChannels' => null, @@ -79,6 +81,7 @@ class BusinessLine implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPINullables = [ 'id' => false, 'industryCode' => false, + 'industryCodeDescription' => false, 'legalEntityId' => false, 'problems' => false, 'salesChannels' => false, @@ -176,6 +179,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'id' => 'id', 'industryCode' => 'industryCode', + 'industryCodeDescription' => 'industryCodeDescription', 'legalEntityId' => 'legalEntityId', 'problems' => 'problems', 'salesChannels' => 'salesChannels', @@ -193,6 +197,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'id' => 'setId', 'industryCode' => 'setIndustryCode', + 'industryCodeDescription' => 'setIndustryCodeDescription', 'legalEntityId' => 'setLegalEntityId', 'problems' => 'setProblems', 'salesChannels' => 'setSalesChannels', @@ -210,6 +215,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'id' => 'getId', 'industryCode' => 'getIndustryCode', + 'industryCodeDescription' => 'getIndustryCodeDescription', 'legalEntityId' => 'getLegalEntityId', 'problems' => 'getProblems', 'salesChannels' => 'getSalesChannels', @@ -294,6 +300,7 @@ public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('industryCode', $data ?? [], null); + $this->setIfExists('industryCodeDescription', $data ?? [], null); $this->setIfExists('legalEntityId', $data ?? [], null); $this->setIfExists('problems', $data ?? [], null); $this->setIfExists('salesChannels', $data ?? [], null); @@ -414,6 +421,30 @@ public function setIndustryCode($industryCode) return $this; } + /** + * Gets industryCodeDescription + * + * @return string|null + */ + public function getIndustryCodeDescription() + { + return $this->container['industryCodeDescription']; + } + + /** + * Sets industryCodeDescription + * + * @param string|null $industryCodeDescription The description of the industry code. + * + * @return self + */ + public function setIndustryCodeDescription($industryCodeDescription) + { + $this->container['industryCodeDescription'] = $industryCodeDescription; + + return $this; + } + /** * Gets legalEntityId * diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php index a8baf10fe..f1e8078c0 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php @@ -42,6 +42,7 @@ class BusinessLineInfo implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'industryCode' => 'string', + 'industryCodeDescription' => 'string', 'legalEntityId' => 'string', 'salesChannels' => 'string[]', 'service' => 'string', @@ -59,6 +60,7 @@ class BusinessLineInfo implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPIFormats = [ 'industryCode' => null, + 'industryCodeDescription' => null, 'legalEntityId' => null, 'salesChannels' => null, 'service' => null, @@ -74,6 +76,7 @@ class BusinessLineInfo implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPINullables = [ 'industryCode' => false, + 'industryCodeDescription' => false, 'legalEntityId' => false, 'salesChannels' => false, 'service' => false, @@ -169,6 +172,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'industryCode' => 'industryCode', + 'industryCodeDescription' => 'industryCodeDescription', 'legalEntityId' => 'legalEntityId', 'salesChannels' => 'salesChannels', 'service' => 'service', @@ -184,6 +188,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'industryCode' => 'setIndustryCode', + 'industryCodeDescription' => 'setIndustryCodeDescription', 'legalEntityId' => 'setLegalEntityId', 'salesChannels' => 'setSalesChannels', 'service' => 'setService', @@ -199,6 +204,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'industryCode' => 'getIndustryCode', + 'industryCodeDescription' => 'getIndustryCodeDescription', 'legalEntityId' => 'getLegalEntityId', 'salesChannels' => 'getSalesChannels', 'service' => 'getService', @@ -281,6 +287,7 @@ public function getServiceAllowableValues() public function __construct(?array $data = null) { $this->setIfExists('industryCode', $data ?? [], null); + $this->setIfExists('industryCodeDescription', $data ?? [], null); $this->setIfExists('legalEntityId', $data ?? [], null); $this->setIfExists('salesChannels', $data ?? [], null); $this->setIfExists('service', $data ?? [], null); @@ -373,6 +380,30 @@ public function setIndustryCode($industryCode) return $this; } + /** + * Gets industryCodeDescription + * + * @return string|null + */ + public function getIndustryCodeDescription() + { + return $this->container['industryCodeDescription']; + } + + /** + * Sets industryCodeDescription + * + * @param string|null $industryCodeDescription The description of the industry code. + * + * @return self + */ + public function setIndustryCodeDescription($industryCodeDescription) + { + $this->container['industryCodeDescription'] = $industryCodeDescription; + + return $this; + } + /** * Gets legalEntityId * diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php index 7ef4ca4a1..1c8dc42c1 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php @@ -42,6 +42,7 @@ class BusinessLineInfoUpdate implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPITypes = [ 'industryCode' => 'string', + 'industryCodeDescription' => 'string', 'salesChannels' => 'string[]', 'sourceOfFunds' => '\Adyen\Model\LegalEntityManagement\SourceOfFunds', 'webData' => '\Adyen\Model\LegalEntityManagement\WebData[]', @@ -57,6 +58,7 @@ class BusinessLineInfoUpdate implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPIFormats = [ 'industryCode' => null, + 'industryCodeDescription' => null, 'salesChannels' => null, 'sourceOfFunds' => null, 'webData' => null, @@ -70,6 +72,7 @@ class BusinessLineInfoUpdate implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPINullables = [ 'industryCode' => false, + 'industryCodeDescription' => false, 'salesChannels' => false, 'sourceOfFunds' => false, 'webData' => false, @@ -163,6 +166,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'industryCode' => 'industryCode', + 'industryCodeDescription' => 'industryCodeDescription', 'salesChannels' => 'salesChannels', 'sourceOfFunds' => 'sourceOfFunds', 'webData' => 'webData', @@ -176,6 +180,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'industryCode' => 'setIndustryCode', + 'industryCodeDescription' => 'setIndustryCodeDescription', 'salesChannels' => 'setSalesChannels', 'sourceOfFunds' => 'setSourceOfFunds', 'webData' => 'setWebData', @@ -189,6 +194,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'industryCode' => 'getIndustryCode', + 'industryCodeDescription' => 'getIndustryCodeDescription', 'salesChannels' => 'getSalesChannels', 'sourceOfFunds' => 'getSourceOfFunds', 'webData' => 'getWebData', @@ -253,6 +259,7 @@ public function getModelName() public function __construct(?array $data = null) { $this->setIfExists('industryCode', $data ?? [], null); + $this->setIfExists('industryCodeDescription', $data ?? [], null); $this->setIfExists('salesChannels', $data ?? [], null); $this->setIfExists('sourceOfFunds', $data ?? [], null); $this->setIfExists('webData', $data ?? [], null); @@ -325,6 +332,30 @@ public function setIndustryCode($industryCode) return $this; } + /** + * Gets industryCodeDescription + * + * @return string|null + */ + public function getIndustryCodeDescription() + { + return $this->container['industryCodeDescription']; + } + + /** + * Sets industryCodeDescription + * + * @param string|null $industryCodeDescription The description of the industry code. + * + * @return self + */ + public function setIndustryCodeDescription($industryCodeDescription) + { + $this->container['industryCodeDescription'] = $industryCodeDescription; + + return $this; + } + /** * Gets salesChannels * diff --git a/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php index aaf7bb213..7238bedd5 100644 --- a/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php @@ -41,6 +41,7 @@ class IbanAccountIdentification implements ModelInterface, ArrayAccess, \JsonSer * @var string[] */ protected static $openAPITypes = [ + 'bic' => 'string', 'iban' => 'string', 'type' => 'string' ]; @@ -53,6 +54,7 @@ class IbanAccountIdentification implements ModelInterface, ArrayAccess, \JsonSer * @psalm-var array */ protected static $openAPIFormats = [ + 'bic' => null, 'iban' => null, 'type' => null ]; @@ -63,6 +65,7 @@ class IbanAccountIdentification implements ModelInterface, ArrayAccess, \JsonSer * @var boolean[] */ protected static $openAPINullables = [ + 'bic' => false, 'iban' => false, 'type' => false ]; @@ -153,6 +156,7 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $attributeMap = [ + 'bic' => 'bic', 'iban' => 'iban', 'type' => 'type' ]; @@ -163,6 +167,7 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $setters = [ + 'bic' => 'setBic', 'iban' => 'setIban', 'type' => 'setType' ]; @@ -173,6 +178,7 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $getters = [ + 'bic' => 'getBic', 'iban' => 'getIban', 'type' => 'getType' ]; @@ -246,6 +252,7 @@ public function getTypeAllowableValues() */ public function __construct(?array $data = null) { + $this->setIfExists('bic', $data ?? [], null); $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -307,6 +314,30 @@ public function valid() } + /** + * Gets bic + * + * @return string|null + */ + public function getBic() + { + return $this->container['bic']; + } + + /** + * Sets bic + * + * @param string|null $bic The bank's 8- or 11-character BIC or SWIFT code. + * + * @return self + */ + public function setBic($bic) + { + $this->container['bic'] = $bic; + + return $this; + } + /** * Gets iban * diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php index d61f952de..8ab21309f 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php @@ -595,7 +595,7 @@ public function getType() /** * Sets type * - * @param string $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**, **uboThroughOwnership** + * @param string $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**, **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 self */ diff --git a/src/Adyen/Model/LegalEntityManagement/Organization.php b/src/Adyen/Model/LegalEntityManagement/Organization.php index 72ab72b0a..db95f790c 100644 --- a/src/Adyen/Model/LegalEntityManagement/Organization.php +++ b/src/Adyen/Model/LegalEntityManagement/Organization.php @@ -841,7 +841,7 @@ public function getGlobalLegalEntityIdentifier() /** * Sets globalLegalEntityIdentifier * - * @param string|null $globalLegalEntityIdentifier The global legal entity identifier for the organization. + * @param string|null $globalLegalEntityIdentifier The global legal entity identifier for the organization. This field is not required if the `registrationNumber` for the organization has been provided. * * @return self */