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

Merged
merged 2 commits into from
Sep 16, 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
2 changes: 1 addition & 1 deletion src/Adyen/Model/Checkout/AdditionalData3DSecure.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function getAllow3DS2()
/**
* Sets allow3DS2
*
* @param string|null $allow3DS2 Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.
* @param string|null $allow3DS2 Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration.
*
* @return self
* @deprecated
Expand Down
6 changes: 3 additions & 3 deletions src/Adyen/Model/Checkout/AdditionalDataLodging.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ public function getLodgingCustomerServiceTollFreeNumber()
/**
* Sets lodgingCustomerServiceTollFreeNumber
*
* @param string|null $lodgingCustomerServiceTollFreeNumber The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
* @param string|null $lodgingCustomerServiceTollFreeNumber The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
*
* @return self
*/
Expand Down Expand Up @@ -545,7 +545,7 @@ public function getLodgingFolioNumber()
/**
* Sets lodgingFolioNumber
*
* @param string|null $lodgingFolioNumber The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.
* @param string|null $lodgingFolioNumber The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.
*
* @return self
*/
Expand Down Expand Up @@ -641,7 +641,7 @@ public function getLodgingPropertyPhoneNumber()
/**
* Sets lodgingPropertyPhoneNumber
*
* @param string|null $lodgingPropertyPhoneNumber The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
* @param string|null $lodgingPropertyPhoneNumber The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
*
* @return self
*/
Expand Down
93 changes: 93 additions & 0 deletions src/Adyen/Model/Checkout/CheckoutBankTransferAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,16 @@ class CheckoutBankTransferAction implements ModelInterface, ArrayAccess, \JsonSe
* @var string[]
*/
protected static $openAPITypes = [
'accountNumber' => 'string',
'beneficiary' => 'string',
'bic' => 'string',
'downloadUrl' => 'string',
'iban' => 'string',
'paymentMethodType' => 'string',
'reference' => 'string',
'routingNumber' => 'string',
'shopperEmail' => 'string',
'sortCode' => 'string',
'totalAmount' => '\Adyen\Model\Checkout\Amount',
'type' => 'string',
'url' => 'string'
Expand All @@ -64,13 +67,16 @@ class CheckoutBankTransferAction implements ModelInterface, ArrayAccess, \JsonSe
* @psalm-var array<string, string|null>
*/
protected static $openAPIFormats = [
'accountNumber' => null,
'beneficiary' => null,
'bic' => null,
'downloadUrl' => null,
'iban' => null,
'paymentMethodType' => null,
'reference' => null,
'routingNumber' => null,
'shopperEmail' => null,
'sortCode' => null,
'totalAmount' => null,
'type' => null,
'url' => null
Expand All @@ -82,13 +88,16 @@ class CheckoutBankTransferAction implements ModelInterface, ArrayAccess, \JsonSe
* @var boolean[]
*/
protected static $openAPINullables = [
'accountNumber' => false,
'beneficiary' => false,
'bic' => false,
'downloadUrl' => false,
'iban' => false,
'paymentMethodType' => false,
'reference' => false,
'routingNumber' => false,
'shopperEmail' => false,
'sortCode' => false,
'totalAmount' => false,
'type' => false,
'url' => false
Expand Down Expand Up @@ -180,13 +189,16 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $attributeMap = [
'accountNumber' => 'accountNumber',
'beneficiary' => 'beneficiary',
'bic' => 'bic',
'downloadUrl' => 'downloadUrl',
'iban' => 'iban',
'paymentMethodType' => 'paymentMethodType',
'reference' => 'reference',
'routingNumber' => 'routingNumber',
'shopperEmail' => 'shopperEmail',
'sortCode' => 'sortCode',
'totalAmount' => 'totalAmount',
'type' => 'type',
'url' => 'url'
Expand All @@ -198,13 +210,16 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $setters = [
'accountNumber' => 'setAccountNumber',
'beneficiary' => 'setBeneficiary',
'bic' => 'setBic',
'downloadUrl' => 'setDownloadUrl',
'iban' => 'setIban',
'paymentMethodType' => 'setPaymentMethodType',
'reference' => 'setReference',
'routingNumber' => 'setRoutingNumber',
'shopperEmail' => 'setShopperEmail',
'sortCode' => 'setSortCode',
'totalAmount' => 'setTotalAmount',
'type' => 'setType',
'url' => 'setUrl'
Expand All @@ -216,13 +231,16 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $getters = [
'accountNumber' => 'getAccountNumber',
'beneficiary' => 'getBeneficiary',
'bic' => 'getBic',
'downloadUrl' => 'getDownloadUrl',
'iban' => 'getIban',
'paymentMethodType' => 'getPaymentMethodType',
'reference' => 'getReference',
'routingNumber' => 'getRoutingNumber',
'shopperEmail' => 'getShopperEmail',
'sortCode' => 'getSortCode',
'totalAmount' => 'getTotalAmount',
'type' => 'getType',
'url' => 'getUrl'
Expand Down Expand Up @@ -297,13 +315,16 @@ public function getTypeAllowableValues()
*/
public function __construct(array $data = null)
{
$this->setIfExists('accountNumber', $data ?? [], null);
$this->setIfExists('beneficiary', $data ?? [], null);
$this->setIfExists('bic', $data ?? [], null);
$this->setIfExists('downloadUrl', $data ?? [], null);
$this->setIfExists('iban', $data ?? [], null);
$this->setIfExists('paymentMethodType', $data ?? [], null);
$this->setIfExists('reference', $data ?? [], null);
$this->setIfExists('routingNumber', $data ?? [], null);
$this->setIfExists('shopperEmail', $data ?? [], null);
$this->setIfExists('sortCode', $data ?? [], null);
$this->setIfExists('totalAmount', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
$this->setIfExists('url', $data ?? [], null);
Expand Down Expand Up @@ -363,6 +384,30 @@ public function valid()
}


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

/**
* Sets accountNumber
*
* @param string|null $accountNumber The account number of the bank transfer.
*
* @return self
*/
public function setAccountNumber($accountNumber)
{
$this->container['accountNumber'] = $accountNumber;

return $this;
}

/**
* Gets beneficiary
*
Expand Down Expand Up @@ -507,6 +552,30 @@ public function setReference($reference)
return $this;
}

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

/**
* Sets routingNumber
*
* @param string|null $routingNumber The routing number of the bank transfer.
*
* @return self
*/
public function setRoutingNumber($routingNumber)
{
$this->container['routingNumber'] = $routingNumber;

return $this;
}

/**
* Gets shopperEmail
*
Expand All @@ -531,6 +600,30 @@ public function setShopperEmail($shopperEmail)
return $this;
}

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

/**
* Sets sortCode
*
* @param string|null $sortCode The sort code of the bank transfer.
*
* @return self
*/
public function setSortCode($sortCode)
{
$this->container['sortCode'] = $sortCode;

return $this;
}

/**
* Gets totalAmount
*
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/CheckoutPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'lastName' => 'string',
'shopperEmail' => 'string',
'telephoneNumber' => 'string',
'bankCode' => 'string',
'googlePayCardNetwork' => 'string',
'googlePayToken' => 'string',
'masterpassTransactionId' => 'string',
Expand Down Expand Up @@ -169,6 +170,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'lastName' => null,
'shopperEmail' => null,
'telephoneNumber' => null,
'bankCode' => null,
'googlePayCardNetwork' => null,
'googlePayToken' => null,
'masterpassTransactionId' => null,
Expand Down Expand Up @@ -242,6 +244,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'lastName' => false,
'shopperEmail' => false,
'telephoneNumber' => false,
'bankCode' => false,
'googlePayCardNetwork' => false,
'googlePayToken' => false,
'masterpassTransactionId' => false,
Expand Down Expand Up @@ -395,6 +398,7 @@ public function isNullableSetToNull(string $property): bool
'lastName' => 'lastName',
'shopperEmail' => 'shopperEmail',
'telephoneNumber' => 'telephoneNumber',
'bankCode' => 'bankCode',
'googlePayCardNetwork' => 'googlePayCardNetwork',
'googlePayToken' => 'googlePayToken',
'masterpassTransactionId' => 'masterpassTransactionId',
Expand Down Expand Up @@ -468,6 +472,7 @@ public function isNullableSetToNull(string $property): bool
'lastName' => 'setLastName',
'shopperEmail' => 'setShopperEmail',
'telephoneNumber' => 'setTelephoneNumber',
'bankCode' => 'setBankCode',
'googlePayCardNetwork' => 'setGooglePayCardNetwork',
'googlePayToken' => 'setGooglePayToken',
'masterpassTransactionId' => 'setMasterpassTransactionId',
Expand Down Expand Up @@ -541,6 +546,7 @@ public function isNullableSetToNull(string $property): bool
'lastName' => 'getLastName',
'shopperEmail' => 'getShopperEmail',
'telephoneNumber' => 'getTelephoneNumber',
'bankCode' => 'getBankCode',
'googlePayCardNetwork' => 'getGooglePayCardNetwork',
'googlePayToken' => 'getGooglePayToken',
'masterpassTransactionId' => 'getMasterpassTransactionId',
Expand Down Expand Up @@ -664,6 +670,7 @@ public function __construct(array $data = null)
$this->setIfExists('lastName', $data ?? [], null);
$this->setIfExists('shopperEmail', $data ?? [], null);
$this->setIfExists('telephoneNumber', $data ?? [], null);
$this->setIfExists('bankCode', $data ?? [], null);
$this->setIfExists('googlePayCardNetwork', $data ?? [], null);
$this->setIfExists('googlePayToken', $data ?? [], null);
$this->setIfExists('masterpassTransactionId', $data ?? [], null);
Expand Down Expand Up @@ -1950,6 +1957,30 @@ public function setTelephoneNumber($telephoneNumber)
return $this;
}

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

/**
* Sets bankCode
*
* @param string|null $bankCode The financial institution code.
*
* @return self
*/
public function setBankCode($bankCode)
{
$this->container['bankCode'] = $bankCode;

return $this;
}

/**
* Gets googlePayCardNetwork
*
Expand Down
Loading