Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Oct 11, 2023
1 parent d79170f commit 7c9ef5a
Show file tree
Hide file tree
Showing 21 changed files with 4,335 additions and 1,540 deletions.
46 changes: 40 additions & 6 deletions src/Adyen/Model/BinLookup/DSPublicKeyDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class DSPublicKeyDetail implements ModelInterface, ArrayAccess, \JsonSerializabl
'brand' => 'string',
'directoryServerId' => 'string',
'fromSDKVersion' => 'string',
'publicKey' => 'string'
'publicKey' => 'string',
'rootCertificates' => 'string'
];

/**
Expand All @@ -61,7 +62,8 @@ class DSPublicKeyDetail implements ModelInterface, ArrayAccess, \JsonSerializabl
'brand' => null,
'directoryServerId' => null,
'fromSDKVersion' => null,
'publicKey' => 'byte'
'publicKey' => 'byte',
'rootCertificates' => null
];

/**
Expand All @@ -73,7 +75,8 @@ class DSPublicKeyDetail implements ModelInterface, ArrayAccess, \JsonSerializabl
'brand' => false,
'directoryServerId' => false,
'fromSDKVersion' => false,
'publicKey' => false
'publicKey' => false,
'rootCertificates' => false
];

/**
Expand Down Expand Up @@ -165,7 +168,8 @@ public function isNullableSetToNull(string $property): bool
'brand' => 'brand',
'directoryServerId' => 'directoryServerId',
'fromSDKVersion' => 'fromSDKVersion',
'publicKey' => 'publicKey'
'publicKey' => 'publicKey',
'rootCertificates' => 'rootCertificates'
];

/**
Expand All @@ -177,7 +181,8 @@ public function isNullableSetToNull(string $property): bool
'brand' => 'setBrand',
'directoryServerId' => 'setDirectoryServerId',
'fromSDKVersion' => 'setFromSDKVersion',
'publicKey' => 'setPublicKey'
'publicKey' => 'setPublicKey',
'rootCertificates' => 'setRootCertificates'
];

/**
Expand All @@ -189,7 +194,8 @@ public function isNullableSetToNull(string $property): bool
'brand' => 'getBrand',
'directoryServerId' => 'getDirectoryServerId',
'fromSDKVersion' => 'getFromSDKVersion',
'publicKey' => 'getPublicKey'
'publicKey' => 'getPublicKey',
'rootCertificates' => 'getRootCertificates'
];

/**
Expand Down Expand Up @@ -253,6 +259,7 @@ public function __construct(array $data = null)
$this->setIfExists('directoryServerId', $data ?? [], null);
$this->setIfExists('fromSDKVersion', $data ?? [], null);
$this->setIfExists('publicKey', $data ?? [], null);
$this->setIfExists('rootCertificates', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -404,6 +411,33 @@ public function setPublicKey($publicKey)

return $this;
}

/**
* Gets rootCertificates
*
* @return string|null
*/
public function getRootCertificates()
{
return $this->container['rootCertificates'];
}

/**
* Sets rootCertificates
*
* @param string|null $rootCertificates Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates.
*
* @return self
*/
public function setRootCertificates($rootCertificates)
{
if (is_null($rootCertificates)) {
throw new \InvalidArgumentException('non-nullable rootCertificates cannot be null');
}
$this->container['rootCertificates'] = $rootCertificates;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
Loading

0 comments on commit 7c9ef5a

Please sign in to comment.