Skip to content

Commit

Permalink
Update all services (#714)
Browse files Browse the repository at this point in the history
* [reformat][adyen-sdk-automation] automated change

* style(fmt): code formatted

---------

Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]>
  • Loading branch information
AdyenAutomationBot and AdyenAutomationBot authored Dec 10, 2024
1 parent a573952 commit 85614c3
Show file tree
Hide file tree
Showing 64 changed files with 9,975 additions and 91 deletions.
4 changes: 2 additions & 2 deletions src/Adyen/Model/AcsWebhooks/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public function getCurrency()
/**
* Sets currency
*
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
*
* @return self
*/
Expand All @@ -326,7 +326,7 @@ public function getValue()
/**
* Sets value
*
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @return self
*/
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AuthenticationNotificationRequest implements ModelInterface, ArrayAccess,
protected static $openAPITypes = [
'data' => '\Adyen\Model\AcsWebhooks\AuthenticationNotificationData',
'environment' => 'string',
'timestamp' => '\DateTime',
'type' => 'string'
];

Expand All @@ -59,6 +60,7 @@ class AuthenticationNotificationRequest implements ModelInterface, ArrayAccess,
protected static $openAPIFormats = [
'data' => null,
'environment' => null,
'timestamp' => 'date-time',
'type' => null
];

Expand All @@ -70,6 +72,7 @@ class AuthenticationNotificationRequest implements ModelInterface, ArrayAccess,
protected static $openAPINullables = [
'data' => false,
'environment' => false,
'timestamp' => false,
'type' => false
];

Expand Down Expand Up @@ -161,6 +164,7 @@ public function isNullableSetToNull(string $property): bool
protected static $attributeMap = [
'data' => 'data',
'environment' => 'environment',
'timestamp' => 'timestamp',
'type' => 'type'
];

Expand All @@ -172,6 +176,7 @@ public function isNullableSetToNull(string $property): bool
protected static $setters = [
'data' => 'setData',
'environment' => 'setEnvironment',
'timestamp' => 'setTimestamp',
'type' => 'setType'
];

Expand All @@ -183,6 +188,7 @@ public function isNullableSetToNull(string $property): bool
protected static $getters = [
'data' => 'getData',
'environment' => 'getEnvironment',
'timestamp' => 'getTimestamp',
'type' => 'getType'
];

Expand Down Expand Up @@ -257,6 +263,7 @@ public function __construct(array $data = null)
{
$this->setIfExists('data', $data ?? [], null);
$this->setIfExists('environment', $data ?? [], null);
$this->setIfExists('timestamp', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
}

Expand Down Expand Up @@ -368,6 +375,30 @@ public function setEnvironment($environment)
return $this;
}

/**
* Gets timestamp
*
* @return \DateTime|null
*/
public function getTimestamp()
{
return $this->container['timestamp'];
}

/**
* Sets timestamp
*
* @param \DateTime|null $timestamp When the event was queued.
*
* @return self
*/
public function setTimestamp($timestamp)
{
$this->container['timestamp'] = $timestamp;

return $this;
}

/**
* Gets type
*
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/BinLookup/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public function getCurrency()
/**
* Sets currency
*
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
*
* @return self
*/
Expand All @@ -326,7 +326,7 @@ public function getValue()
/**
* Sets value
*
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @return self
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public function getCurrency()
/**
* Sets currency
*
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
*
* @return self
*/
Expand All @@ -326,7 +326,7 @@ public function getValue()
/**
* Sets value
*
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @return self
*/
Expand Down
33 changes: 33 additions & 0 deletions src/Adyen/Model/Checkout/CardDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'checkoutAttemptId' => 'string',
'cupsecureplusSmscode' => 'string',
'cvc' => 'string',
'encryptedCard' => 'string',
'encryptedCardNumber' => 'string',
'encryptedExpiryMonth' => 'string',
'encryptedExpiryYear' => 'string',
Expand Down Expand Up @@ -81,6 +82,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'checkoutAttemptId' => null,
'cupsecureplusSmscode' => null,
'cvc' => null,
'encryptedCard' => null,
'encryptedCardNumber' => null,
'encryptedExpiryMonth' => null,
'encryptedExpiryYear' => null,
Expand Down Expand Up @@ -112,6 +114,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'checkoutAttemptId' => false,
'cupsecureplusSmscode' => false,
'cvc' => false,
'encryptedCard' => false,
'encryptedCardNumber' => false,
'encryptedExpiryMonth' => false,
'encryptedExpiryYear' => false,
Expand Down Expand Up @@ -223,6 +226,7 @@ public function isNullableSetToNull(string $property): bool
'checkoutAttemptId' => 'checkoutAttemptId',
'cupsecureplusSmscode' => 'cupsecureplus.smscode',
'cvc' => 'cvc',
'encryptedCard' => 'encryptedCard',
'encryptedCardNumber' => 'encryptedCardNumber',
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
'encryptedExpiryYear' => 'encryptedExpiryYear',
Expand Down Expand Up @@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool
'checkoutAttemptId' => 'setCheckoutAttemptId',
'cupsecureplusSmscode' => 'setCupsecureplusSmscode',
'cvc' => 'setCvc',
'encryptedCard' => 'setEncryptedCard',
'encryptedCardNumber' => 'setEncryptedCardNumber',
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
Expand Down Expand Up @@ -285,6 +290,7 @@ public function isNullableSetToNull(string $property): bool
'checkoutAttemptId' => 'getCheckoutAttemptId',
'cupsecureplusSmscode' => 'getCupsecureplusSmscode',
'cvc' => 'getCvc',
'encryptedCard' => 'getEncryptedCard',
'encryptedCardNumber' => 'getEncryptedCardNumber',
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
Expand Down Expand Up @@ -354,6 +360,7 @@ public function getModelName()
public const TYPE_NETWORK_TOKEN = 'networkToken';
public const TYPE_GIFTCARD = 'giftcard';
public const TYPE_CARD = 'card';
public const TYPE_CLICKTOPAY = 'clicktopay';

/**
* Gets allowable values of the enum
Expand All @@ -380,6 +387,7 @@ public function getTypeAllowableValues()
self::TYPE_NETWORK_TOKEN,
self::TYPE_GIFTCARD,
self::TYPE_CARD,
self::TYPE_CLICKTOPAY,
];
}
/**
Expand All @@ -401,6 +409,7 @@ public function __construct(array $data = null)
$this->setIfExists('checkoutAttemptId', $data ?? [], null);
$this->setIfExists('cupsecureplusSmscode', $data ?? [], null);
$this->setIfExists('cvc', $data ?? [], null);
$this->setIfExists('encryptedCard', $data ?? [], null);
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
Expand Down Expand Up @@ -580,6 +589,30 @@ public function setCvc($cvc)
return $this;
}

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

/**
* Sets encryptedCard
*
* @param string|null $encryptedCard Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
*
* @return self
*/
public function setEncryptedCard($encryptedCard)
{
$this->container['encryptedCard'] = $encryptedCard;

return $this;
}

/**
* Gets encryptedCardNumber
*
Expand Down
33 changes: 33 additions & 0 deletions src/Adyen/Model/Checkout/CardDonations.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'checkoutAttemptId' => 'string',
'cupsecureplusSmscode' => 'string',
'cvc' => 'string',
'encryptedCard' => 'string',
'encryptedCardNumber' => 'string',
'encryptedExpiryMonth' => 'string',
'encryptedExpiryYear' => 'string',
Expand Down Expand Up @@ -81,6 +82,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'checkoutAttemptId' => null,
'cupsecureplusSmscode' => null,
'cvc' => null,
'encryptedCard' => null,
'encryptedCardNumber' => null,
'encryptedExpiryMonth' => null,
'encryptedExpiryYear' => null,
Expand Down Expand Up @@ -112,6 +114,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'checkoutAttemptId' => false,
'cupsecureplusSmscode' => false,
'cvc' => false,
'encryptedCard' => false,
'encryptedCardNumber' => false,
'encryptedExpiryMonth' => false,
'encryptedExpiryYear' => false,
Expand Down Expand Up @@ -223,6 +226,7 @@ public function isNullableSetToNull(string $property): bool
'checkoutAttemptId' => 'checkoutAttemptId',
'cupsecureplusSmscode' => 'cupsecureplus.smscode',
'cvc' => 'cvc',
'encryptedCard' => 'encryptedCard',
'encryptedCardNumber' => 'encryptedCardNumber',
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
'encryptedExpiryYear' => 'encryptedExpiryYear',
Expand Down Expand Up @@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool
'checkoutAttemptId' => 'setCheckoutAttemptId',
'cupsecureplusSmscode' => 'setCupsecureplusSmscode',
'cvc' => 'setCvc',
'encryptedCard' => 'setEncryptedCard',
'encryptedCardNumber' => 'setEncryptedCardNumber',
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
Expand Down Expand Up @@ -285,6 +290,7 @@ public function isNullableSetToNull(string $property): bool
'checkoutAttemptId' => 'getCheckoutAttemptId',
'cupsecureplusSmscode' => 'getCupsecureplusSmscode',
'cvc' => 'getCvc',
'encryptedCard' => 'getEncryptedCard',
'encryptedCardNumber' => 'getEncryptedCardNumber',
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
Expand Down Expand Up @@ -354,6 +360,7 @@ public function getModelName()
public const TYPE_NETWORK_TOKEN = 'networkToken';
public const TYPE_GIFTCARD = 'giftcard';
public const TYPE_CARD = 'card';
public const TYPE_CLICKTOPAY = 'clicktopay';

/**
* Gets allowable values of the enum
Expand All @@ -380,6 +387,7 @@ public function getTypeAllowableValues()
self::TYPE_NETWORK_TOKEN,
self::TYPE_GIFTCARD,
self::TYPE_CARD,
self::TYPE_CLICKTOPAY,
];
}
/**
Expand All @@ -401,6 +409,7 @@ public function __construct(array $data = null)
$this->setIfExists('checkoutAttemptId', $data ?? [], null);
$this->setIfExists('cupsecureplusSmscode', $data ?? [], null);
$this->setIfExists('cvc', $data ?? [], null);
$this->setIfExists('encryptedCard', $data ?? [], null);
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
Expand Down Expand Up @@ -580,6 +589,30 @@ public function setCvc($cvc)
return $this;
}

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

/**
* Sets encryptedCard
*
* @param string|null $encryptedCard Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
*
* @return self
*/
public function setEncryptedCard($encryptedCard)
{
$this->container['encryptedCard'] = $encryptedCard;

return $this;
}

/**
* Gets encryptedCardNumber
*
Expand Down
Loading

0 comments on commit 85614c3

Please sign in to comment.