@flopay/vue 1.14.5 → 1.14.7

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.
@@ -0,0 +1,691 @@
1
+ import type { AVSFieldConfig, BeforeButtonClickEvent, ButtonsLayoutStyles, ButtonsLayoutTheme, CheckoutButtonMethod, CheckoutSession, DeclineEvent, FloPayAppearance, FloPayPaymentCancelEvent, InlineSessionPatch, PaymentResult, ThemeId, TokenizedBody, VaultCardFieldKey, WalletPresentation } from '@flopay/shared';
2
+ import { FloPayError } from '@flopay/shared';
3
+ import { type PropType, type VNode } from 'vue';
4
+ /**
5
+ * React's `onBeforeButtonClick`: runs before a payment button continues.
6
+ * `false` stops the click; a patch's `account` goes with this attempt.
7
+ */
8
+ export type SplitCardFormBeforeButtonClick = (event: BeforeButtonClickEvent) => undefined | false | InlineSessionPatch | Promise<undefined | false | InlineSessionPatch>;
9
+ /** React's `onBuyerIdentityReady`: awaited after PayPal's approval collects a missing identity. */
10
+ type SplitCardFormBuyerIdentityReady = (identity: NonNullable<InlineSessionPatch['account']>) => void | Promise<void>;
11
+ /**
12
+ * React's `directPaypal`: the direct PayPal gateway. When set it wins over the
13
+ * session's `gateways.paypal`, and PayPal renders through the PayPal JS SDK.
14
+ */
15
+ interface SplitCardFormDirectPayPal {
16
+ clientId: string;
17
+ /** React's `GatewayEnvironment`: `stage` and `production` are FloPay's aliases. */
18
+ environment?: import('@flopay/shared').GatewayEnvironment;
19
+ /**
20
+ * @deprecated The session's `gateways.paypal.providerObjectType` wins.
21
+ * Kept as a fallback for integrations that pass no session.
22
+ */
23
+ providerObjectType?: import('@flopay/shared').PayPalProviderObjectType;
24
+ /** Backend-advertised non-popup presentation for a one-time PayPal order. */
25
+ approvalPresentation?: import('@flopay/shared').PayPalApprovalPresentation;
26
+ /** Backend-created PayPal order to resume instead of creating a new one. */
27
+ existingOrderId?: string;
28
+ }
29
+ /** React's `onTokenizedBody` on the form: the host continues the payment from the body. */
30
+ type SplitCardFormTokenizedBodyHandler = (tokenizedBody: TokenizedBody) => void;
31
+ /** Props for {@link SplitCardForm} (React's `SplitCardFormProps`; callbacks are emits). */
32
+ export interface SplitCardFormProps {
33
+ session?: CheckoutSession | null;
34
+ sessionId?: string;
35
+ nonce?: string;
36
+ billingApiUrl?: string;
37
+ telemetry?: boolean;
38
+ email?: string;
39
+ firstName?: string;
40
+ lastName?: string;
41
+ layout?: 'default' | 'buttons';
42
+ initialCardOpen?: boolean;
43
+ showPayPal?: boolean;
44
+ /**
45
+ * React's `walletPresentation`: the preferred approval presentation for
46
+ * Stripe-routed PayPal. Defaults to `'auto'` (or the value `FloPayCheckout`
47
+ * hands a custom-layout form). `prefer_redirect` renders PayPal as a
48
+ * full-page redirect tile; an in-app browser or a blocked pop-up does the
49
+ * same whatever the preference, as safety signals stay authoritative.
50
+ */
51
+ walletPresentation?: WalletPresentation;
52
+ showStripe?: boolean;
53
+ /** @deprecated Session-driven visibility (`enabledPaymentMethods`) decides. */
54
+ showApplePay?: boolean;
55
+ /** @deprecated Session-driven visibility (`enabledPaymentMethods`) decides. */
56
+ showGooglePay?: boolean;
57
+ /** Explicit Stripe method list; `[]` asks for card only. Defaults to the session's. */
58
+ enabledPaymentMethods?: string[];
59
+ /** True while a detached session's catalog is still being attached: payment is gated. */
60
+ dataAttachmentPending?: boolean;
61
+ /**
62
+ * React's `dataAttachmentRequiresIdentity`: the pending claim waits for this
63
+ * form to collect the buyer's identity. The wallets and APMs then stay
64
+ * available so they can collect it, and a non-card click does not wait for
65
+ * the claim first. Card submit stays gated while the claim is pending. A
66
+ * form inside `FloPayCheckout` also reads the checkout's `claimRequiresIdentity`.
67
+ */
68
+ dataAttachmentRequiresIdentity?: boolean;
69
+ /** Final, localized wording for the hosted card form's submit button. */
70
+ submitLabel?: string | null;
71
+ /** Address verification: `true` (country + postcode) or per-field {@link AVSFieldConfig}. */
72
+ enableAVS?: boolean | AVSFieldConfig;
73
+ /** Layout for AVS fields: `row` (side by side, default) or `column` (stacked). */
74
+ avsLayout?: 'row' | 'column';
75
+ /** Initial AVS country (ISO 3166-1 alpha-2). Defaults to the session customer's. */
76
+ country?: string;
77
+ /** Initial AVS postal code. Defaults to the session customer's. */
78
+ zip?: string;
79
+ /** Initial AVS street address (line 1), e.g. from a GeoIP or profile lookup. */
80
+ addressLine1?: string;
81
+ /** Initial AVS apt / suite / unit (line 2). */
82
+ addressLine2?: string;
83
+ /** Initial AVS city. */
84
+ city?: string;
85
+ /** Initial AVS state / province. */
86
+ state?: string;
87
+ /**
88
+ * External processing state, as React's `isProcessing`: while `true` the
89
+ * AVS fields and the buttons-layout card tile are disabled.
90
+ */
91
+ isProcessing?: boolean;
92
+ /** External error message. It is shown in place of the form's own (React's `error`). */
93
+ error?: string | null;
94
+ /**
95
+ * Theme bundle for the card tile, the card container, the hosted vault
96
+ * widget and the Stripe methods. `'classic'` (or none) applies no bundle.
97
+ */
98
+ theme?: ThemeId;
99
+ /** @deprecated Use `theme`. Legacy buttons-layout preset, used only without `theme`. */
100
+ buttonsTheme?: ButtonsLayoutTheme;
101
+ /** Style overrides merged on top of the resolved theme bundle / `buttonsTheme` preset. */
102
+ buttonsStyles?: ButtonsLayoutStyles;
103
+ /** Appearance override; wins over the theme bundle's appearance. */
104
+ appearance?: FloPayAppearance;
105
+ /** Additional CSS class for the form wrapper. */
106
+ className?: string;
107
+ /**
108
+ * Order of the hosted vault card rows, a permutation of
109
+ * `['name', 'number', 'expiry']`. It sets both the visual and the tab order.
110
+ * Omit it for the default order. Vault card path only.
111
+ */
112
+ cardFieldOrder?: VaultCardFieldKey[];
113
+ /**
114
+ * React's `onBeforeButtonClick` (a function prop: its result is read). It
115
+ * runs before the buttons-layout card tile opens and before PayPal creates
116
+ * its order, with `{ method, sessionId, createSession }`. `false` stops the
117
+ * click, a returned `account` goes with the attempt, and a throw is shown
118
+ * and emitted as a `validation_error`.
119
+ */
120
+ onBeforeButtonClick?: SplitCardFormBeforeButtonClick;
121
+ /** React's `onBuyerIdentityReady`, passed to the PayPal button (awaited on approval). */
122
+ onBuyerIdentityReady?: SplitCardFormBuyerIdentityReady;
123
+ /**
124
+ * The buyer's user id, sent as `accountData.userId` in the `/account`
125
+ * snapshot (React's `userId`). A before-click `account.userId` wins over it.
126
+ * Without either, `''` is sent, as in React. `FloPayCheckout` passes the
127
+ * session customer's id.
128
+ */
129
+ userId?: string;
130
+ /**
131
+ * Whether AVS was enabled, sent as `avsCheck` in the `/account` snapshot for
132
+ * analytics (React's `avsCheck`). Omitted from the snapshot when not set.
133
+ * `FloPayCheckout` passes `!!enableAVS`.
134
+ */
135
+ avsCheck?: boolean;
136
+ /**
137
+ * @deprecated No longer rendered, as in React: the default-layout security
138
+ * footer was removed with the theme bundles. Kept so integrations that pass
139
+ * it still type-check.
140
+ */
141
+ showSecurityFooter?: boolean;
142
+ /**
143
+ * React's `directPaypal`. When set it wins over the session's
144
+ * `gateways.paypal`. A backend-created `existingOrderId` given at mount is
145
+ * resumed, with React's notice asking the buyer to confirm the payment.
146
+ */
147
+ directPaypal?: SplitCardFormDirectPayPal;
148
+ /**
149
+ * Currency for PayPal and the Stripe methods (React's `currency`). Default
150
+ * `'usd'`, as in React: the session's currency is not read here, and
151
+ * `FloPayCheckout` passes it for its built-in form.
152
+ */
153
+ currency?: string;
154
+ /**
155
+ * Whether this is a subscription, for direct PayPal (React's
156
+ * `isSubscription`). Default `false`; `FloPayCheckout` passes the session's mode.
157
+ */
158
+ isSubscription?: boolean;
159
+ /**
160
+ * React's per-method buyer-country gate
161
+ * (`gateways.stripe.enabledPaymentMethodCountries`): method → allowed
162
+ * ISO 3166-1 alpha-2 countries. Methods other than the wallet row are
163
+ * filtered by the buyer's live country. Without it, the SDK's built-in
164
+ * country table decides.
165
+ */
166
+ enabledPaymentMethodCountries?: Record<string, string[]>;
167
+ /**
168
+ * React's `debug`: on-screen panels for the PayPal and Stripe gating
169
+ * decisions, and the PayPal button's lifecycle tracer. Off by default.
170
+ */
171
+ debug?: boolean;
172
+ /**
173
+ * React's `onTokenizedBody` (a function prop: it replaces the SDK's own
174
+ * `/process`). PayPal's approval body goes to the host instead. Without it
175
+ * the form posts `/process` itself, as React's `dispatchTokenizedBody` does.
176
+ */
177
+ onTokenizedBody?: SplitCardFormTokenizedBodyHandler;
178
+ /** React's `chv`: forwarded as is on the form's own `/process` request. */
179
+ chv?: string;
180
+ /**
181
+ * React's `checkoutType` (`standard_checkout` / `embedded_checkout`), sent
182
+ * as analytics metadata on the form's own `/process` request.
183
+ * `FloPayCheckout` passes it for its built-in form.
184
+ */
185
+ checkoutType?: string;
186
+ /**
187
+ * React's `checkoutLayout` (`default_layout` / `buttons_layout` /
188
+ * `custom_layout`), sent as analytics metadata on the form's own
189
+ * `/process` request. `FloPayCheckout` passes it for its built-in form.
190
+ */
191
+ checkoutLayout?: string;
192
+ }
193
+ /**
194
+ * The checkout form: the hosted vault card widget (through the SDK's
195
+ * `cardCapture` adapter — card data never touches Stripe.js here), plus the
196
+ * wallets, APMs and PayPal the session advertises. It renders exactly what
197
+ * the session advertises; with no vault block and nothing else usable it
198
+ * raises `UnsupportedBackendVaultCapability` rather than falling back.
199
+ *
200
+ * Inside a `FloPayCheckout` custom layout it reads the session, nonce and
201
+ * `submitLabel` from the checkout unless it sets them itself.
202
+ */
203
+ export declare const SplitCardForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
204
+ session: {
205
+ type: PropType<CheckoutSession | null>;
206
+ default: undefined;
207
+ };
208
+ sessionId: {
209
+ type: StringConstructor;
210
+ default: undefined;
211
+ };
212
+ nonce: {
213
+ type: StringConstructor;
214
+ default: undefined;
215
+ };
216
+ billingApiUrl: {
217
+ type: StringConstructor;
218
+ default: undefined;
219
+ };
220
+ telemetry: {
221
+ type: BooleanConstructor;
222
+ default: undefined;
223
+ };
224
+ email: {
225
+ type: StringConstructor;
226
+ default: undefined;
227
+ };
228
+ firstName: {
229
+ type: StringConstructor;
230
+ default: undefined;
231
+ };
232
+ lastName: {
233
+ type: StringConstructor;
234
+ default: undefined;
235
+ };
236
+ layout: {
237
+ type: PropType<'default' | 'buttons'>;
238
+ default: string;
239
+ };
240
+ initialCardOpen: {
241
+ type: BooleanConstructor;
242
+ default: boolean;
243
+ };
244
+ showPayPal: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ walletPresentation: {
249
+ type: PropType<WalletPresentation>;
250
+ default: undefined;
251
+ };
252
+ showStripe: {
253
+ type: BooleanConstructor;
254
+ default: boolean;
255
+ };
256
+ showApplePay: {
257
+ type: BooleanConstructor;
258
+ default: boolean;
259
+ };
260
+ showGooglePay: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
264
+ enabledPaymentMethods: {
265
+ type: PropType<string[]>;
266
+ default: undefined;
267
+ };
268
+ dataAttachmentPending: {
269
+ type: BooleanConstructor;
270
+ default: undefined;
271
+ };
272
+ dataAttachmentRequiresIdentity: {
273
+ type: BooleanConstructor;
274
+ default: undefined;
275
+ };
276
+ submitLabel: {
277
+ type: PropType<string | null>;
278
+ default: undefined;
279
+ };
280
+ enableAVS: {
281
+ type: PropType<boolean | AVSFieldConfig>;
282
+ default: undefined;
283
+ };
284
+ avsLayout: {
285
+ type: PropType<'row' | 'column'>;
286
+ default: string;
287
+ };
288
+ country: {
289
+ type: StringConstructor;
290
+ default: undefined;
291
+ };
292
+ zip: {
293
+ type: StringConstructor;
294
+ default: undefined;
295
+ };
296
+ addressLine1: {
297
+ type: StringConstructor;
298
+ default: undefined;
299
+ };
300
+ addressLine2: {
301
+ type: StringConstructor;
302
+ default: undefined;
303
+ };
304
+ city: {
305
+ type: StringConstructor;
306
+ default: undefined;
307
+ };
308
+ state: {
309
+ type: StringConstructor;
310
+ default: undefined;
311
+ };
312
+ isProcessing: {
313
+ type: BooleanConstructor;
314
+ default: undefined;
315
+ };
316
+ error: {
317
+ type: PropType<string | null>;
318
+ default: undefined;
319
+ };
320
+ theme: {
321
+ type: PropType<ThemeId>;
322
+ default: undefined;
323
+ };
324
+ buttonsTheme: {
325
+ type: PropType<ButtonsLayoutTheme>;
326
+ default: undefined;
327
+ };
328
+ buttonsStyles: {
329
+ type: PropType<ButtonsLayoutStyles>;
330
+ default: undefined;
331
+ };
332
+ appearance: {
333
+ type: PropType<FloPayAppearance>;
334
+ default: undefined;
335
+ };
336
+ className: {
337
+ type: StringConstructor;
338
+ default: undefined;
339
+ };
340
+ cardFieldOrder: {
341
+ type: PropType<VaultCardFieldKey[]>;
342
+ default: undefined;
343
+ };
344
+ onBeforeButtonClick: {
345
+ type: PropType<SplitCardFormBeforeButtonClick>;
346
+ default: undefined;
347
+ };
348
+ onBuyerIdentityReady: {
349
+ type: PropType<SplitCardFormBuyerIdentityReady>;
350
+ default: undefined;
351
+ };
352
+ userId: {
353
+ type: StringConstructor;
354
+ default: undefined;
355
+ };
356
+ avsCheck: {
357
+ type: BooleanConstructor;
358
+ default: undefined;
359
+ };
360
+ /** @deprecated Not rendered (React's deprecated `showSecurityFooter`). */
361
+ showSecurityFooter: {
362
+ type: BooleanConstructor;
363
+ default: undefined;
364
+ };
365
+ directPaypal: {
366
+ type: PropType<SplitCardFormDirectPayPal>;
367
+ default: undefined;
368
+ };
369
+ currency: {
370
+ type: StringConstructor;
371
+ default: undefined;
372
+ };
373
+ isSubscription: {
374
+ type: BooleanConstructor;
375
+ default: undefined;
376
+ };
377
+ /**
378
+ * React's `totalAmount`: the cart total due today, in minor units
379
+ * (`FloPayCheckout` passes it). Payment-mode Stripe Elements use
380
+ * `totalAmount || 100` (React's `amountInCents` placeholder for a $0 cart),
381
+ * and the wallet row runs in setup mode for $0. Default `0`, as React's.
382
+ */
383
+ totalAmount: {
384
+ type: NumberConstructor;
385
+ default: number;
386
+ };
387
+ onTokenizedBody: {
388
+ type: PropType<SplitCardFormTokenizedBodyHandler>;
389
+ default: undefined;
390
+ };
391
+ chv: {
392
+ type: StringConstructor;
393
+ default: undefined;
394
+ };
395
+ checkoutType: {
396
+ type: StringConstructor;
397
+ default: undefined;
398
+ };
399
+ checkoutLayout: {
400
+ type: StringConstructor;
401
+ default: undefined;
402
+ };
403
+ enabledPaymentMethodCountries: {
404
+ type: PropType<Record<string, string[]>>;
405
+ default: undefined;
406
+ };
407
+ debug: {
408
+ type: BooleanConstructor;
409
+ default: boolean;
410
+ };
411
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
412
+ [key: string]: any;
413
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
414
+ complete: (_result: PaymentResult) => true;
415
+ error: (_error: FloPayError) => true;
416
+ decline: (_decline: DeclineEvent) => true;
417
+ cancel: (_event: FloPayPaymentCancelEvent) => true;
418
+ buttonClick: (_method: CheckoutButtonMethod) => true;
419
+ countryChange: (_country: string) => true;
420
+ zipChange: (_zip: string) => true;
421
+ errorChange: (_error: string | null) => true;
422
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
423
+ session: {
424
+ type: PropType<CheckoutSession | null>;
425
+ default: undefined;
426
+ };
427
+ sessionId: {
428
+ type: StringConstructor;
429
+ default: undefined;
430
+ };
431
+ nonce: {
432
+ type: StringConstructor;
433
+ default: undefined;
434
+ };
435
+ billingApiUrl: {
436
+ type: StringConstructor;
437
+ default: undefined;
438
+ };
439
+ telemetry: {
440
+ type: BooleanConstructor;
441
+ default: undefined;
442
+ };
443
+ email: {
444
+ type: StringConstructor;
445
+ default: undefined;
446
+ };
447
+ firstName: {
448
+ type: StringConstructor;
449
+ default: undefined;
450
+ };
451
+ lastName: {
452
+ type: StringConstructor;
453
+ default: undefined;
454
+ };
455
+ layout: {
456
+ type: PropType<'default' | 'buttons'>;
457
+ default: string;
458
+ };
459
+ initialCardOpen: {
460
+ type: BooleanConstructor;
461
+ default: boolean;
462
+ };
463
+ showPayPal: {
464
+ type: BooleanConstructor;
465
+ default: boolean;
466
+ };
467
+ walletPresentation: {
468
+ type: PropType<WalletPresentation>;
469
+ default: undefined;
470
+ };
471
+ showStripe: {
472
+ type: BooleanConstructor;
473
+ default: boolean;
474
+ };
475
+ showApplePay: {
476
+ type: BooleanConstructor;
477
+ default: boolean;
478
+ };
479
+ showGooglePay: {
480
+ type: BooleanConstructor;
481
+ default: boolean;
482
+ };
483
+ enabledPaymentMethods: {
484
+ type: PropType<string[]>;
485
+ default: undefined;
486
+ };
487
+ dataAttachmentPending: {
488
+ type: BooleanConstructor;
489
+ default: undefined;
490
+ };
491
+ dataAttachmentRequiresIdentity: {
492
+ type: BooleanConstructor;
493
+ default: undefined;
494
+ };
495
+ submitLabel: {
496
+ type: PropType<string | null>;
497
+ default: undefined;
498
+ };
499
+ enableAVS: {
500
+ type: PropType<boolean | AVSFieldConfig>;
501
+ default: undefined;
502
+ };
503
+ avsLayout: {
504
+ type: PropType<'row' | 'column'>;
505
+ default: string;
506
+ };
507
+ country: {
508
+ type: StringConstructor;
509
+ default: undefined;
510
+ };
511
+ zip: {
512
+ type: StringConstructor;
513
+ default: undefined;
514
+ };
515
+ addressLine1: {
516
+ type: StringConstructor;
517
+ default: undefined;
518
+ };
519
+ addressLine2: {
520
+ type: StringConstructor;
521
+ default: undefined;
522
+ };
523
+ city: {
524
+ type: StringConstructor;
525
+ default: undefined;
526
+ };
527
+ state: {
528
+ type: StringConstructor;
529
+ default: undefined;
530
+ };
531
+ isProcessing: {
532
+ type: BooleanConstructor;
533
+ default: undefined;
534
+ };
535
+ error: {
536
+ type: PropType<string | null>;
537
+ default: undefined;
538
+ };
539
+ theme: {
540
+ type: PropType<ThemeId>;
541
+ default: undefined;
542
+ };
543
+ buttonsTheme: {
544
+ type: PropType<ButtonsLayoutTheme>;
545
+ default: undefined;
546
+ };
547
+ buttonsStyles: {
548
+ type: PropType<ButtonsLayoutStyles>;
549
+ default: undefined;
550
+ };
551
+ appearance: {
552
+ type: PropType<FloPayAppearance>;
553
+ default: undefined;
554
+ };
555
+ className: {
556
+ type: StringConstructor;
557
+ default: undefined;
558
+ };
559
+ cardFieldOrder: {
560
+ type: PropType<VaultCardFieldKey[]>;
561
+ default: undefined;
562
+ };
563
+ onBeforeButtonClick: {
564
+ type: PropType<SplitCardFormBeforeButtonClick>;
565
+ default: undefined;
566
+ };
567
+ onBuyerIdentityReady: {
568
+ type: PropType<SplitCardFormBuyerIdentityReady>;
569
+ default: undefined;
570
+ };
571
+ userId: {
572
+ type: StringConstructor;
573
+ default: undefined;
574
+ };
575
+ avsCheck: {
576
+ type: BooleanConstructor;
577
+ default: undefined;
578
+ };
579
+ /** @deprecated Not rendered (React's deprecated `showSecurityFooter`). */
580
+ showSecurityFooter: {
581
+ type: BooleanConstructor;
582
+ default: undefined;
583
+ };
584
+ directPaypal: {
585
+ type: PropType<SplitCardFormDirectPayPal>;
586
+ default: undefined;
587
+ };
588
+ currency: {
589
+ type: StringConstructor;
590
+ default: undefined;
591
+ };
592
+ isSubscription: {
593
+ type: BooleanConstructor;
594
+ default: undefined;
595
+ };
596
+ /**
597
+ * React's `totalAmount`: the cart total due today, in minor units
598
+ * (`FloPayCheckout` passes it). Payment-mode Stripe Elements use
599
+ * `totalAmount || 100` (React's `amountInCents` placeholder for a $0 cart),
600
+ * and the wallet row runs in setup mode for $0. Default `0`, as React's.
601
+ */
602
+ totalAmount: {
603
+ type: NumberConstructor;
604
+ default: number;
605
+ };
606
+ onTokenizedBody: {
607
+ type: PropType<SplitCardFormTokenizedBodyHandler>;
608
+ default: undefined;
609
+ };
610
+ chv: {
611
+ type: StringConstructor;
612
+ default: undefined;
613
+ };
614
+ checkoutType: {
615
+ type: StringConstructor;
616
+ default: undefined;
617
+ };
618
+ checkoutLayout: {
619
+ type: StringConstructor;
620
+ default: undefined;
621
+ };
622
+ enabledPaymentMethodCountries: {
623
+ type: PropType<Record<string, string[]>>;
624
+ default: undefined;
625
+ };
626
+ debug: {
627
+ type: BooleanConstructor;
628
+ default: boolean;
629
+ };
630
+ }>> & Readonly<{
631
+ onButtonClick?: ((_method: CheckoutButtonMethod) => any) | undefined;
632
+ onCancel?: ((_event: FloPayPaymentCancelEvent) => any) | undefined;
633
+ onComplete?: ((_result: PaymentResult) => any) | undefined;
634
+ onCountryChange?: ((_country: string) => any) | undefined;
635
+ onDecline?: ((_decline: DeclineEvent) => any) | undefined;
636
+ onError?: ((_error: FloPayError) => any) | undefined;
637
+ onErrorChange?: ((_error: string | null) => any) | undefined;
638
+ onZipChange?: ((_zip: string) => any) | undefined;
639
+ }>, {
640
+ session: CheckoutSession | null;
641
+ sessionId: string;
642
+ nonce: string;
643
+ billingApiUrl: string;
644
+ telemetry: boolean;
645
+ email: string;
646
+ firstName: string;
647
+ lastName: string;
648
+ layout: "buttons" | "default";
649
+ initialCardOpen: boolean;
650
+ showPayPal: boolean;
651
+ walletPresentation: WalletPresentation;
652
+ showStripe: boolean;
653
+ showApplePay: boolean;
654
+ showGooglePay: boolean;
655
+ enabledPaymentMethods: string[];
656
+ dataAttachmentPending: boolean;
657
+ dataAttachmentRequiresIdentity: boolean;
658
+ submitLabel: string | null;
659
+ enableAVS: boolean | AVSFieldConfig;
660
+ avsLayout: "column" | "row";
661
+ country: string;
662
+ zip: string;
663
+ addressLine1: string;
664
+ addressLine2: string;
665
+ city: string;
666
+ state: string;
667
+ isProcessing: boolean;
668
+ error: string | null;
669
+ theme: ThemeId;
670
+ buttonsTheme: ButtonsLayoutTheme;
671
+ buttonsStyles: ButtonsLayoutStyles;
672
+ appearance: FloPayAppearance;
673
+ className: string;
674
+ cardFieldOrder: VaultCardFieldKey[];
675
+ onBeforeButtonClick: SplitCardFormBeforeButtonClick;
676
+ onBuyerIdentityReady: SplitCardFormBuyerIdentityReady;
677
+ userId: string;
678
+ avsCheck: boolean;
679
+ showSecurityFooter: boolean;
680
+ directPaypal: SplitCardFormDirectPayPal;
681
+ currency: string;
682
+ isSubscription: boolean;
683
+ totalAmount: number;
684
+ onTokenizedBody: SplitCardFormTokenizedBodyHandler;
685
+ chv: string;
686
+ checkoutType: string;
687
+ checkoutLayout: string;
688
+ enabledPaymentMethodCountries: Record<string, string[]>;
689
+ debug: boolean;
690
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
691
+ export {};