Skip to content

Commit 0544417

Browse files
AdyenAutomationBotgcatanese
authored andcommitted
[managementwebhooks] Automated update from Adyen/adyen-openapi@a0b1ce6
1 parent e975f49 commit 0544417

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public function getProblems()
413413
/**
414414
* Sets problems
415415
*
416-
* @param \Adyen\Model\ManagementWebhooks\CapabilityProblem[]|null $problems List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them.
416+
* @param \Adyen\Model\ManagementWebhooks\CapabilityProblem[]|null $problems List of entities that have problems with verification. The information includes the details of the errors and the actions that you can take to resolve them.
417417
*
418418
* @return self
419419
*/

src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationRequest.php

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class TerminalAssignmentNotificationRequest implements ModelInterface, ArrayAcce
4343
protected static $openAPITypes = [
4444
'assignedToAccount' => 'string',
4545
'assignedToStore' => 'string',
46+
'assignedToStoreId' => 'string',
4647
'eventDate' => 'string',
4748
'pspReference' => 'string',
4849
'uniqueTerminalId' => 'string'
@@ -58,6 +59,7 @@ class TerminalAssignmentNotificationRequest implements ModelInterface, ArrayAcce
5859
protected static $openAPIFormats = [
5960
'assignedToAccount' => null,
6061
'assignedToStore' => null,
62+
'assignedToStoreId' => null,
6163
'eventDate' => null,
6264
'pspReference' => null,
6365
'uniqueTerminalId' => null
@@ -71,6 +73,7 @@ class TerminalAssignmentNotificationRequest implements ModelInterface, ArrayAcce
7173
protected static $openAPINullables = [
7274
'assignedToAccount' => false,
7375
'assignedToStore' => false,
76+
'assignedToStoreId' => false,
7477
'eventDate' => false,
7578
'pspReference' => false,
7679
'uniqueTerminalId' => false
@@ -164,6 +167,7 @@ public function isNullableSetToNull(string $property): bool
164167
protected static $attributeMap = [
165168
'assignedToAccount' => 'assignedToAccount',
166169
'assignedToStore' => 'assignedToStore',
170+
'assignedToStoreId' => 'assignedToStoreId',
167171
'eventDate' => 'eventDate',
168172
'pspReference' => 'pspReference',
169173
'uniqueTerminalId' => 'uniqueTerminalId'
@@ -177,6 +181,7 @@ public function isNullableSetToNull(string $property): bool
177181
protected static $setters = [
178182
'assignedToAccount' => 'setAssignedToAccount',
179183
'assignedToStore' => 'setAssignedToStore',
184+
'assignedToStoreId' => 'setAssignedToStoreId',
180185
'eventDate' => 'setEventDate',
181186
'pspReference' => 'setPspReference',
182187
'uniqueTerminalId' => 'setUniqueTerminalId'
@@ -190,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
190195
protected static $getters = [
191196
'assignedToAccount' => 'getAssignedToAccount',
192197
'assignedToStore' => 'getAssignedToStore',
198+
'assignedToStoreId' => 'getAssignedToStoreId',
193199
'eventDate' => 'getEventDate',
194200
'pspReference' => 'getPspReference',
195201
'uniqueTerminalId' => 'getUniqueTerminalId'
@@ -254,6 +260,7 @@ public function __construct(?array $data = null)
254260
{
255261
$this->setIfExists('assignedToAccount', $data ?? [], null);
256262
$this->setIfExists('assignedToStore', $data ?? [], null);
263+
$this->setIfExists('assignedToStoreId', $data ?? [], null);
257264
$this->setIfExists('eventDate', $data ?? [], null);
258265
$this->setIfExists('pspReference', $data ?? [], null);
259266
$this->setIfExists('uniqueTerminalId', $data ?? [], null);
@@ -350,7 +357,7 @@ public function getAssignedToStore()
350357
/**
351358
* Sets assignedToStore
352359
*
353-
* @param string|null $assignedToStore The unique identifier of the store to which the terminal is assigned.
360+
* @param string|null $assignedToStore The store that the terminal is assigned to, identified by the store reference (also known as store code).
354361
*
355362
* @return self
356363
*/
@@ -361,6 +368,30 @@ public function setAssignedToStore($assignedToStore)
361368
return $this;
362369
}
363370

371+
/**
372+
* Gets assignedToStoreId
373+
*
374+
* @return string|null
375+
*/
376+
public function getAssignedToStoreId()
377+
{
378+
return $this->container['assignedToStoreId'];
379+
}
380+
381+
/**
382+
* Sets assignedToStoreId
383+
*
384+
* @param string|null $assignedToStoreId The unique identifier of the store to which the terminal is assigned.
385+
*
386+
* @return self
387+
*/
388+
public function setAssignedToStoreId($assignedToStoreId)
389+
{
390+
$this->container['assignedToStoreId'] = $assignedToStoreId;
391+
392+
return $this;
393+
}
394+
364395
/**
365396
* Gets eventDate
366397
*

src/Adyen/Model/ManagementWebhooks/VerificationError.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ public function getModelName()
237237
}
238238

239239
public const TYPE_DATA_MISSING = 'dataMissing';
240+
public const TYPE_DATA_REVIEW = 'dataReview';
240241
public const TYPE_INVALID_INPUT = 'invalidInput';
241242
public const TYPE_PENDING_STATUS = 'pendingStatus';
242243

@@ -249,6 +250,7 @@ public function getTypeAllowableValues()
249250
{
250251
return [
251252
self::TYPE_DATA_MISSING,
253+
self::TYPE_DATA_REVIEW,
252254
self::TYPE_INVALID_INPUT,
253255
self::TYPE_PENDING_STATUS,
254256
];

src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ public function getModelName()
231231
}
232232

233233
public const TYPE_DATA_MISSING = 'dataMissing';
234+
public const TYPE_DATA_REVIEW = 'dataReview';
234235
public const TYPE_INVALID_INPUT = 'invalidInput';
235236
public const TYPE_PENDING_STATUS = 'pendingStatus';
236237

@@ -243,6 +244,7 @@ public function getTypeAllowableValues()
243244
{
244245
return [
245246
self::TYPE_DATA_MISSING,
247+
self::TYPE_DATA_REVIEW,
246248
self::TYPE_INVALID_INPUT,
247249
self::TYPE_PENDING_STATUS,
248250
];

0 commit comments

Comments
 (0)