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

Merged
merged 3 commits into from
Apr 18, 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
715 changes: 715 additions & 0 deletions src/Adyen/Model/Checkout/CashAppDetails.php

Large diffs are not rendered by default.

170 changes: 170 additions & 0 deletions src/Adyen/Model/Checkout/CheckoutPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => 'string',
'shopperNotificationReference' => 'string',
'threeDS2SdkVersion' => 'string',
'cashtag' => 'string',
'customerId' => 'string',
'grantId' => 'string',
'onFileGrantId' => 'string',
'requestId' => 'string',
'firstName' => 'string',
'lastName' => 'string',
'shopperEmail' => 'string',
Expand Down Expand Up @@ -143,6 +148,11 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => null,
'shopperNotificationReference' => null,
'threeDS2SdkVersion' => null,
'cashtag' => null,
'customerId' => null,
'grantId' => null,
'onFileGrantId' => null,
'requestId' => null,
'firstName' => null,
'lastName' => null,
'shopperEmail' => null,
Expand Down Expand Up @@ -205,6 +215,11 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => false,
'shopperNotificationReference' => false,
'threeDS2SdkVersion' => false,
'cashtag' => false,
'customerId' => false,
'grantId' => false,
'onFileGrantId' => false,
'requestId' => false,
'firstName' => false,
'lastName' => false,
'shopperEmail' => false,
Expand Down Expand Up @@ -347,6 +362,11 @@ public function isNullableSetToNull(string $property): bool
'number' => 'number',
'shopperNotificationReference' => 'shopperNotificationReference',
'threeDS2SdkVersion' => 'threeDS2SdkVersion',
'cashtag' => 'cashtag',
'customerId' => 'customerId',
'grantId' => 'grantId',
'onFileGrantId' => 'onFileGrantId',
'requestId' => 'requestId',
'firstName' => 'firstName',
'lastName' => 'lastName',
'shopperEmail' => 'shopperEmail',
Expand Down Expand Up @@ -409,6 +429,11 @@ public function isNullableSetToNull(string $property): bool
'number' => 'setNumber',
'shopperNotificationReference' => 'setShopperNotificationReference',
'threeDS2SdkVersion' => 'setThreeDS2SdkVersion',
'cashtag' => 'setCashtag',
'customerId' => 'setCustomerId',
'grantId' => 'setGrantId',
'onFileGrantId' => 'setOnFileGrantId',
'requestId' => 'setRequestId',
'firstName' => 'setFirstName',
'lastName' => 'setLastName',
'shopperEmail' => 'setShopperEmail',
Expand Down Expand Up @@ -471,6 +496,11 @@ public function isNullableSetToNull(string $property): bool
'number' => 'getNumber',
'shopperNotificationReference' => 'getShopperNotificationReference',
'threeDS2SdkVersion' => 'getThreeDS2SdkVersion',
'cashtag' => 'getCashtag',
'customerId' => 'getCustomerId',
'grantId' => 'getGrantId',
'onFileGrantId' => 'getOnFileGrantId',
'requestId' => 'getRequestId',
'firstName' => 'getFirstName',
'lastName' => 'getLastName',
'shopperEmail' => 'getShopperEmail',
Expand Down Expand Up @@ -583,6 +613,11 @@ public function __construct(array $data = null)
$this->setIfExists('number', $data ?? [], null);
$this->setIfExists('shopperNotificationReference', $data ?? [], null);
$this->setIfExists('threeDS2SdkVersion', $data ?? [], null);
$this->setIfExists('cashtag', $data ?? [], null);
$this->setIfExists('customerId', $data ?? [], null);
$this->setIfExists('grantId', $data ?? [], null);
$this->setIfExists('onFileGrantId', $data ?? [], null);
$this->setIfExists('requestId', $data ?? [], null);
$this->setIfExists('firstName', $data ?? [], null);
$this->setIfExists('lastName', $data ?? [], null);
$this->setIfExists('shopperEmail', $data ?? [], null);
Expand Down Expand Up @@ -1615,6 +1650,141 @@ public function setThreeDS2SdkVersion($threeDS2SdkVersion)
return $this;
}

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

/**
* Sets cashtag
*
* @param string|null $cashtag Cash App issued cashtag for recurring payment
*
* @return self
*/
public function setCashtag($cashtag)
{
if (is_null($cashtag)) {
throw new \InvalidArgumentException('non-nullable cashtag cannot be null');
}
$this->container['cashtag'] = $cashtag;

return $this;
}

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

/**
* Sets customerId
*
* @param string|null $customerId Cash App issued customerId for recurring payment
*
* @return self
*/
public function setCustomerId($customerId)
{
if (is_null($customerId)) {
throw new \InvalidArgumentException('non-nullable customerId cannot be null');
}
$this->container['customerId'] = $customerId;

return $this;
}

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

/**
* Sets grantId
*
* @param string|null $grantId Cash App issued grantId for one time payment
*
* @return self
*/
public function setGrantId($grantId)
{
if (is_null($grantId)) {
throw new \InvalidArgumentException('non-nullable grantId cannot be null');
}
$this->container['grantId'] = $grantId;

return $this;
}

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

/**
* Sets onFileGrantId
*
* @param string|null $onFileGrantId Cash App issued onFileGrantId for recurring payment
*
* @return self
*/
public function setOnFileGrantId($onFileGrantId)
{
if (is_null($onFileGrantId)) {
throw new \InvalidArgumentException('non-nullable onFileGrantId cannot be null');
}
$this->container['onFileGrantId'] = $onFileGrantId;

return $this;
}

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

/**
* Sets requestId
*
* @param string|null $requestId Cash App request id
*
* @return self
*/
public function setRequestId($requestId)
{
if (is_null($requestId)) {
throw new \InvalidArgumentException('non-nullable requestId cannot be null');
}
$this->container['requestId'] = $requestId;

return $this;
}

/**
* Gets firstName
*
Expand Down
14 changes: 14 additions & 0 deletions src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,15 @@ public function getModelName()
return self::$openAPIModelName;
}

public const PLANS_BUYNOW_PAYLATER = 'buynow_paylater';
public const PLANS_INTERES_REFUND_PRCTG = 'interes_refund_prctg';
public const PLANS_INTEREST_BONUS = 'interest_bonus';
public const PLANS_NOINTERES_REFUND_PRCTG = 'nointeres_refund_prctg';
public const PLANS_NOINTEREST_BONUS = 'nointerest_bonus';
public const PLANS_REFUND_PRCTG = 'refund_prctg';
public const PLANS_REGULAR = 'regular';
public const PLANS_REVOLVING = 'revolving';
public const PLANS_WITH_INTEREST = 'with_interest';

/**
* Gets allowable values of the enum
Expand All @@ -238,8 +245,15 @@ public function getModelName()
public function getPlansAllowableValues()
{
return [
self::PLANS_BUYNOW_PAYLATER,
self::PLANS_INTERES_REFUND_PRCTG,
self::PLANS_INTEREST_BONUS,
self::PLANS_NOINTERES_REFUND_PRCTG,
self::PLANS_NOINTEREST_BONUS,
self::PLANS_REFUND_PRCTG,
self::PLANS_REGULAR,
self::PLANS_REVOLVING,
self::PLANS_WITH_INTEREST,
];
}
/**
Expand Down
8 changes: 4 additions & 4 deletions src/Adyen/Model/Checkout/FundRecipient.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public function getShopperEmail()
/**
* Sets shopperEmail
*
* @param string|null $shopperEmail the email address of the person
* @param string|null $shopperEmail The email address of the shopper.
*
* @return self
*/
Expand Down Expand Up @@ -541,7 +541,7 @@ public function getTelephoneNumber()
/**
* Sets telephoneNumber
*
* @param string|null $telephoneNumber the telephone number of the person
* @param string|null $telephoneNumber The telephone number of the shopper.
*
* @return self
*/
Expand All @@ -568,7 +568,7 @@ public function getWalletIdentifier()
/**
* Sets walletIdentifier
*
* @param string|null $walletIdentifier indicates where the money is going
* @param string|null $walletIdentifier Indicates where the money is going.
*
* @return self
*/
Expand All @@ -595,7 +595,7 @@ public function getWalletOwnerTaxId()
/**
* Sets walletOwnerTaxId
*
* @param string|null $walletOwnerTaxId indicates the tax identifier of the fund recepient
* @param string|null $walletOwnerTaxId Indicates the tax identifier of the fund recepient
*
* @return self
*/
Expand Down
14 changes: 14 additions & 0 deletions src/Adyen/Model/Checkout/InstallmentOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,15 @@ public function getModelName()
return self::$openAPIModelName;
}

public const PLANS_BUYNOW_PAYLATER = 'buynow_paylater';
public const PLANS_INTERES_REFUND_PRCTG = 'interes_refund_prctg';
public const PLANS_INTEREST_BONUS = 'interest_bonus';
public const PLANS_NOINTERES_REFUND_PRCTG = 'nointeres_refund_prctg';
public const PLANS_NOINTEREST_BONUS = 'nointerest_bonus';
public const PLANS_REFUND_PRCTG = 'refund_prctg';
public const PLANS_REGULAR = 'regular';
public const PLANS_REVOLVING = 'revolving';
public const PLANS_WITH_INTEREST = 'with_interest';

/**
* Gets allowable values of the enum
Expand All @@ -244,8 +251,15 @@ public function getModelName()
public function getPlansAllowableValues()
{
return [
self::PLANS_BUYNOW_PAYLATER,
self::PLANS_INTERES_REFUND_PRCTG,
self::PLANS_INTEREST_BONUS,
self::PLANS_NOINTERES_REFUND_PRCTG,
self::PLANS_NOINTEREST_BONUS,
self::PLANS_REFUND_PRCTG,
self::PLANS_REGULAR,
self::PLANS_REVOLVING,
self::PLANS_WITH_INTEREST,
];
}
/**
Expand Down
Loading
Loading