Skip to content

Commit f81e06b

Browse files
AdyenAutomationBotAdyenAutomationBot
and
AdyenAutomationBot
authored
Update all services (#689)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]>
1 parent 9ac4bf1 commit f81e06b

13 files changed

+697
-9
lines changed

src/Adyen/Model/Checkout/CheckoutPaymentMethod.php

+31
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
101101
'payeePreferred' => 'string',
102102
'payerID' => 'string',
103103
'payerSelected' => 'string',
104+
'shopperAccountIdentifier' => 'string',
104105
'virtualPaymentAddress' => 'string',
105106
'samsungPayToken' => 'string',
106107
'iban' => 'string',
@@ -175,6 +176,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
175176
'payeePreferred' => null,
176177
'payerID' => null,
177178
'payerSelected' => null,
179+
'shopperAccountIdentifier' => null,
178180
'virtualPaymentAddress' => null,
179181
'samsungPayToken' => null,
180182
'iban' => null,
@@ -247,6 +249,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
247249
'payeePreferred' => false,
248250
'payerID' => false,
249251
'payerSelected' => false,
252+
'shopperAccountIdentifier' => false,
250253
'virtualPaymentAddress' => false,
251254
'samsungPayToken' => false,
252255
'iban' => false,
@@ -399,6 +402,7 @@ public function isNullableSetToNull(string $property): bool
399402
'payeePreferred' => 'payeePreferred',
400403
'payerID' => 'payerID',
401404
'payerSelected' => 'payerSelected',
405+
'shopperAccountIdentifier' => 'shopperAccountIdentifier',
402406
'virtualPaymentAddress' => 'virtualPaymentAddress',
403407
'samsungPayToken' => 'samsungPayToken',
404408
'iban' => 'iban',
@@ -471,6 +475,7 @@ public function isNullableSetToNull(string $property): bool
471475
'payeePreferred' => 'setPayeePreferred',
472476
'payerID' => 'setPayerID',
473477
'payerSelected' => 'setPayerSelected',
478+
'shopperAccountIdentifier' => 'setShopperAccountIdentifier',
474479
'virtualPaymentAddress' => 'setVirtualPaymentAddress',
475480
'samsungPayToken' => 'setSamsungPayToken',
476481
'iban' => 'setIban',
@@ -543,6 +548,7 @@ public function isNullableSetToNull(string $property): bool
543548
'payeePreferred' => 'getPayeePreferred',
544549
'payerID' => 'getPayerID',
545550
'payerSelected' => 'getPayerSelected',
551+
'shopperAccountIdentifier' => 'getShopperAccountIdentifier',
546552
'virtualPaymentAddress' => 'getVirtualPaymentAddress',
547553
'samsungPayToken' => 'getSamsungPayToken',
548554
'iban' => 'getIban',
@@ -665,6 +671,7 @@ public function __construct(array $data = null)
665671
$this->setIfExists('payeePreferred', $data ?? [], null);
666672
$this->setIfExists('payerID', $data ?? [], null);
667673
$this->setIfExists('payerSelected', $data ?? [], null);
674+
$this->setIfExists('shopperAccountIdentifier', $data ?? [], null);
668675
$this->setIfExists('virtualPaymentAddress', $data ?? [], null);
669676
$this->setIfExists('samsungPayToken', $data ?? [], null);
670677
$this->setIfExists('iban', $data ?? [], null);
@@ -2111,6 +2118,30 @@ public function setPayerSelected($payerSelected)
21112118
return $this;
21122119
}
21132120

2121+
/**
2122+
* Gets shopperAccountIdentifier
2123+
*
2124+
* @return string|null
2125+
*/
2126+
public function getShopperAccountIdentifier()
2127+
{
2128+
return $this->container['shopperAccountIdentifier'];
2129+
}
2130+
2131+
/**
2132+
* Sets shopperAccountIdentifier
2133+
*
2134+
* @param string|null $shopperAccountIdentifier The shopper's banking details or payId reference, used to complete payment.
2135+
*
2136+
* @return self
2137+
*/
2138+
public function setShopperAccountIdentifier($shopperAccountIdentifier)
2139+
{
2140+
$this->container['shopperAccountIdentifier'] = $shopperAccountIdentifier;
2141+
2142+
return $this;
2143+
}
2144+
21142145
/**
21152146
* Gets virtualPaymentAddress
21162147
*

src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ public function getReturnUrl()
18131813
/**
18141814
* Sets returnUrl
18151815
*
1816-
* @param string $returnUrl The URL to return to when a redirect payment is completed.
1816+
* @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.
18171817
*
18181818
* @return self
18191819
*/
@@ -2183,7 +2183,7 @@ public function getStoreFiltrationMode()
21832183
/**
21842184
* Sets storeFiltrationMode
21852185
*
2186-
* @param string|null $storeFiltrationMode Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - 'skipFilter': All payment methods are returned, regardless of store association.
2186+
* @param string|null $storeFiltrationMode Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.
21872187
*
21882188
* @return self
21892189
*/

src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ public function getReturnUrl()
18641864
/**
18651865
* Sets returnUrl
18661866
*
1867-
* @param string $returnUrl The URL to return to when a redirect payment is completed.
1867+
* @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.
18681868
*
18691869
* @return self
18701870
*/
@@ -2258,7 +2258,7 @@ public function getStoreFiltrationMode()
22582258
/**
22592259
* Sets storeFiltrationMode
22602260
*
2261-
* @param string|null $storeFiltrationMode Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - 'skipFilter': All payment methods are returned, regardless of store association.
2261+
* @param string|null $storeFiltrationMode Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned.
22622262
*
22632263
* @return self
22642264
*/

src/Adyen/Model/Checkout/Donation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function getDonationType()
340340
/**
341341
* Sets donationType
342342
*
343-
* @param string $donationType The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).\"Possible values:\\n\\n**roundup**: a donation where the original transaction amount is rounded up as a donation.**fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from.
343+
* @param string $donationType The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types). Possible values: * **roundup**: a donation where the original transaction amount is rounded up as a donation. * **fixedAmounts**: a donation where you show fixed donations amounts that the shopper can select from.
344344
*
345345
* @return self
346346
*/

src/Adyen/Model/Checkout/DonationPaymentRequest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ public function getReturnUrl()
14101410
/**
14111411
* Sets returnUrl
14121412
*
1413-
* @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name`
1413+
* @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name`If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address.
14141414
*
14151415
* @return self
14161416
*/

src/Adyen/Model/Checkout/FundRecipient.php

+31
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class FundRecipient implements ModelInterface, ArrayAccess, \JsonSerializable
4444
* @var string[]
4545
*/
4646
protected static $openAPITypes = [
47+
'iBAN' => 'string',
4748
'billingAddress' => '\Adyen\Model\Checkout\Address',
4849
'paymentMethod' => '\Adyen\Model\Checkout\CardDetails',
4950
'shopperEmail' => 'string',
@@ -64,6 +65,7 @@ class FundRecipient implements ModelInterface, ArrayAccess, \JsonSerializable
6465
* @psalm-var array<string, string|null>
6566
*/
6667
protected static $openAPIFormats = [
68+
'iBAN' => null,
6769
'billingAddress' => null,
6870
'paymentMethod' => null,
6971
'shopperEmail' => null,
@@ -82,6 +84,7 @@ class FundRecipient implements ModelInterface, ArrayAccess, \JsonSerializable
8284
* @var boolean[]
8385
*/
8486
protected static $openAPINullables = [
87+
'iBAN' => false,
8588
'billingAddress' => false,
8689
'paymentMethod' => false,
8790
'shopperEmail' => false,
@@ -180,6 +183,7 @@ public function isNullableSetToNull(string $property): bool
180183
* @var string[]
181184
*/
182185
protected static $attributeMap = [
186+
'iBAN' => 'IBAN',
183187
'billingAddress' => 'billingAddress',
184188
'paymentMethod' => 'paymentMethod',
185189
'shopperEmail' => 'shopperEmail',
@@ -198,6 +202,7 @@ public function isNullableSetToNull(string $property): bool
198202
* @var string[]
199203
*/
200204
protected static $setters = [
205+
'iBAN' => 'setIBAN',
201206
'billingAddress' => 'setBillingAddress',
202207
'paymentMethod' => 'setPaymentMethod',
203208
'shopperEmail' => 'setShopperEmail',
@@ -216,6 +221,7 @@ public function isNullableSetToNull(string $property): bool
216221
* @var string[]
217222
*/
218223
protected static $getters = [
224+
'iBAN' => 'getIBAN',
219225
'billingAddress' => 'getBillingAddress',
220226
'paymentMethod' => 'getPaymentMethod',
221227
'shopperEmail' => 'getShopperEmail',
@@ -285,6 +291,7 @@ public function getModelName()
285291
*/
286292
public function __construct(array $data = null)
287293
{
294+
$this->setIfExists('iBAN', $data ?? [], null);
288295
$this->setIfExists('billingAddress', $data ?? [], null);
289296
$this->setIfExists('paymentMethod', $data ?? [], null);
290297
$this->setIfExists('shopperEmail', $data ?? [], null);
@@ -339,6 +346,30 @@ public function valid()
339346
}
340347

341348

349+
/**
350+
* Gets iBAN
351+
*
352+
* @return string|null
353+
*/
354+
public function getIBAN()
355+
{
356+
return $this->container['iBAN'];
357+
}
358+
359+
/**
360+
* Sets iBAN
361+
*
362+
* @param string|null $iBAN Fund Recipient Iban for C2C payments
363+
*
364+
* @return self
365+
*/
366+
public function setIBAN($iBAN)
367+
{
368+
$this->container['iBAN'] = $iBAN;
369+
370+
return $this;
371+
}
372+
342373
/**
343374
* Gets billingAddress
344375
*

src/Adyen/Model/Checkout/PayPalDetails.php

+2
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ public function getModelName()
263263
return self::$openAPIModelName;
264264
}
265265

266+
public const SUBTYPE_EXPRESS = 'express';
266267
public const SUBTYPE_REDIRECT = 'redirect';
267268
public const SUBTYPE_SDK = 'sdk';
268269
public const TYPE_PAYPAL = 'paypal';
@@ -275,6 +276,7 @@ public function getModelName()
275276
public function getSubtypeAllowableValues()
276277
{
277278
return [
279+
self::SUBTYPE_EXPRESS,
278280
self::SUBTYPE_REDIRECT,
279281
self::SUBTYPE_SDK,
280282
];

0 commit comments

Comments
 (0)