Skip to content

Commit 12ecafb

Browse files
AdyenAutomationBotgcatanese
authored andcommitted
[legalentitymanagement] Automated update from Adyen/adyen-openapi@a0b1ce6
1 parent 1eeee48 commit 12ecafb

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

src/Adyen/Model/LegalEntityManagement/FinancialReport.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,6 @@ public function listInvalidProperties()
293293
{
294294
$invalidProperties = [];
295295

296-
if ($this->container['dateOfFinancialData'] === null) {
297-
$invalidProperties[] = "'dateOfFinancialData' can't be null";
298-
}
299296
return $invalidProperties;
300297
}
301298

@@ -386,7 +383,7 @@ public function setCurrencyOfFinancialData($currencyOfFinancialData)
386383
/**
387384
* Gets dateOfFinancialData
388385
*
389-
* @return string
386+
* @return string|null
390387
*/
391388
public function getDateOfFinancialData()
392389
{
@@ -396,7 +393,7 @@ public function getDateOfFinancialData()
396393
/**
397394
* Sets dateOfFinancialData
398395
*
399-
* @param string $dateOfFinancialData The date the financial data were provided, in YYYY-MM-DD format.
396+
* @param string|null $dateOfFinancialData The date the financial data were provided, in YYYY-MM-DD format.
400397
*
401398
* @return self
402399
*/

src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public function getLanguage()
345345
/**
346346
* Sets language
347347
*
348-
* @param string $language The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.
348+
* @param string $language The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible values: **en** for English or **fr** for French.
349349
*
350350
* @return self
351351
*/

src/Adyen/Model/LegalEntityManagement/Support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public function getEmail()
293293
/**
294294
* Sets email
295295
*
296-
* @param string|null $email The support email address of the legal entity.
296+
* @param string|null $email The support email address of the legal entity. Required if you have a platform setup.
297297
*
298298
* @return self
299299
*/

src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@ public function getLegalEntity(string $id, ?array $requestOptions = null): \Adye
114114
return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\LegalEntity::class);
115115
}
116116

117+
/**
118+
* Request periodic data review.
119+
*
120+
* @param string $id
121+
* @param array|null $requestOptions
122+
123+
* @throws AdyenException
124+
*/
125+
public function requestPeriodicReview(string $id, ?array $requestOptions = null)
126+
{
127+
$endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/requestPeriodicReview");
128+
$this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions);
129+
}
130+
117131
/**
118132
* Update a legal entity
119133
*

0 commit comments

Comments
 (0)