Skip to content

Commit f56c714

Browse files
AdyenAutomationBotAdyenAutomationBot
andauthored
Update all services (#693)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot <Adyen Automation plugins_dev@adyen.com>
1 parent 818d687 commit f56c714

24 files changed

+4293
-18
lines changed

src/Adyen/Model/Checkout/AdditionalData3DSecure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function getAllow3DS2()
354354
/**
355355
* Sets allow3DS2
356356
*
357-
* @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.
357+
* @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.
358358
*
359359
* @return self
360360
* @deprecated

src/Adyen/Model/Checkout/AdditionalDataLodging.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ public function getLodgingCustomerServiceTollFreeNumber()
473473
/**
474474
* Sets lodgingCustomerServiceTollFreeNumber
475475
*
476-
* @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.
476+
* @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.
477477
*
478478
* @return self
479479
*/
@@ -545,7 +545,7 @@ public function getLodgingFolioNumber()
545545
/**
546546
* Sets lodgingFolioNumber
547547
*
548-
* @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.
548+
* @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.
549549
*
550550
* @return self
551551
*/
@@ -641,7 +641,7 @@ public function getLodgingPropertyPhoneNumber()
641641
/**
642642
* Sets lodgingPropertyPhoneNumber
643643
*
644-
* @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.
644+
* @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.
645645
*
646646
* @return self
647647
*/

src/Adyen/Model/Checkout/CheckoutBankTransferAction.php

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,16 @@ class CheckoutBankTransferAction implements ModelInterface, ArrayAccess, \JsonSe
4444
* @var string[]
4545
*/
4646
protected static $openAPITypes = [
47+
'accountNumber' => 'string',
4748
'beneficiary' => 'string',
4849
'bic' => 'string',
4950
'downloadUrl' => 'string',
5051
'iban' => 'string',
5152
'paymentMethodType' => 'string',
5253
'reference' => 'string',
54+
'routingNumber' => 'string',
5355
'shopperEmail' => 'string',
56+
'sortCode' => 'string',
5457
'totalAmount' => '\Adyen\Model\Checkout\Amount',
5558
'type' => 'string',
5659
'url' => 'string'
@@ -64,13 +67,16 @@ class CheckoutBankTransferAction implements ModelInterface, ArrayAccess, \JsonSe
6467
* @psalm-var array<string, string|null>
6568
*/
6669
protected static $openAPIFormats = [
70+
'accountNumber' => null,
6771
'beneficiary' => null,
6872
'bic' => null,
6973
'downloadUrl' => null,
7074
'iban' => null,
7175
'paymentMethodType' => null,
7276
'reference' => null,
77+
'routingNumber' => null,
7378
'shopperEmail' => null,
79+
'sortCode' => null,
7480
'totalAmount' => null,
7581
'type' => null,
7682
'url' => null
@@ -82,13 +88,16 @@ class CheckoutBankTransferAction implements ModelInterface, ArrayAccess, \JsonSe
8288
* @var boolean[]
8389
*/
8490
protected static $openAPINullables = [
91+
'accountNumber' => false,
8592
'beneficiary' => false,
8693
'bic' => false,
8794
'downloadUrl' => false,
8895
'iban' => false,
8996
'paymentMethodType' => false,
9097
'reference' => false,
98+
'routingNumber' => false,
9199
'shopperEmail' => false,
100+
'sortCode' => false,
92101
'totalAmount' => false,
93102
'type' => false,
94103
'url' => false
@@ -180,13 +189,16 @@ public function isNullableSetToNull(string $property): bool
180189
* @var string[]
181190
*/
182191
protected static $attributeMap = [
192+
'accountNumber' => 'accountNumber',
183193
'beneficiary' => 'beneficiary',
184194
'bic' => 'bic',
185195
'downloadUrl' => 'downloadUrl',
186196
'iban' => 'iban',
187197
'paymentMethodType' => 'paymentMethodType',
188198
'reference' => 'reference',
199+
'routingNumber' => 'routingNumber',
189200
'shopperEmail' => 'shopperEmail',
201+
'sortCode' => 'sortCode',
190202
'totalAmount' => 'totalAmount',
191203
'type' => 'type',
192204
'url' => 'url'
@@ -198,13 +210,16 @@ public function isNullableSetToNull(string $property): bool
198210
* @var string[]
199211
*/
200212
protected static $setters = [
213+
'accountNumber' => 'setAccountNumber',
201214
'beneficiary' => 'setBeneficiary',
202215
'bic' => 'setBic',
203216
'downloadUrl' => 'setDownloadUrl',
204217
'iban' => 'setIban',
205218
'paymentMethodType' => 'setPaymentMethodType',
206219
'reference' => 'setReference',
220+
'routingNumber' => 'setRoutingNumber',
207221
'shopperEmail' => 'setShopperEmail',
222+
'sortCode' => 'setSortCode',
208223
'totalAmount' => 'setTotalAmount',
209224
'type' => 'setType',
210225
'url' => 'setUrl'
@@ -216,13 +231,16 @@ public function isNullableSetToNull(string $property): bool
216231
* @var string[]
217232
*/
218233
protected static $getters = [
234+
'accountNumber' => 'getAccountNumber',
219235
'beneficiary' => 'getBeneficiary',
220236
'bic' => 'getBic',
221237
'downloadUrl' => 'getDownloadUrl',
222238
'iban' => 'getIban',
223239
'paymentMethodType' => 'getPaymentMethodType',
224240
'reference' => 'getReference',
241+
'routingNumber' => 'getRoutingNumber',
225242
'shopperEmail' => 'getShopperEmail',
243+
'sortCode' => 'getSortCode',
226244
'totalAmount' => 'getTotalAmount',
227245
'type' => 'getType',
228246
'url' => 'getUrl'
@@ -297,13 +315,16 @@ public function getTypeAllowableValues()
297315
*/
298316
public function __construct(array $data = null)
299317
{
318+
$this->setIfExists('accountNumber', $data ?? [], null);
300319
$this->setIfExists('beneficiary', $data ?? [], null);
301320
$this->setIfExists('bic', $data ?? [], null);
302321
$this->setIfExists('downloadUrl', $data ?? [], null);
303322
$this->setIfExists('iban', $data ?? [], null);
304323
$this->setIfExists('paymentMethodType', $data ?? [], null);
305324
$this->setIfExists('reference', $data ?? [], null);
325+
$this->setIfExists('routingNumber', $data ?? [], null);
306326
$this->setIfExists('shopperEmail', $data ?? [], null);
327+
$this->setIfExists('sortCode', $data ?? [], null);
307328
$this->setIfExists('totalAmount', $data ?? [], null);
308329
$this->setIfExists('type', $data ?? [], null);
309330
$this->setIfExists('url', $data ?? [], null);
@@ -363,6 +384,30 @@ public function valid()
363384
}
364385

365386

387+
/**
388+
* Gets accountNumber
389+
*
390+
* @return string|null
391+
*/
392+
public function getAccountNumber()
393+
{
394+
return $this->container['accountNumber'];
395+
}
396+
397+
/**
398+
* Sets accountNumber
399+
*
400+
* @param string|null $accountNumber The account number of the bank transfer.
401+
*
402+
* @return self
403+
*/
404+
public function setAccountNumber($accountNumber)
405+
{
406+
$this->container['accountNumber'] = $accountNumber;
407+
408+
return $this;
409+
}
410+
366411
/**
367412
* Gets beneficiary
368413
*
@@ -507,6 +552,30 @@ public function setReference($reference)
507552
return $this;
508553
}
509554

555+
/**
556+
* Gets routingNumber
557+
*
558+
* @return string|null
559+
*/
560+
public function getRoutingNumber()
561+
{
562+
return $this->container['routingNumber'];
563+
}
564+
565+
/**
566+
* Sets routingNumber
567+
*
568+
* @param string|null $routingNumber The routing number of the bank transfer.
569+
*
570+
* @return self
571+
*/
572+
public function setRoutingNumber($routingNumber)
573+
{
574+
$this->container['routingNumber'] = $routingNumber;
575+
576+
return $this;
577+
}
578+
510579
/**
511580
* Gets shopperEmail
512581
*
@@ -531,6 +600,30 @@ public function setShopperEmail($shopperEmail)
531600
return $this;
532601
}
533602

603+
/**
604+
* Gets sortCode
605+
*
606+
* @return string|null
607+
*/
608+
public function getSortCode()
609+
{
610+
return $this->container['sortCode'];
611+
}
612+
613+
/**
614+
* Sets sortCode
615+
*
616+
* @param string|null $sortCode The sort code of the bank transfer.
617+
*
618+
* @return self
619+
*/
620+
public function setSortCode($sortCode)
621+
{
622+
$this->container['sortCode'] = $sortCode;
623+
624+
return $this;
625+
}
626+
534627
/**
535628
* Gets totalAmount
536629
*

src/Adyen/Model/Checkout/CheckoutPaymentMethod.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
9494
'lastName' => 'string',
9595
'shopperEmail' => 'string',
9696
'telephoneNumber' => 'string',
97+
'bankCode' => 'string',
9798
'googlePayCardNetwork' => 'string',
9899
'googlePayToken' => 'string',
99100
'masterpassTransactionId' => 'string',
@@ -169,6 +170,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
169170
'lastName' => null,
170171
'shopperEmail' => null,
171172
'telephoneNumber' => null,
173+
'bankCode' => null,
172174
'googlePayCardNetwork' => null,
173175
'googlePayToken' => null,
174176
'masterpassTransactionId' => null,
@@ -242,6 +244,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
242244
'lastName' => false,
243245
'shopperEmail' => false,
244246
'telephoneNumber' => false,
247+
'bankCode' => false,
245248
'googlePayCardNetwork' => false,
246249
'googlePayToken' => false,
247250
'masterpassTransactionId' => false,
@@ -395,6 +398,7 @@ public function isNullableSetToNull(string $property): bool
395398
'lastName' => 'lastName',
396399
'shopperEmail' => 'shopperEmail',
397400
'telephoneNumber' => 'telephoneNumber',
401+
'bankCode' => 'bankCode',
398402
'googlePayCardNetwork' => 'googlePayCardNetwork',
399403
'googlePayToken' => 'googlePayToken',
400404
'masterpassTransactionId' => 'masterpassTransactionId',
@@ -468,6 +472,7 @@ public function isNullableSetToNull(string $property): bool
468472
'lastName' => 'setLastName',
469473
'shopperEmail' => 'setShopperEmail',
470474
'telephoneNumber' => 'setTelephoneNumber',
475+
'bankCode' => 'setBankCode',
471476
'googlePayCardNetwork' => 'setGooglePayCardNetwork',
472477
'googlePayToken' => 'setGooglePayToken',
473478
'masterpassTransactionId' => 'setMasterpassTransactionId',
@@ -541,6 +546,7 @@ public function isNullableSetToNull(string $property): bool
541546
'lastName' => 'getLastName',
542547
'shopperEmail' => 'getShopperEmail',
543548
'telephoneNumber' => 'getTelephoneNumber',
549+
'bankCode' => 'getBankCode',
544550
'googlePayCardNetwork' => 'getGooglePayCardNetwork',
545551
'googlePayToken' => 'getGooglePayToken',
546552
'masterpassTransactionId' => 'getMasterpassTransactionId',
@@ -664,6 +670,7 @@ public function __construct(array $data = null)
664670
$this->setIfExists('lastName', $data ?? [], null);
665671
$this->setIfExists('shopperEmail', $data ?? [], null);
666672
$this->setIfExists('telephoneNumber', $data ?? [], null);
673+
$this->setIfExists('bankCode', $data ?? [], null);
667674
$this->setIfExists('googlePayCardNetwork', $data ?? [], null);
668675
$this->setIfExists('googlePayToken', $data ?? [], null);
669676
$this->setIfExists('masterpassTransactionId', $data ?? [], null);
@@ -1950,6 +1957,30 @@ public function setTelephoneNumber($telephoneNumber)
19501957
return $this;
19511958
}
19521959

1960+
/**
1961+
* Gets bankCode
1962+
*
1963+
* @return string|null
1964+
*/
1965+
public function getBankCode()
1966+
{
1967+
return $this->container['bankCode'];
1968+
}
1969+
1970+
/**
1971+
* Sets bankCode
1972+
*
1973+
* @param string|null $bankCode The financial institution code.
1974+
*
1975+
* @return self
1976+
*/
1977+
public function setBankCode($bankCode)
1978+
{
1979+
$this->container['bankCode'] = $bankCode;
1980+
1981+
return $this;
1982+
}
1983+
19531984
/**
19541985
* Gets googlePayCardNetwork
19551986
*

0 commit comments

Comments
 (0)