Skip to content

Commit a421f09

Browse files
AdyenAutomationBotAdyenAutomationBotDjoykeAbyah
authored
Update all services (#1384)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted * Update transferRoute.ts Removed faulty import statement --------- Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]> Co-authored-by: Djoyke Reijans <[email protected]>
1 parent 491ea65 commit a421f09

13 files changed

+107
-11
lines changed

src/typings/checkout/createCheckoutSessionRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class CreateCheckoutSessionRequest {
141141
*/
142142
'reference': string;
143143
/**
144-
* The URL to return to when a redirect payment is completed.
144+
* 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.
145145
*/
146146
'returnUrl': string;
147147
'riskData'?: RiskData;
@@ -195,7 +195,7 @@ export class CreateCheckoutSessionRequest {
195195
*/
196196
'store'?: string;
197197
/**
198-
* 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.
198+
* 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.
199199
*/
200200
'storeFiltrationMode'?: CreateCheckoutSessionRequest.StoreFiltrationModeEnum;
201201
/**

src/typings/checkout/createCheckoutSessionResponse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class CreateCheckoutSessionResponse {
145145
*/
146146
'reference': string;
147147
/**
148-
* The URL to return to when a redirect payment is completed.
148+
* 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.
149149
*/
150150
'returnUrl': string;
151151
'riskData'?: RiskData;
@@ -203,7 +203,7 @@ export class CreateCheckoutSessionResponse {
203203
*/
204204
'store'?: string;
205205
/**
206-
* 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.
206+
* 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.
207207
*/
208208
'storeFiltrationMode'?: CreateCheckoutSessionResponse.StoreFiltrationModeEnum;
209209
/**

src/typings/checkout/donation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class Donation {
1414
*/
1515
'currency': string;
1616
/**
17-
* 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.
17+
* 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.
1818
*/
1919
'donationType': string;
2020
/**

src/typings/checkout/donationPaymentRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class DonationPaymentRequest {
120120
*/
121121
'reference': string;
122122
/**
123-
* 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`
123+
* 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.
124124
*/
125125
'returnUrl': string;
126126
/**

src/typings/checkout/fundRecipient.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import { Name } from './name';
1313
import { SubMerchant } from './subMerchant';
1414

1515
export class FundRecipient {
16+
/**
17+
* Fund Recipient Iban for C2C payments
18+
*/
19+
'IBAN'?: string;
1620
'billingAddress'?: Address;
1721
'paymentMethod'?: CardDetails;
1822
/**
@@ -45,6 +49,11 @@ export class FundRecipient {
4549
static discriminator: string | undefined = undefined;
4650

4751
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
52+
{
53+
"name": "IBAN",
54+
"baseName": "IBAN",
55+
"type": "string"
56+
},
4857
{
4958
"name": "billingAddress",
5059
"baseName": "billingAddress",

src/typings/checkout/models.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export * from './name';
122122
export * from './openInvoiceDetails';
123123
export * from './payByBankDetails';
124124
export * from './payPalDetails';
125+
export * from './payToDetails';
125126
export * from './payUUpiDetails';
126127
export * from './payWithGoogleDetails';
127128
export * from './payWithGoogleDonations';
@@ -328,6 +329,7 @@ import { Name } from './name';
328329
import { OpenInvoiceDetails } from './openInvoiceDetails';
329330
import { PayByBankDetails } from './payByBankDetails';
330331
import { PayPalDetails } from './payPalDetails';
332+
import { PayToDetails } from './payToDetails';
331333
import { PayUUpiDetails } from './payUUpiDetails';
332334
import { PayWithGoogleDetails } from './payWithGoogleDetails';
333335
import { PayWithGoogleDonations } from './payWithGoogleDonations';
@@ -532,6 +534,7 @@ let enumsMap: {[index: string]: any} = {
532534
"PayByBankDetails.TypeEnum": PayByBankDetails.TypeEnum,
533535
"PayPalDetails.SubtypeEnum": PayPalDetails.SubtypeEnum,
534536
"PayPalDetails.TypeEnum": PayPalDetails.TypeEnum,
537+
"PayToDetails.TypeEnum": PayToDetails.TypeEnum,
535538
"PayUUpiDetails.TypeEnum": PayUUpiDetails.TypeEnum,
536539
"PayWithGoogleDetails.FundingSourceEnum": PayWithGoogleDetails.FundingSourceEnum,
537540
"PayWithGoogleDetails.TypeEnum": PayWithGoogleDetails.TypeEnum,
@@ -738,6 +741,7 @@ let typeMap: {[index: string]: any} = {
738741
"OpenInvoiceDetails": OpenInvoiceDetails,
739742
"PayByBankDetails": PayByBankDetails,
740743
"PayPalDetails": PayPalDetails,
744+
"PayToDetails": PayToDetails,
741745
"PayUUpiDetails": PayUUpiDetails,
742746
"PayWithGoogleDetails": PayWithGoogleDetails,
743747
"PayWithGoogleDonations": PayWithGoogleDonations,

src/typings/checkout/payPalDetails.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export class PayPalDetails {
102102

103103
export namespace PayPalDetails {
104104
export enum SubtypeEnum {
105+
Express = 'express',
105106
Redirect = 'redirect',
106107
Sdk = 'sdk'
107108
}

src/typings/checkout/payToDetails.ts

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*
2+
* The version of the OpenAPI document: v71
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class PayToDetails {
12+
/**
13+
* The checkout attempt identifier.
14+
*/
15+
'checkoutAttemptId'?: string;
16+
/**
17+
* The shopper\'s banking details or payId reference, used to complete payment.
18+
*/
19+
'shopperAccountIdentifier'?: string;
20+
/**
21+
* **payto**
22+
*/
23+
'type'?: PayToDetails.TypeEnum;
24+
25+
static discriminator: string | undefined = undefined;
26+
27+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
28+
{
29+
"name": "checkoutAttemptId",
30+
"baseName": "checkoutAttemptId",
31+
"type": "string"
32+
},
33+
{
34+
"name": "shopperAccountIdentifier",
35+
"baseName": "shopperAccountIdentifier",
36+
"type": "string"
37+
},
38+
{
39+
"name": "type",
40+
"baseName": "type",
41+
"type": "PayToDetails.TypeEnum"
42+
} ];
43+
44+
static getAttributeTypeMap() {
45+
return PayToDetails.attributeTypeMap;
46+
}
47+
}
48+
49+
export namespace PayToDetails {
50+
export enum TypeEnum {
51+
Payto = 'payto'
52+
}
53+
}

src/typings/checkout/paymentLinkRequest.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { Address } from './address';
1111
import { Amount } from './amount';
1212
import { ApplicationInfo } from './applicationInfo';
1313
import { CheckoutSessionThreeDS2RequestData } from './checkoutSessionThreeDS2RequestData';
14+
import { FundOrigin } from './fundOrigin';
15+
import { FundRecipient } from './fundRecipient';
1416
import { InstallmentOption } from './installmentOption';
1517
import { LineItem } from './lineItem';
1618
import { Name } from './name';
@@ -55,6 +57,8 @@ export class PaymentLinkRequest {
5557
* The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created.
5658
*/
5759
'expiresAt'?: Date;
60+
'fundOrigin'?: FundOrigin;
61+
'fundRecipient'?: FundRecipient;
5862
/**
5963
* A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options.
6064
*/
@@ -219,6 +223,16 @@ export class PaymentLinkRequest {
219223
"baseName": "expiresAt",
220224
"type": "Date"
221225
},
226+
{
227+
"name": "fundOrigin",
228+
"baseName": "fundOrigin",
229+
"type": "FundOrigin"
230+
},
231+
{
232+
"name": "fundRecipient",
233+
"baseName": "fundRecipient",
234+
"type": "FundRecipient"
235+
},
222236
{
223237
"name": "installmentOptions",
224238
"baseName": "installmentOptions",

src/typings/checkout/paymentLinkResponse.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { Address } from './address';
1111
import { Amount } from './amount';
1212
import { ApplicationInfo } from './applicationInfo';
1313
import { CheckoutSessionThreeDS2RequestData } from './checkoutSessionThreeDS2RequestData';
14+
import { FundOrigin } from './fundOrigin';
15+
import { FundRecipient } from './fundRecipient';
1416
import { InstallmentOption } from './installmentOption';
1517
import { LineItem } from './lineItem';
1618
import { Name } from './name';
@@ -55,6 +57,8 @@ export class PaymentLinkResponse {
5557
* The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created.
5658
*/
5759
'expiresAt'?: Date;
60+
'fundOrigin'?: FundOrigin;
61+
'fundRecipient'?: FundRecipient;
5862
/**
5963
* A unique identifier of the payment link.
6064
*/
@@ -235,6 +239,16 @@ export class PaymentLinkResponse {
235239
"baseName": "expiresAt",
236240
"type": "Date"
237241
},
242+
{
243+
"name": "fundOrigin",
244+
"baseName": "fundOrigin",
245+
"type": "FundOrigin"
246+
},
247+
{
248+
"name": "fundRecipient",
249+
"baseName": "fundRecipient",
250+
"type": "FundRecipient"
251+
},
238252
{
239253
"name": "id",
240254
"baseName": "id",

0 commit comments

Comments
 (0)