@bigcommerce/checkout-sdk 1.575.0 → 1.576.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/checkout-button.js +1 -1
  2. package/dist/checkout-button.umd.js +1 -1
  3. package/dist/checkout-sdk.d.ts +20 -330
  4. package/dist/checkout-sdk.js +1 -1
  5. package/dist/checkout-sdk.js.map +1 -1
  6. package/dist/checkout-sdk.umd.js +1 -1
  7. package/dist/checkout-sdk.umd.js.map +1 -1
  8. package/docs/README.md +4 -34
  9. package/docs/enums/AdyenCardFields.md +29 -0
  10. package/docs/interfaces/AdyenBaseCardComponentOptions.md +7 -0
  11. package/docs/interfaces/AdyenComponent.md +11 -0
  12. package/docs/interfaces/AdyenComponentEvents.md +22 -2
  13. package/docs/interfaces/AdyenCreditCardComponentOptions.md +37 -2
  14. package/docs/interfaces/AdyenIdealComponentOptions.md +11 -0
  15. package/docs/interfaces/AdyenPlaceholderData.md +14 -0
  16. package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +2 -2
  17. package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +3 -3
  18. package/docs/interfaces/AdyenValidationState.md +57 -0
  19. package/docs/interfaces/BoletoDataPaymentMethodState.md +1 -7
  20. package/package.json +1 -1
  21. package/docs/enums/AdyenV2CardFields.md +0 -29
  22. package/docs/enums/AdyenV3CardFields.md +0 -29
  23. package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +0 -66
  24. package/docs/interfaces/AdyenAdditionalActionOptions_2.md +0 -106
  25. package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +0 -40
  26. package/docs/interfaces/AdyenComponentEvents_2.md +0 -94
  27. package/docs/interfaces/AdyenComponent_2.md +0 -83
  28. package/docs/interfaces/AdyenPaymentMethodState_2.md +0 -15
  29. package/docs/interfaces/AdyenPlaceholderData_2.md +0 -54
  30. package/docs/interfaces/AdyenV2ValidationState.md +0 -57
  31. package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +0 -220
  32. package/docs/interfaces/AdyenV3ValidationState.md +0 -57
  33. package/docs/interfaces/CardDataPaymentMethodState_2.md +0 -15
  34. package/docs/interfaces/CardPaymentMethodState_2.md +0 -43
  35. package/docs/interfaces/CardStateErrors_2.md +0 -7
  36. package/docs/interfaces/CardState_2.md +0 -40
  37. package/docs/interfaces/CreditCardPlaceHolder_2.md +0 -29
  38. package/docs/interfaces/CssProperties_2.md +0 -218
  39. package/docs/interfaces/InputDetail_2.md +0 -80
  40. package/docs/interfaces/Item_3.md +0 -26
  41. package/docs/interfaces/SepaPlaceHolder_2.md +0 -22
  42. package/docs/interfaces/StyleOptions_2.md +0 -44
  43. package/docs/interfaces/SubInputDetail_2.md +0 -62
  44. package/docs/interfaces/WechatDataPaymentMethodState_2.md +0 -15
  45. package/docs/interfaces/WechatState_2.md +0 -15
@@ -84,22 +84,6 @@ declare interface AdyenAdditionalActionCallbacks {
84
84
  onComplete?(): void;
85
85
  }
86
86
 
87
- declare interface AdyenAdditionalActionCallbacks_2 {
88
- /**
89
- * A callback that gets called before adyen component is loaded
90
- */
91
- onBeforeLoad?(shopperInteraction?: boolean): void;
92
- /**
93
- * A callback that gets called when adyen component is loaded
94
- */
95
- onLoad?(cancel?: () => void): void;
96
- /**
97
- * A callback that gets called when adyen component verification
98
- * is completed
99
- */
100
- onComplete?(): void;
101
- }
102
-
103
87
  declare interface AdyenAdditionalActionOptions extends AdyenAdditionalActionCallbacks {
104
88
  /**
105
89
  * The location to insert the additional action component.
@@ -118,24 +102,6 @@ declare interface AdyenAdditionalActionOptions extends AdyenAdditionalActionCall
118
102
  widgetSize?: string;
119
103
  }
120
104
 
121
- declare interface AdyenAdditionalActionOptions_2 extends AdyenAdditionalActionCallbacks_2 {
122
- /**
123
- * The location to insert the additional action component.
124
- */
125
- containerId: string;
126
- /**
127
- * Specify Three3DS2Challenge Widget Size
128
- *
129
- * Values
130
- * '01' = 250px x 400px
131
- * '02' = 390px x 400px
132
- * '03' = 500px x 600px
133
- * '04' = 600px x 400px
134
- * '05' = 100% x 100%
135
- */
136
- widgetSize?: string;
137
- }
138
-
139
105
  declare interface AdyenBaseCardComponentOptions {
140
106
  /**
141
107
  * Array of card brands that will be recognized by the component.
@@ -147,20 +113,13 @@ declare interface AdyenBaseCardComponentOptions {
147
113
  * for a list of supported properties.
148
114
  */
149
115
  styles?: StyleOptions;
116
+ showBrandsUnderCardNumber?: boolean;
150
117
  }
151
118
 
152
- declare interface AdyenBaseCardComponentOptions_2 {
153
- /**
154
- * Array of card brands that will be recognized by the component.
155
- *
156
- */
157
- brands?: string[];
158
- /**
159
- * Set a style object to customize the input fields. See Styling Secured Fields
160
- * for a list of supported properties.
161
- */
162
- styles?: StyleOptions_2;
163
- showBrandsUnderCardNumber?: boolean;
119
+ declare enum AdyenCardFields {
120
+ CardNumber = "encryptedCardNumber",
121
+ SecurityCode = "encryptedSecurityCode",
122
+ ExpiryDate = "encryptedExpiryDate"
164
123
  }
165
124
 
166
125
  declare interface AdyenComponent {
@@ -173,6 +132,7 @@ declare interface AdyenComponent {
173
132
  state?: CardState;
174
133
  mount(containerId: string): HTMLElement;
175
134
  unmount(): void;
135
+ submit(): void;
176
136
  }
177
137
 
178
138
  declare interface AdyenComponentEvents {
@@ -181,46 +141,19 @@ declare interface AdyenComponentEvents {
181
141
  * Here you have the option to override your main Adyen Checkout configuration.
182
142
  */
183
143
  onChange?(state: AdyenComponentState, component: AdyenComponent): void;
184
- /**
185
- * Called in case of an invalid card number, invalid expiry date, or
186
- * incomplete field. Called again when errors are cleared.
187
- */
188
- onError?(state: AdyenV2ValidationState, component: AdyenComponent): void;
189
- onFieldValid?(state: AdyenV2ValidationState, component: AdyenComponent): void;
190
- }
191
-
192
- declare interface AdyenComponentEvents_2 {
193
- /**
194
- * Called when the shopper enters data in the card input fields.
195
- * Here you have the option to override your main Adyen Checkout configuration.
196
- */
197
- onChange?(state: AdyenV3ComponentState, component: AdyenComponent_2): void;
198
144
  /**
199
145
  * Called when the shopper selects the Pay button and payment details are valid.
200
146
  */
201
- onSubmit?(state: AdyenV3ComponentState, component: AdyenComponent_2): void;
147
+ onSubmit?(state: AdyenComponentState, component: AdyenComponent): void;
202
148
  /**
203
149
  * Called in case of an invalid card number, invalid expiry date, or
204
150
  * incomplete field. Called again when errors are cleared.
205
151
  */
206
- onError?(state: AdyenV3ValidationState, component: AdyenComponent_2): void;
207
- onFieldValid?(state: AdyenV3ValidationState, component: AdyenComponent_2): void;
152
+ onError?(state: AdyenValidationState, component: AdyenComponent): void;
153
+ onFieldValid?(state: AdyenValidationState, component: AdyenComponent): void;
208
154
  }
209
155
 
210
- declare type AdyenComponentState = CardState | WechatState;
211
-
212
- declare interface AdyenComponent_2 {
213
- componentRef?: {
214
- showValidation(): void;
215
- };
216
- props?: {
217
- type?: string;
218
- };
219
- state?: CardState_2;
220
- mount(containerId: string): HTMLElement;
221
- unmount(): void;
222
- submit(): void;
223
- }
156
+ declare type AdyenComponentState = CardState | BoletoState | WechatState;
224
157
 
225
158
  declare interface AdyenCreditCardComponentOptions extends AdyenBaseCardComponentOptions, AdyenComponentEvents {
226
159
  /**
@@ -268,24 +201,7 @@ declare interface AdyenPaymentMethodState {
268
201
  type: string;
269
202
  }
270
203
 
271
- declare interface AdyenPaymentMethodState_2 {
272
- type: string;
273
- }
274
-
275
204
  declare interface AdyenPlaceholderData {
276
- holderName?: string;
277
- prefillCardHolderName?: boolean;
278
- billingAddress?: {
279
- street: string;
280
- houseNumberOrName: string;
281
- postalCode: string;
282
- city: string;
283
- stateOrProvince: string;
284
- country: string;
285
- };
286
- }
287
-
288
- declare interface AdyenPlaceholderData_2 {
289
205
  firstName?: string;
290
206
  lastName?: string;
291
207
  holderName?: string;
@@ -314,12 +230,6 @@ declare interface AdyenThreeDS2Options extends AdyenAdditionalActionCallbacks {
314
230
  widgetSize?: string;
315
231
  }
316
232
 
317
- declare enum AdyenV2CardFields {
318
- CardNumber = "encryptedCardNumber",
319
- SecurityCode = "encryptedSecurityCode",
320
- ExpiryDate = "encryptedExpiryDate"
321
- }
322
-
323
233
  /**
324
234
  * A set of options that are required to initialize the AdyenV2 payment method.
325
235
  *
@@ -414,60 +324,7 @@ declare interface AdyenV2PaymentInitializeOptions {
414
324
  */
415
325
  options?: Omit_2<AdyenCreditCardComponentOptions, 'onChange'> | AdyenIdealComponentOptions;
416
326
  shouldShowNumberField?: boolean;
417
- validateCardFields(validateState: AdyenV2ValidationState): void;
418
- }
419
-
420
- declare interface AdyenV2ValidationState {
421
- valid: boolean;
422
- fieldType?: AdyenV2CardFields;
423
- endDigits?: string;
424
- encryptedFieldName?: string;
425
- i18n?: string;
426
- error?: string;
427
- errorKey?: string;
428
- }
429
-
430
- declare enum AdyenV3CardFields {
431
- CardNumber = "encryptedCardNumber",
432
- SecurityCode = "encryptedSecurityCode",
433
- ExpiryDate = "encryptedExpiryDate"
434
- }
435
-
436
- declare type AdyenV3ComponentState = CardState_2 | WechatState_2 | BoletoState;
437
-
438
- declare interface AdyenV3CreditCardComponentOptions extends AdyenBaseCardComponentOptions_2, AdyenComponentEvents_2 {
439
- /**
440
- * Set an object containing the details array for type: scheme from
441
- * the /paymentMethods response.
442
- */
443
- details?: InputDetail_2[];
444
- /**
445
- * Set to true to show the checkbox to save card details for the next payment.
446
- */
447
- enableStoreDetails?: boolean;
448
- /**
449
- * Set to true to request the name of the card holder.
450
- */
451
- hasHolderName?: boolean;
452
- /**
453
- * Set to true to require the card holder name.
454
- */
455
- holderNameRequired?: boolean;
456
- /**
457
- * Information to prefill fields.
458
- */
459
- data?: AdyenPlaceholderData_2;
460
- /**
461
- * Defaults to ['mc','visa','amex']. Configure supported card types to
462
- * facilitate brand recognition used in the Secured Fields onBrand callback.
463
- * See list of available card types. If a shopper enters a card type not
464
- * specified in the GroupTypes configuration, the onBrand callback will not be invoked.
465
- */
466
- groupTypes?: string[];
467
- /**
468
- * Specify the sample values you want to appear for card detail input fields.
469
- */
470
- placeholders?: CreditCardPlaceHolder_2 | SepaPlaceHolder_2;
327
+ validateCardFields(validateState: AdyenValidationState): void;
471
328
  }
472
329
 
473
330
  /**
@@ -542,18 +399,18 @@ declare interface AdyenV3PaymentInitializeOptions {
542
399
  /**
543
400
  * A set of options that are required to initialize additional payment actions.
544
401
  */
545
- additionalActionOptions: AdyenAdditionalActionOptions_2;
402
+ additionalActionOptions: AdyenAdditionalActionOptions;
546
403
  /**
547
404
  * Optional. Overwriting the default options
548
405
  */
549
- options?: Omit_2<AdyenV3CreditCardComponentOptions, 'onChange'>;
406
+ options?: Omit_2<AdyenCreditCardComponentOptions, 'onChange'>;
550
407
  shouldShowNumberField?: boolean;
551
- validateCardFields(validateState: AdyenV3ValidationState): void;
408
+ validateCardFields(validateState: AdyenValidationState): void;
552
409
  }
553
410
 
554
- declare interface AdyenV3ValidationState {
411
+ declare interface AdyenValidationState {
555
412
  valid: boolean;
556
- fieldType?: AdyenV3CardFields;
413
+ fieldType?: AdyenCardFields;
557
414
  endDigits?: string;
558
415
  encryptedFieldName?: string;
559
416
  i18n?: string;
@@ -1314,9 +1171,7 @@ declare interface BodyStyles {
1314
1171
  }
1315
1172
 
1316
1173
  declare interface BoletoDataPaymentMethodState {
1317
- paymentMethod: {
1318
- type: string;
1319
- };
1174
+ paymentMethod: AdyenPaymentMethodState;
1320
1175
  shopperName?: {
1321
1176
  firstName?: string;
1322
1177
  lastName?: string;
@@ -2072,8 +1927,8 @@ declare interface CardDataPaymentMethodState {
2072
1927
  paymentMethod: CardPaymentMethodState;
2073
1928
  }
2074
1929
 
2075
- declare interface CardDataPaymentMethodState_2 {
2076
- paymentMethod: CardPaymentMethodState_2;
1930
+ declare interface CardDataPaymentMethodState {
1931
+ paymentMethod: CardPaymentMethodState;
2077
1932
  }
2078
1933
 
2079
1934
  declare interface CardElementOptions extends BaseElementOptions_2 {
@@ -2126,14 +1981,6 @@ declare interface CardPaymentMethodState extends AdyenPaymentMethodState {
2126
1981
  holderName: string;
2127
1982
  }
2128
1983
 
2129
- declare interface CardPaymentMethodState_2 {
2130
- encryptedCardNumber: string;
2131
- encryptedExpiryMonth: string;
2132
- encryptedExpiryYear: string;
2133
- encryptedSecurityCode: string;
2134
- holderName: string;
2135
- }
2136
-
2137
1984
  declare interface CardState {
2138
1985
  data: CardDataPaymentMethodState;
2139
1986
  isValid?: boolean;
@@ -2148,19 +1995,6 @@ declare interface CardStateErrors {
2148
1995
  [key: string]: string;
2149
1996
  }
2150
1997
 
2151
- declare interface CardStateErrors_2 {
2152
- [key: string]: string;
2153
- }
2154
-
2155
- declare interface CardState_2 {
2156
- data: CardDataPaymentMethodState_2;
2157
- isValid?: boolean;
2158
- valid?: {
2159
- [key: string]: boolean;
2160
- };
2161
- errors?: CardStateErrors_2;
2162
- }
2163
-
2164
1998
  declare interface CardingProtectionActionData {
2165
1999
  human_verification_token?: string;
2166
2000
  }
@@ -4723,12 +4557,6 @@ declare interface CreditCardPlaceHolder {
4723
4557
  encryptedSecurityCode: string;
4724
4558
  }
4725
4559
 
4726
- declare interface CreditCardPlaceHolder_2 {
4727
- encryptedCardNumber?: string;
4728
- encryptedExpiryDate?: string;
4729
- encryptedSecurityCode: string;
4730
- }
4731
-
4732
4560
  declare interface CssProperties {
4733
4561
  background?: string;
4734
4562
  caretColor?: string;
@@ -4762,39 +4590,6 @@ declare interface CssProperties {
4762
4590
  webkitTransition?: string;
4763
4591
  }
4764
4592
 
4765
- declare interface CssProperties_2 {
4766
- background?: string;
4767
- caretColor?: string;
4768
- color?: string;
4769
- display?: string;
4770
- font?: string;
4771
- fontFamily?: string;
4772
- fontSize?: string;
4773
- fontSizeAdjust?: string;
4774
- fontSmoothing?: string;
4775
- fontStretch?: string;
4776
- fontStyle?: string;
4777
- fontVariant?: string;
4778
- fontVariantAlternates?: string;
4779
- fontVariantCaps?: string;
4780
- fontVariantEastAsian?: string;
4781
- fontVariantLigatures?: string;
4782
- fontVariantNumeric?: string;
4783
- fontWeight?: string;
4784
- letterSpacing?: string;
4785
- lineHeight?: string;
4786
- mozOsxFontSmoothing?: string;
4787
- mozTransition?: string;
4788
- outline?: string;
4789
- opacity?: string | number;
4790
- padding?: string;
4791
- textAlign?: string;
4792
- textShadow?: string;
4793
- transition?: string;
4794
- webkitFontSmoothing?: string;
4795
- webkitTransition?: string;
4796
- }
4797
-
4798
4593
  declare interface Currency {
4799
4594
  name: string;
4800
4595
  code: string;
@@ -6102,41 +5897,6 @@ declare interface InputDetail {
6102
5897
  value?: string;
6103
5898
  }
6104
5899
 
6105
- declare interface InputDetail_2 {
6106
- /**
6107
- * Configuration parameters for the required input.
6108
- */
6109
- configuration?: object;
6110
- /**
6111
- * Input details can also be provided recursively.
6112
- */
6113
- details?: SubInputDetail_2[];
6114
- /**
6115
- * In case of a select, the URL from which to query the items.
6116
- */
6117
- itemSearchUrl?: string;
6118
- /**
6119
- * In case of a select, the items to choose from.
6120
- */
6121
- items?: Item_3[];
6122
- /**
6123
- * The value to provide in the result.
6124
- */
6125
- key?: string;
6126
- /**
6127
- * True if this input value is optional.
6128
- */
6129
- optional?: boolean;
6130
- /**
6131
- * The type of the required input.
6132
- */
6133
- type?: string;
6134
- /**
6135
- * The value can be pre-filled, if available.
6136
- */
6137
- value?: string;
6138
- }
6139
-
6140
5900
  declare interface InputStyles extends BlockElementStyles {
6141
5901
  active?: BlockElementStyles;
6142
5902
  error?: InputStyles;
@@ -6242,17 +6002,6 @@ declare interface Item_2 {
6242
6002
  name?: string;
6243
6003
  }
6244
6004
 
6245
- declare interface Item_3 {
6246
- /**
6247
- * The value to provide in the result.
6248
- */
6249
- id?: string;
6250
- /**
6251
- * The display name.
6252
- */
6253
- name?: string;
6254
- }
6255
-
6256
6005
  declare interface LabelStyles extends InlineElementStyles {
6257
6006
  error?: InlineElementStyles;
6258
6007
  }
@@ -7628,7 +7377,7 @@ declare class PaymentHumanVerificationHandler {
7628
7377
  private _isPaymentHumanVerificationRequest;
7629
7378
  }
7630
7379
 
7631
- declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithApplePayPaymentInitializeOptions & WithBlueSnapDirectAPMPaymentInitializeOptions & WithBoltPaymentInitializeOptions & WithBraintreeAchPaymentInitializeOptions & WithBraintreeLocalMethodsPaymentInitializeOptions & WithBraintreeFastlanePaymentInitializeOptions & WithCreditCardPaymentInitializeOptions & WithGooglePayPaymentInitializeOptions & WithMolliePaymentInitializeOptions & WithPayPalCommercePaymentInitializeOptions & WithPayPalCommerceCreditPaymentInitializeOptions & WithPayPalCommerceVenmoPaymentInitializeOptions & WithPayPalCommerceAlternativeMethodsPaymentInitializeOptions & WithPayPalCommerceCreditCardsPaymentInitializeOptions & WithPayPalCommerceRatePayPaymentInitializeOptions & WithPayPalCommerceFastlanePaymentInitializeOptions & WithSquareV2PaymentInitializeOptions & WithStripeV3PaymentInitializeOptions & WithStripeUPEPaymentInitializeOptions;
7380
+ declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithApplePayPaymentInitializeOptions & WithBlueSnapDirectAPMPaymentInitializeOptions & WithBoltPaymentInitializeOptions & WithBraintreeAchPaymentInitializeOptions & WithBraintreeLocalMethodsPaymentInitializeOptions & WithBraintreeFastlanePaymentInitializeOptions & WithCreditCardPaymentInitializeOptions & WithGooglePayPaymentInitializeOptions & WithMolliePaymentInitializeOptions & WithPayPalCommercePaymentInitializeOptions & WithPayPalCommerceCreditPaymentInitializeOptions & WithPayPalCommerceVenmoPaymentInitializeOptions & WithPayPalCommerceAlternativeMethodsPaymentInitializeOptions & WithPayPalCommerceCreditCardsPaymentInitializeOptions & WithPayPalCommerceRatePayPaymentInitializeOptions & WithPayPalCommerceFastlanePaymentInitializeOptions & WithSquareV2PaymentInitializeOptions & WithStripeV3PaymentInitializeOptions & WithStripeUPEPaymentInitializeOptions;
7632
7381
 
7633
7382
  declare type PaymentInstrument = CardInstrument | AccountInstrument;
7634
7383
 
@@ -7995,11 +7744,6 @@ declare interface SepaPlaceHolder {
7995
7744
  ibanNumber?: string;
7996
7745
  }
7997
7746
 
7998
- declare interface SepaPlaceHolder_2 {
7999
- ownerName?: string;
8000
- ibanNumber?: string;
8001
- }
8002
-
8003
7747
  declare interface SetIframeStyleCommand {
8004
7748
  type: ExtensionCommandType.SetIframeStyle;
8005
7749
  payload: {
@@ -8815,25 +8559,6 @@ declare interface StyleOptions {
8815
8559
  validated?: CssProperties;
8816
8560
  }
8817
8561
 
8818
- declare interface StyleOptions_2 {
8819
- /**
8820
- * Base styling applied to the iframe. All styling extends from this style.
8821
- */
8822
- base?: CssProperties_2;
8823
- /**
8824
- * Styling applied when a field fails validation.
8825
- */
8826
- error?: CssProperties_2;
8827
- /**
8828
- * Styling applied to the field's placeholder values.
8829
- */
8830
- placeholder?: CssProperties_2;
8831
- /**
8832
- * Styling applied once a field passes validation.
8833
- */
8834
- validated?: CssProperties_2;
8835
- }
8836
-
8837
8562
  declare interface SubInputDetail {
8838
8563
  /**
8839
8564
  * Configuration parameters for the required input.
@@ -8861,33 +8586,6 @@ declare interface SubInputDetail {
8861
8586
  value?: string;
8862
8587
  }
8863
8588
 
8864
- declare interface SubInputDetail_2 {
8865
- /**
8866
- * Configuration parameters for the required input.
8867
- */
8868
- configuration?: object;
8869
- /**
8870
- * In case of a select, the items to choose from.
8871
- */
8872
- items?: Item_3[];
8873
- /**
8874
- * The value to provide in the result.
8875
- */
8876
- key?: string;
8877
- /**
8878
- * True if this input is optional to provide.
8879
- */
8880
- optional?: boolean;
8881
- /**
8882
- * The type of the required input.
8883
- */
8884
- type?: string;
8885
- /**
8886
- * The value can be pre-filled, if available.
8887
- */
8888
- value?: string;
8889
- }
8890
-
8891
8589
  declare interface Subscriptions {
8892
8590
  email: string;
8893
8591
  acceptsMarketingNewsletter: boolean;
@@ -8958,18 +8656,10 @@ declare interface WechatDataPaymentMethodState {
8958
8656
  paymentMethod: AdyenPaymentMethodState;
8959
8657
  }
8960
8658
 
8961
- declare interface WechatDataPaymentMethodState_2 {
8962
- paymentMethod: AdyenPaymentMethodState_2;
8963
- }
8964
-
8965
8659
  declare interface WechatState {
8966
8660
  data: WechatDataPaymentMethodState;
8967
8661
  }
8968
8662
 
8969
- declare interface WechatState_2 {
8970
- data: WechatDataPaymentMethodState_2;
8971
- }
8972
-
8973
8663
  declare interface WithAdyenV2PaymentInitializeOptions {
8974
8664
  /**
8975
8665
  * The options that are required to initialize the Apple Pay payment