Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all services #663

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 37 additions & 1 deletion src/Adyen/Model/Management/AndroidApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AndroidApp implements ModelInterface, ArrayAccess, \JsonSerializable
protected static $openAPITypes = [
'description' => 'string',
'errorCode' => 'string',
'errors' => '\Adyen\Model\Management\AndroidAppError[]',
'id' => 'string',
'label' => 'string',
'packageName' => 'string',
Expand All @@ -64,6 +65,7 @@ class AndroidApp implements ModelInterface, ArrayAccess, \JsonSerializable
protected static $openAPIFormats = [
'description' => null,
'errorCode' => null,
'errors' => null,
'id' => null,
'label' => null,
'packageName' => null,
Expand All @@ -80,6 +82,7 @@ class AndroidApp implements ModelInterface, ArrayAccess, \JsonSerializable
protected static $openAPINullables = [
'description' => false,
'errorCode' => false,
'errors' => false,
'id' => false,
'label' => false,
'packageName' => false,
Expand Down Expand Up @@ -176,6 +179,7 @@ public function isNullableSetToNull(string $property): bool
protected static $attributeMap = [
'description' => 'description',
'errorCode' => 'errorCode',
'errors' => 'errors',
'id' => 'id',
'label' => 'label',
'packageName' => 'packageName',
Expand All @@ -192,6 +196,7 @@ public function isNullableSetToNull(string $property): bool
protected static $setters = [
'description' => 'setDescription',
'errorCode' => 'setErrorCode',
'errors' => 'setErrors',
'id' => 'setId',
'label' => 'setLabel',
'packageName' => 'setPackageName',
Expand All @@ -208,6 +213,7 @@ public function isNullableSetToNull(string $property): bool
protected static $getters = [
'description' => 'getDescription',
'errorCode' => 'getErrorCode',
'errors' => 'getErrors',
'id' => 'getId',
'label' => 'getLabel',
'packageName' => 'getPackageName',
Expand Down Expand Up @@ -275,6 +281,7 @@ public function __construct(array $data = null)
{
$this->setIfExists('description', $data ?? [], null);
$this->setIfExists('errorCode', $data ?? [], null);
$this->setIfExists('errors', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('label', $data ?? [], null);
$this->setIfExists('packageName', $data ?? [], null);
Expand Down Expand Up @@ -362,6 +369,7 @@ public function setDescription($description)
* Gets errorCode
*
* @return string|null
* @deprecated
*/
public function getErrorCode()
{
Expand All @@ -371,9 +379,10 @@ public function getErrorCode()
/**
* Sets errorCode
*
* @param string|null $errorCode The error code of the app. It exists if the status is error or invalid.
* @param string|null $errorCode The error code of the Android app with the `status` of either **error** or **invalid**.
*
* @return self
* @deprecated
*/
public function setErrorCode($errorCode)
{
Expand All @@ -385,6 +394,33 @@ public function setErrorCode($errorCode)
return $this;
}

/**
* Gets errors
*
* @return \Adyen\Model\Management\AndroidAppError[]|null
*/
public function getErrors()
{
return $this->container['errors'];
}

/**
* Sets errors
*
* @param \Adyen\Model\Management\AndroidAppError[]|null $errors The list of errors of the Android app.
*
* @return self
*/
public function setErrors($errors)
{
if (is_null($errors)) {
throw new \InvalidArgumentException('non-nullable errors cannot be null');
}
$this->container['errors'] = $errors;

return $this;
}

/**
* Gets id
*
Expand Down
Loading