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 #671

Merged
merged 3 commits into from
Jul 4, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 0 additions & 6 deletions src/Adyen/Model/AcsWebhooks/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@ public function getCurrency()
*/
public function setCurrency($currency)
{
if (is_null($currency)) {
throw new \InvalidArgumentException('non-nullable currency cannot be null');
}
$this->container['currency'] = $currency;

return $this;
Expand All @@ -335,9 +332,6 @@ public function getValue()
*/
public function setValue($value)
{
if (is_null($value)) {
throw new \InvalidArgumentException('non-nullable value cannot be null');
}
$this->container['value'] = $value;

return $this;
Expand Down
43 changes: 0 additions & 43 deletions src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,6 @@ public function getAcsTransId()
*/
public function setAcsTransId($acsTransId)
{
if (is_null($acsTransId)) {
throw new \InvalidArgumentException('non-nullable acsTransId cannot be null');
}
$this->container['acsTransId'] = $acsTransId;

return $this;
Expand All @@ -714,9 +711,6 @@ public function getChallenge()
*/
public function setChallenge($challenge)
{
if (is_null($challenge)) {
throw new \InvalidArgumentException('non-nullable challenge cannot be null');
}
$this->container['challenge'] = $challenge;

return $this;
Expand All @@ -741,9 +735,6 @@ public function getChallengeIndicator()
*/
public function setChallengeIndicator($challengeIndicator)
{
if (is_null($challengeIndicator)) {
throw new \InvalidArgumentException('non-nullable challengeIndicator cannot be null');
}
$allowedValues = $this->getChallengeIndicatorAllowableValues();
if (!in_array($challengeIndicator, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -778,9 +769,6 @@ public function getCreatedAt()
*/
public function setCreatedAt($createdAt)
{
if (is_null($createdAt)) {
throw new \InvalidArgumentException('non-nullable createdAt cannot be null');
}
$this->container['createdAt'] = $createdAt;

return $this;
Expand All @@ -805,9 +793,6 @@ public function getDeviceChannel()
*/
public function setDeviceChannel($deviceChannel)
{
if (is_null($deviceChannel)) {
throw new \InvalidArgumentException('non-nullable deviceChannel cannot be null');
}
$allowedValues = $this->getDeviceChannelAllowableValues();
if (!in_array($deviceChannel, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -842,9 +827,6 @@ public function getDsTransID()
*/
public function setDsTransID($dsTransID)
{
if (is_null($dsTransID)) {
throw new \InvalidArgumentException('non-nullable dsTransID cannot be null');
}
$this->container['dsTransID'] = $dsTransID;

return $this;
Expand All @@ -869,9 +851,6 @@ public function getExemptionIndicator()
*/
public function setExemptionIndicator($exemptionIndicator)
{
if (is_null($exemptionIndicator)) {
throw new \InvalidArgumentException('non-nullable exemptionIndicator cannot be null');
}
$allowedValues = $this->getExemptionIndicatorAllowableValues();
if (!in_array($exemptionIndicator, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -906,9 +885,6 @@ public function getInPSD2Scope()
*/
public function setInPSD2Scope($inPSD2Scope)
{
if (is_null($inPSD2Scope)) {
throw new \InvalidArgumentException('non-nullable inPSD2Scope cannot be null');
}
$this->container['inPSD2Scope'] = $inPSD2Scope;

return $this;
Expand All @@ -933,9 +909,6 @@ public function getMessageCategory()
*/
public function setMessageCategory($messageCategory)
{
if (is_null($messageCategory)) {
throw new \InvalidArgumentException('non-nullable messageCategory cannot be null');
}
$allowedValues = $this->getMessageCategoryAllowableValues();
if (!in_array($messageCategory, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -970,9 +943,6 @@ public function getMessageVersion()
*/
public function setMessageVersion($messageVersion)
{
if (is_null($messageVersion)) {
throw new \InvalidArgumentException('non-nullable messageVersion cannot be null');
}
$this->container['messageVersion'] = $messageVersion;

return $this;
Expand All @@ -997,7 +967,6 @@ public function getRiskScore()
*/
public function setRiskScore($riskScore)
{
// Do nothing for nullable integers
$this->container['riskScore'] = $riskScore;

return $this;
Expand All @@ -1022,9 +991,6 @@ public function getThreeDSServerTransID()
*/
public function setThreeDSServerTransID($threeDSServerTransID)
{
if (is_null($threeDSServerTransID)) {
throw new \InvalidArgumentException('non-nullable threeDSServerTransID cannot be null');
}
$this->container['threeDSServerTransID'] = $threeDSServerTransID;

return $this;
Expand All @@ -1049,9 +1015,6 @@ public function getTransStatus()
*/
public function setTransStatus($transStatus)
{
if (is_null($transStatus)) {
throw new \InvalidArgumentException('non-nullable transStatus cannot be null');
}
$allowedValues = $this->getTransStatusAllowableValues();
if (!in_array($transStatus, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -1086,9 +1049,6 @@ public function getTransStatusReason()
*/
public function setTransStatusReason($transStatusReason)
{
if (is_null($transStatusReason)) {
throw new \InvalidArgumentException('non-nullable transStatusReason cannot be null');
}
$allowedValues = $this->getTransStatusReasonAllowableValues();
if (!in_array($transStatusReason, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -1123,9 +1083,6 @@ public function getType()
*/
public function setType($type)
{
if (is_null($type)) {
throw new \InvalidArgumentException('non-nullable type cannot be null');
}
$allowedValues = $this->getTypeAllowableValues();
if (!in_array($type, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down
18 changes: 0 additions & 18 deletions src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,6 @@ public function getAuthentication()
*/
public function setAuthentication($authentication)
{
if (is_null($authentication)) {
throw new \InvalidArgumentException('non-nullable authentication cannot be null');
}
$this->container['authentication'] = $authentication;

return $this;
Expand All @@ -397,9 +394,6 @@ public function getBalancePlatform()
*/
public function setBalancePlatform($balancePlatform)
{
if (is_null($balancePlatform)) {
throw new \InvalidArgumentException('non-nullable balancePlatform cannot be null');
}
$this->container['balancePlatform'] = $balancePlatform;

return $this;
Expand All @@ -424,9 +418,6 @@ public function getId()
*/
public function setId($id)
{
if (is_null($id)) {
throw new \InvalidArgumentException('non-nullable id cannot be null');
}
$this->container['id'] = $id;

return $this;
Expand All @@ -451,9 +442,6 @@ public function getPaymentInstrumentId()
*/
public function setPaymentInstrumentId($paymentInstrumentId)
{
if (is_null($paymentInstrumentId)) {
throw new \InvalidArgumentException('non-nullable paymentInstrumentId cannot be null');
}
$this->container['paymentInstrumentId'] = $paymentInstrumentId;

return $this;
Expand All @@ -478,9 +466,6 @@ public function getPurchase()
*/
public function setPurchase($purchase)
{
if (is_null($purchase)) {
throw new \InvalidArgumentException('non-nullable purchase cannot be null');
}
$this->container['purchase'] = $purchase;

return $this;
Expand All @@ -505,9 +490,6 @@ public function getStatus()
*/
public function setStatus($status)
{
if (is_null($status)) {
throw new \InvalidArgumentException('non-nullable status cannot be null');
}
$allowedValues = $this->getStatusAllowableValues();
if (!in_array($status, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,6 @@ public function getData()
*/
public function setData($data)
{
if (is_null($data)) {
throw new \InvalidArgumentException('non-nullable data cannot be null');
}
$this->container['data'] = $data;

return $this;
Expand All @@ -366,9 +363,6 @@ public function getEnvironment()
*/
public function setEnvironment($environment)
{
if (is_null($environment)) {
throw new \InvalidArgumentException('non-nullable environment cannot be null');
}
$this->container['environment'] = $environment;

return $this;
Expand All @@ -393,9 +387,6 @@ public function getType()
*/
public function setType($type)
{
if (is_null($type)) {
throw new \InvalidArgumentException('non-nullable type cannot be null');
}
$allowedValues = $this->getTypeAllowableValues();
if (!in_array($type, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,6 @@ public function getNotificationResponse()
*/
public function setNotificationResponse($notificationResponse)
{
if (is_null($notificationResponse)) {
throw new \InvalidArgumentException('non-nullable notificationResponse cannot be null');
}
$this->container['notificationResponse'] = $notificationResponse;

return $this;
Expand Down
14 changes: 0 additions & 14 deletions src/Adyen/Model/AcsWebhooks/ChallengeInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,6 @@ public function getChallengeCancel()
*/
public function setChallengeCancel($challengeCancel)
{
if (is_null($challengeCancel)) {
throw new \InvalidArgumentException('non-nullable challengeCancel cannot be null');
}
$allowedValues = $this->getChallengeCancelAllowableValues();
if (!in_array($challengeCancel, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -429,9 +426,6 @@ public function getFlow()
*/
public function setFlow($flow)
{
if (is_null($flow)) {
throw new \InvalidArgumentException('non-nullable flow cannot be null');
}
$allowedValues = $this->getFlowAllowableValues();
if (!in_array($flow, $allowedValues, true)) {
throw new \InvalidArgumentException(
Expand Down Expand Up @@ -466,9 +460,6 @@ public function getLastInteraction()
*/
public function setLastInteraction($lastInteraction)
{
if (is_null($lastInteraction)) {
throw new \InvalidArgumentException('non-nullable lastInteraction cannot be null');
}
$this->container['lastInteraction'] = $lastInteraction;

return $this;
Expand All @@ -493,9 +484,6 @@ public function getPhoneNumber()
*/
public function setPhoneNumber($phoneNumber)
{
if (is_null($phoneNumber)) {
throw new \InvalidArgumentException('non-nullable phoneNumber cannot be null');
}
$this->container['phoneNumber'] = $phoneNumber;

return $this;
Expand All @@ -520,7 +508,6 @@ public function getResends()
*/
public function setResends($resends)
{
// Do nothing for nullable integers
$this->container['resends'] = $resends;

return $this;
Expand All @@ -545,7 +532,6 @@ public function getRetries()
*/
public function setRetries($retries)
{
// Do nothing for nullable integers
$this->container['retries'] = $retries;

return $this;
Expand Down
9 changes: 0 additions & 9 deletions src/Adyen/Model/AcsWebhooks/PurchaseInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,6 @@ public function getDate()
*/
public function setDate($date)
{
if (is_null($date)) {
throw new \InvalidArgumentException('non-nullable date cannot be null');
}
$this->container['date'] = $date;

return $this;
Expand All @@ -345,9 +342,6 @@ public function getMerchantName()
*/
public function setMerchantName($merchantName)
{
if (is_null($merchantName)) {
throw new \InvalidArgumentException('non-nullable merchantName cannot be null');
}
$this->container['merchantName'] = $merchantName;

return $this;
Expand All @@ -372,9 +366,6 @@ public function getOriginalAmount()
*/
public function setOriginalAmount($originalAmount)
{
if (is_null($originalAmount)) {
throw new \InvalidArgumentException('non-nullable originalAmount cannot be null');
}
$this->container['originalAmount'] = $originalAmount;

return $this;
Expand Down
9 changes: 0 additions & 9 deletions src/Adyen/Model/AcsWebhooks/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ public function getBalancePlatform()
*/
public function setBalancePlatform($balancePlatform)
{
if (is_null($balancePlatform)) {
throw new \InvalidArgumentException('non-nullable balancePlatform cannot be null');
}
$this->container['balancePlatform'] = $balancePlatform;

return $this;
Expand All @@ -336,9 +333,6 @@ public function getCreationDate()
*/
public function setCreationDate($creationDate)
{
if (is_null($creationDate)) {
throw new \InvalidArgumentException('non-nullable creationDate cannot be null');
}
$this->container['creationDate'] = $creationDate;

return $this;
Expand All @@ -363,9 +357,6 @@ public function getId()
*/
public function setId($id)
{
if (is_null($id)) {
throw new \InvalidArgumentException('non-nullable id cannot be null');
}
$this->container['id'] = $id;

return $this;
Expand Down
Loading
Loading