Skip to content

Commit 5762d7e

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

16 files changed

+112
-17
lines changed

src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ public function getLineItems()
14331433
/**
14341434
* Sets lineItems
14351435
*
1436-
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip.
1436+
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
14371437
*
14381438
* @return self
14391439
*/
@@ -1813,7 +1813,7 @@ public function getReturnUrl()
18131813
/**
18141814
* Sets returnUrl
18151815
*
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.
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
*/

src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ public function getLineItems()
14841484
/**
14851485
* Sets lineItems
14861486
*
1487-
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip.
1487+
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
14881488
*
14891489
* @return self
14901490
*/
@@ -1864,7 +1864,7 @@ public function getReturnUrl()
18641864
/**
18651865
* Sets returnUrl
18661866
*
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.
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
*/

src/Adyen/Model/Checkout/DonationPaymentRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ public function getLineItems()
11361136
/**
11371137
* Sets lineItems
11381138
*
1139-
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip.
1139+
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
11401140
*
11411141
* @return self
11421142
*/
@@ -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` 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.
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ public function getWalletOwnerTaxId()
599599
/**
600600
* Sets walletOwnerTaxId
601601
*
602-
* @param string|null $walletOwnerTaxId Indicates the tax identifier of the fund recepient
602+
* @param string|null $walletOwnerTaxId Indicates the tax identifier of the fund recipient
603603
*
604604
* @return self
605605
*/

src/Adyen/Model/Checkout/Mandate.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable
4848
'amountRule' => 'string',
4949
'billingAttemptsRule' => 'string',
5050
'billingDay' => 'string',
51+
'count' => 'string',
5152
'endsAt' => 'string',
5253
'frequency' => 'string',
5354
'remarks' => 'string',
@@ -66,6 +67,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable
6667
'amountRule' => null,
6768
'billingAttemptsRule' => null,
6869
'billingDay' => null,
70+
'count' => null,
6971
'endsAt' => null,
7072
'frequency' => null,
7173
'remarks' => null,
@@ -82,6 +84,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable
8284
'amountRule' => false,
8385
'billingAttemptsRule' => false,
8486
'billingDay' => false,
87+
'count' => false,
8588
'endsAt' => false,
8689
'frequency' => false,
8790
'remarks' => false,
@@ -178,6 +181,7 @@ public function isNullableSetToNull(string $property): bool
178181
'amountRule' => 'amountRule',
179182
'billingAttemptsRule' => 'billingAttemptsRule',
180183
'billingDay' => 'billingDay',
184+
'count' => 'count',
181185
'endsAt' => 'endsAt',
182186
'frequency' => 'frequency',
183187
'remarks' => 'remarks',
@@ -194,6 +198,7 @@ public function isNullableSetToNull(string $property): bool
194198
'amountRule' => 'setAmountRule',
195199
'billingAttemptsRule' => 'setBillingAttemptsRule',
196200
'billingDay' => 'setBillingDay',
201+
'count' => 'setCount',
197202
'endsAt' => 'setEndsAt',
198203
'frequency' => 'setFrequency',
199204
'remarks' => 'setRemarks',
@@ -210,6 +215,7 @@ public function isNullableSetToNull(string $property): bool
210215
'amountRule' => 'getAmountRule',
211216
'billingAttemptsRule' => 'getBillingAttemptsRule',
212217
'billingDay' => 'getBillingDay',
218+
'count' => 'getCount',
213219
'endsAt' => 'getEndsAt',
214220
'frequency' => 'getFrequency',
215221
'remarks' => 'getRemarks',
@@ -333,6 +339,7 @@ public function __construct(array $data = null)
333339
$this->setIfExists('amountRule', $data ?? [], null);
334340
$this->setIfExists('billingAttemptsRule', $data ?? [], null);
335341
$this->setIfExists('billingDay', $data ?? [], null);
342+
$this->setIfExists('count', $data ?? [], null);
336343
$this->setIfExists('endsAt', $data ?? [], null);
337344
$this->setIfExists('frequency', $data ?? [], null);
338345
$this->setIfExists('remarks', $data ?? [], null);
@@ -533,6 +540,30 @@ public function setBillingDay($billingDay)
533540
return $this;
534541
}
535542

543+
/**
544+
* Gets count
545+
*
546+
* @return string|null
547+
*/
548+
public function getCount()
549+
{
550+
return $this->container['count'];
551+
}
552+
553+
/**
554+
* Sets count
555+
*
556+
* @param string|null $count The number of transactions that can be performed within the given frequency.
557+
*
558+
* @return self
559+
*/
560+
public function setCount($count)
561+
{
562+
$this->container['count'] = $count;
563+
564+
return $this;
565+
}
566+
536567
/**
537568
* Gets endsAt
538569
*

src/Adyen/Model/Checkout/PaymentDetails.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ public function getModelName()
256256
public const TYPE_MOLPAY_EBANKING_DIRECT_MY = 'molpay_ebanking_direct_MY';
257257
public const TYPE_SWISH = 'swish';
258258
public const TYPE_PIX = 'pix';
259+
public const TYPE_BIZUM = 'bizum';
259260
public const TYPE_WALLEY = 'walley';
260261
public const TYPE_WALLEY_B2B = 'walley_b2b';
261262
public const TYPE_ALMA = 'alma';
@@ -355,6 +356,7 @@ public function getTypeAllowableValues()
355356
self::TYPE_MOLPAY_EBANKING_DIRECT_MY,
356357
self::TYPE_SWISH,
357358
self::TYPE_PIX,
359+
self::TYPE_BIZUM,
358360
self::TYPE_WALLEY,
359361
self::TYPE_WALLEY_B2B,
360362
self::TYPE_ALMA,

src/Adyen/Model/Checkout/PaymentLinkRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ public function getLineItems()
10151015
/**
10161016
* Sets lineItems
10171017
*
1018-
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip.
1018+
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
10191019
*
10201020
* @return self
10211021
*/

src/Adyen/Model/Checkout/PaymentLinkResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ public function getLineItems()
11051105
/**
11061106
* Sets lineItems
11071107
*
1108-
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip.
1108+
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
11091109
*
11101110
* @return self
11111111
*/

src/Adyen/Model/Checkout/PaymentRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ public function getLineItems()
16281628
/**
16291629
* Sets lineItems
16301630
*
1631-
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip.
1631+
* @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
16321632
*
16331633
* @return self
16341634
*/
@@ -2118,7 +2118,7 @@ public function getReturnUrl()
21182118
/**
21192119
* Sets returnUrl
21202120
*
2121-
* @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.
2121+
* @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.
21222122
*
21232123
* @return self
21242124
*/

src/Adyen/Model/Checkout/PaymentSetupRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ public function getReturnUrl()
16811681
/**
16821682
* Sets returnUrl
16831683
*
1684-
* @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.
1684+
* @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.
16851685
*
16861686
* @return self
16871687
*/

0 commit comments

Comments
 (0)