@stripe/stripe-js 3.0.6 → 3.0.8
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.
- package/dist/index.d.mts +289 -104
- package/dist/index.d.ts +289 -104
- package/dist/stripe.js +1 -1
- package/dist/stripe.mjs +1 -1
- package/package.json +1 -1
- package/pure/index.d.mts +288 -103
- package/pure/index.d.ts +288 -103
- package/pure/index.js +1 -1
- package/pure/index.mjs +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1687,6 +1687,11 @@ interface ConfirmPaymentData extends PaymentIntentConfirmParams {
|
|
|
1687
1687
|
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_data-billing_details
|
|
1688
1688
|
*/
|
|
1689
1689
|
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature
|
|
1693
|
+
*/
|
|
1694
|
+
allow_redisplay?: 'always' | 'limited' | 'unspecified';
|
|
1690
1695
|
};
|
|
1691
1696
|
|
|
1692
1697
|
/**
|
|
@@ -2792,7 +2797,12 @@ interface StripeEmbeddedCheckoutOptions {
|
|
|
2792
2797
|
/**
|
|
2793
2798
|
* The client secret of the [Checkout Session](https://stripe.com/docs/api/checkout/sessions).
|
|
2794
2799
|
*/
|
|
2795
|
-
clientSecret
|
|
2800
|
+
clientSecret?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* A function that returns a Promise which resolves with the client secret of
|
|
2803
|
+
* the [Checkout Session](https://stripe.com/docs/api/checkout/sessions).
|
|
2804
|
+
*/
|
|
2805
|
+
fetchClientSecret?: () => Promise<string>;
|
|
2796
2806
|
/**
|
|
2797
2807
|
* onComplete is called when the Checkout Session completes successfully.
|
|
2798
2808
|
* You can use it to unmount Embedded Checkout and render a custom success UI.
|
|
@@ -9205,9 +9215,6 @@ interface StripePaymentElementChangeEvent {
|
|
|
9205
9215
|
* Contact [Stripe support](https://support.stripe.com/) for more information.
|
|
9206
9216
|
*/
|
|
9207
9217
|
|
|
9208
|
-
/**
|
|
9209
|
-
* StripeCustomCheckoutInitOptions
|
|
9210
|
-
*/
|
|
9211
9218
|
interface StripeCustomCheckoutElementsOptions {
|
|
9212
9219
|
appearance?: Appearance;
|
|
9213
9220
|
loader?: 'auto' | 'always' | 'never';
|
|
@@ -9219,10 +9226,7 @@ interface StripeCustomCheckoutOptions {
|
|
|
9219
9226
|
elementsOptions?: StripeCustomCheckoutElementsOptions;
|
|
9220
9227
|
}
|
|
9221
9228
|
|
|
9222
|
-
|
|
9223
|
-
* StripeCustomCheckoutActions
|
|
9224
|
-
*/
|
|
9225
|
-
|
|
9229
|
+
/* Custom Checkout types */
|
|
9226
9230
|
type StripeCustomCheckoutAddress = {
|
|
9227
9231
|
country: string;
|
|
9228
9232
|
line1?: string | null;
|
|
@@ -9232,72 +9236,50 @@ type StripeCustomCheckoutAddress = {
|
|
|
9232
9236
|
state?: string | null;
|
|
9233
9237
|
};
|
|
9234
9238
|
|
|
9235
|
-
type
|
|
9236
|
-
|
|
9237
|
-
|
|
9239
|
+
type StripeCustomCheckoutAdjustableQuantity = {
|
|
9240
|
+
maximum: number;
|
|
9241
|
+
minimum: number;
|
|
9238
9242
|
};
|
|
9239
9243
|
|
|
9240
|
-
type
|
|
9241
|
-
|
|
|
9242
|
-
|
|
|
9244
|
+
type StripeCustomCheckoutBillingInterval =
|
|
9245
|
+
| 'day'
|
|
9246
|
+
| 'month'
|
|
9247
|
+
| 'week'
|
|
9248
|
+
| 'year';
|
|
9243
9249
|
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
shippingAddress: StripeCustomCheckoutContact | null
|
|
9251
|
-
) => Promise<StripeCustomCheckoutResult>;
|
|
9252
|
-
updateBillingAddress: (
|
|
9253
|
-
billingAddress: StripeCustomCheckoutContact | null
|
|
9254
|
-
) => Promise<StripeCustomCheckoutResult>;
|
|
9255
|
-
updatePhoneNumber: (phoneNumber: string) => void;
|
|
9256
|
-
updateEmail: (email: string) => void;
|
|
9257
|
-
updateLineItemQuantity: (args: {
|
|
9258
|
-
lineItem: string;
|
|
9259
|
-
quantity: number;
|
|
9260
|
-
}) => Promise<StripeCustomCheckoutResult>;
|
|
9261
|
-
updateShippingOption: (
|
|
9262
|
-
shippingOption: string
|
|
9263
|
-
) => Promise<StripeCustomCheckoutResult>;
|
|
9264
|
-
confirm: (args?: {
|
|
9265
|
-
return_url?: string;
|
|
9266
|
-
}) => Promise<StripeCustomCheckoutResult>;
|
|
9267
|
-
}
|
|
9250
|
+
type StripeCustomCheckoutConfirmationRequirement =
|
|
9251
|
+
| 'phoneNumber'
|
|
9252
|
+
| 'shippingAddress'
|
|
9253
|
+
| 'billingAddress'
|
|
9254
|
+
| 'paymentDetails'
|
|
9255
|
+
| 'email';
|
|
9268
9256
|
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9257
|
+
type StripeCustomCheckoutContact = {
|
|
9258
|
+
name?: string | null;
|
|
9259
|
+
address: StripeCustomCheckoutAddress;
|
|
9260
|
+
};
|
|
9272
9261
|
|
|
9273
|
-
type
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
displayName: string;
|
|
9262
|
+
type StripeCustomCheckoutDeliveryEstimate = {
|
|
9263
|
+
maximum: StripeCustomCheckoutEstimate | null;
|
|
9264
|
+
minimum: StripeCustomCheckoutEstimate | null;
|
|
9277
9265
|
};
|
|
9278
9266
|
|
|
9279
9267
|
type StripeCustomCheckoutDiscountAmount = {
|
|
9280
9268
|
amount: number;
|
|
9281
9269
|
displayName: string;
|
|
9282
9270
|
promotionCode: string | null;
|
|
9271
|
+
recurring:
|
|
9272
|
+
| {type: 'forever'}
|
|
9273
|
+
| {type: 'repeating'; durationInMonths: number}
|
|
9274
|
+
| null;
|
|
9283
9275
|
};
|
|
9284
9276
|
|
|
9285
|
-
type
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
id: string;
|
|
9292
|
-
amount: number;
|
|
9293
|
-
currency: string;
|
|
9294
|
-
displayName: string | null;
|
|
9295
|
-
deliveryEstimate: StripeCustomCheckoutDeliveryEstimate | null;
|
|
9296
|
-
};
|
|
9297
|
-
|
|
9298
|
-
type StripeCustomCheckoutDeliveryEstimate = {
|
|
9299
|
-
maximum: StripeCustomCheckoutEstimate | null;
|
|
9300
|
-
minimum: StripeCustomCheckoutEstimate | null;
|
|
9277
|
+
type StripeCustomCheckoutDueNext = {
|
|
9278
|
+
amountSubtotal: number;
|
|
9279
|
+
amountDiscount: number;
|
|
9280
|
+
amountTaxInclusive: number;
|
|
9281
|
+
amountTaxExclusive: number;
|
|
9282
|
+
billingCycleAnchor: number | null;
|
|
9301
9283
|
};
|
|
9302
9284
|
|
|
9303
9285
|
type StripeCustomCheckoutEstimate = {
|
|
@@ -9305,16 +9287,23 @@ type StripeCustomCheckoutEstimate = {
|
|
|
9305
9287
|
value: number;
|
|
9306
9288
|
};
|
|
9307
9289
|
|
|
9308
|
-
type
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9290
|
+
type StripeCustomCheckoutLastPaymentError = {
|
|
9291
|
+
message: string;
|
|
9292
|
+
};
|
|
9293
|
+
|
|
9294
|
+
type StripeCustomCheckoutTaxAmount = {
|
|
9295
|
+
amount: number;
|
|
9296
|
+
inclusive: boolean;
|
|
9297
|
+
displayName: string;
|
|
9298
|
+
};
|
|
9313
9299
|
|
|
9314
9300
|
type StripeCustomCheckoutLineItem = {
|
|
9315
9301
|
id: string;
|
|
9316
9302
|
name: string;
|
|
9317
|
-
|
|
9303
|
+
amountDiscount: number;
|
|
9304
|
+
amountSubtotal: number;
|
|
9305
|
+
amountTaxExclusive: number;
|
|
9306
|
+
amountTaxInclusive: number;
|
|
9318
9307
|
unitAmount: number;
|
|
9319
9308
|
description: string | null;
|
|
9320
9309
|
quantity: number;
|
|
@@ -9322,45 +9311,87 @@ type StripeCustomCheckoutLineItem = {
|
|
|
9322
9311
|
taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
|
|
9323
9312
|
recurring: {
|
|
9324
9313
|
interval: StripeCustomCheckoutBillingInterval;
|
|
9325
|
-
|
|
9314
|
+
intervalCount: number;
|
|
9315
|
+
isProrated: boolean;
|
|
9316
|
+
usageType: 'metered' | 'licensed';
|
|
9326
9317
|
} | null;
|
|
9318
|
+
adjustableQuantity: StripeCustomCheckoutAdjustableQuantity | null;
|
|
9319
|
+
};
|
|
9320
|
+
|
|
9321
|
+
type StripeCustomCheckoutRecurring = {
|
|
9322
|
+
interval: StripeCustomCheckoutBillingInterval;
|
|
9323
|
+
intervalCount: number;
|
|
9324
|
+
dueNext: StripeCustomCheckoutDueNext;
|
|
9325
|
+
trial: StripeCustomCheckoutTrial | null;
|
|
9326
|
+
};
|
|
9327
|
+
|
|
9328
|
+
type StripeCustomCheckoutShipping = {
|
|
9329
|
+
shippingOption: StripeCustomCheckoutShippingOption;
|
|
9330
|
+
taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
|
|
9331
|
+
};
|
|
9332
|
+
|
|
9333
|
+
type StripeCustomCheckoutShippingOption = {
|
|
9334
|
+
id: string;
|
|
9335
|
+
amount: number;
|
|
9336
|
+
currency: string;
|
|
9337
|
+
displayName: string | null;
|
|
9338
|
+
deliveryEstimate: StripeCustomCheckoutDeliveryEstimate | null;
|
|
9327
9339
|
};
|
|
9328
9340
|
|
|
9341
|
+
type StripeCustomCheckoutStatus =
|
|
9342
|
+
| {type: 'open'}
|
|
9343
|
+
| {type: 'expired'}
|
|
9344
|
+
| {
|
|
9345
|
+
type: 'complete';
|
|
9346
|
+
paymentStatus: 'paid' | 'unpaid' | 'no_payment_required';
|
|
9347
|
+
};
|
|
9348
|
+
|
|
9349
|
+
type StripeCustomCheckoutTaxStatus =
|
|
9350
|
+
| {status: 'ready'}
|
|
9351
|
+
| {status: 'requires_shipping_address'}
|
|
9352
|
+
| {status: 'requires_billing_address'};
|
|
9353
|
+
|
|
9329
9354
|
type StripeCustomCheckoutTotalSummary = {
|
|
9355
|
+
appliedBalance: number;
|
|
9356
|
+
balanceAppliedToNextInvoice: boolean;
|
|
9357
|
+
discount: number;
|
|
9358
|
+
shippingRate: number;
|
|
9330
9359
|
subtotal: number;
|
|
9331
9360
|
taxExclusive: number;
|
|
9332
9361
|
taxInclusive: number;
|
|
9333
|
-
shippingRate: number;
|
|
9334
|
-
discount: number;
|
|
9335
9362
|
total: number;
|
|
9336
9363
|
};
|
|
9337
9364
|
|
|
9338
|
-
type
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
| 'paymentDetails'
|
|
9343
|
-
| 'email';
|
|
9365
|
+
type StripeCustomCheckoutTrial = {
|
|
9366
|
+
trialEnd: number;
|
|
9367
|
+
trialPeriodDays: number;
|
|
9368
|
+
};
|
|
9344
9369
|
|
|
9370
|
+
/* Custom Checkout session */
|
|
9345
9371
|
interface StripeCustomCheckoutSession {
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9372
|
+
billingAddress: StripeCustomCheckoutContact | null;
|
|
9373
|
+
canConfirm: boolean;
|
|
9374
|
+
confirmationRequirements: StripeCustomCheckoutConfirmationRequirement[];
|
|
9349
9375
|
currency: string;
|
|
9376
|
+
discountAmounts: Array<StripeCustomCheckoutDiscountAmount> | null;
|
|
9377
|
+
email: string | null;
|
|
9378
|
+
lastPaymentError: StripeCustomCheckoutLastPaymentError | null;
|
|
9379
|
+
lineItems: Array<StripeCustomCheckoutLineItem>;
|
|
9380
|
+
phoneNumber: string | null;
|
|
9381
|
+
recurring: StripeCustomCheckoutRecurring | null;
|
|
9350
9382
|
shipping: StripeCustomCheckoutShipping | null;
|
|
9351
|
-
shippingOptions: Array<StripeCustomCheckoutShippingOption>;
|
|
9352
9383
|
shippingAddress: StripeCustomCheckoutContact | null;
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9384
|
+
shippingOptions: Array<StripeCustomCheckoutShippingOption>;
|
|
9385
|
+
status: StripeCustomCheckoutStatus;
|
|
9386
|
+
tax: StripeCustomCheckoutTaxStatus;
|
|
9387
|
+
taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
|
|
9356
9388
|
total: StripeCustomCheckoutTotalSummary;
|
|
9357
|
-
confirmationRequirements: StripeCustomCheckoutConfirmationRequirement[];
|
|
9358
|
-
canConfirm: boolean;
|
|
9359
9389
|
}
|
|
9360
9390
|
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9391
|
+
type StripeCustomCheckoutResult =
|
|
9392
|
+
| {session: StripeCustomCheckoutSession; error?: undefined}
|
|
9393
|
+
| {session?: undefined; error: StripeError};
|
|
9394
|
+
|
|
9364
9395
|
type StripeCustomCheckoutPaymentElementOptions = {
|
|
9365
9396
|
layout?: Layout | LayoutObject;
|
|
9366
9397
|
paymentMethodOrder?: Array<string>;
|
|
@@ -9376,13 +9407,177 @@ type StripeCustomCheckoutAddressElementOptions = {
|
|
|
9376
9407
|
};
|
|
9377
9408
|
};
|
|
9378
9409
|
|
|
9379
|
-
|
|
9410
|
+
type StripeCustomCheckoutExpressCheckoutElementOptions = {
|
|
9411
|
+
buttonHeight: StripeExpressCheckoutElementOptions['buttonHeight'];
|
|
9412
|
+
buttonTheme: StripeExpressCheckoutElementOptions['buttonTheme'];
|
|
9413
|
+
buttonType: StripeExpressCheckoutElementOptions['buttonType'];
|
|
9414
|
+
layout: StripeExpressCheckoutElementOptions['layout'];
|
|
9415
|
+
};
|
|
9416
|
+
|
|
9417
|
+
type StripeCustomCheckoutUpdateHandler = (
|
|
9418
|
+
session: StripeCustomCheckoutSession
|
|
9419
|
+
) => void;
|
|
9420
|
+
|
|
9421
|
+
type StripeCustomCheckoutExpressCheckoutElementConfirmEvent = StripeExpressCheckoutElementConfirmEvent & {
|
|
9422
|
+
confirm: () => Promise<StripeCustomCheckoutResult>;
|
|
9423
|
+
};
|
|
9424
|
+
|
|
9425
|
+
type StripeCustomCheckoutExpressCheckoutElement = StripeElementBase & {
|
|
9426
|
+
/**
|
|
9427
|
+
* Triggered when the element is fully rendered.
|
|
9428
|
+
*/
|
|
9429
|
+
on(
|
|
9430
|
+
eventType: 'ready',
|
|
9431
|
+
handler: (event: StripeExpressCheckoutElementReadyEvent) => any
|
|
9432
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9433
|
+
once(
|
|
9434
|
+
eventType: 'ready',
|
|
9435
|
+
handler: (event: StripeExpressCheckoutElementReadyEvent) => any
|
|
9436
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9437
|
+
off(
|
|
9438
|
+
eventType: 'ready',
|
|
9439
|
+
handler?: (event: StripeExpressCheckoutElementReadyEvent) => any
|
|
9440
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9441
|
+
|
|
9442
|
+
/**
|
|
9443
|
+
* Triggered when the element gains focus.
|
|
9444
|
+
*/
|
|
9445
|
+
on(
|
|
9446
|
+
eventType: 'focus',
|
|
9447
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9448
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9449
|
+
once(
|
|
9450
|
+
eventType: 'focus',
|
|
9451
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9452
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9453
|
+
off(
|
|
9454
|
+
eventType: 'focus',
|
|
9455
|
+
handler?: (event: {elementType: 'expressCheckout'}) => any
|
|
9456
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9457
|
+
|
|
9458
|
+
/**
|
|
9459
|
+
* Triggered when the element loses focus.
|
|
9460
|
+
*/
|
|
9461
|
+
on(
|
|
9462
|
+
eventType: 'blur',
|
|
9463
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9464
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9465
|
+
once(
|
|
9466
|
+
eventType: 'blur',
|
|
9467
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9468
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9469
|
+
off(
|
|
9470
|
+
eventType: 'blur',
|
|
9471
|
+
handler?: (event: {elementType: 'expressCheckout'}) => any
|
|
9472
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9473
|
+
|
|
9474
|
+
/**
|
|
9475
|
+
* Triggered when the escape key is pressed within the element.
|
|
9476
|
+
*/
|
|
9477
|
+
on(
|
|
9478
|
+
eventType: 'escape',
|
|
9479
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9480
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9481
|
+
once(
|
|
9482
|
+
eventType: 'escape',
|
|
9483
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9484
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9485
|
+
off(
|
|
9486
|
+
eventType: 'escape',
|
|
9487
|
+
handler?: (event: {elementType: 'expressCheckout'}) => any
|
|
9488
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9489
|
+
|
|
9490
|
+
/**
|
|
9491
|
+
* Triggered when the element fails to load.
|
|
9492
|
+
*/
|
|
9493
|
+
on(
|
|
9494
|
+
eventType: 'loaderror',
|
|
9495
|
+
handler: (event: {
|
|
9496
|
+
elementType: 'expressCheckout';
|
|
9497
|
+
error: StripeError;
|
|
9498
|
+
}) => any
|
|
9499
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9500
|
+
once(
|
|
9501
|
+
eventType: 'loaderror',
|
|
9502
|
+
handler: (event: {
|
|
9503
|
+
elementType: 'expressCheckout';
|
|
9504
|
+
error: StripeError;
|
|
9505
|
+
}) => any
|
|
9506
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9507
|
+
off(
|
|
9508
|
+
eventType: 'loaderror',
|
|
9509
|
+
handler?: (event: {
|
|
9510
|
+
elementType: 'expressCheckout';
|
|
9511
|
+
error: StripeError;
|
|
9512
|
+
}) => any
|
|
9513
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9514
|
+
|
|
9515
|
+
/**
|
|
9516
|
+
* Triggered when a buyer authorizes a payment within a supported payment method.
|
|
9517
|
+
*/
|
|
9518
|
+
on(
|
|
9519
|
+
eventType: 'confirm',
|
|
9520
|
+
handler: (
|
|
9521
|
+
event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
|
|
9522
|
+
) => any
|
|
9523
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9524
|
+
once(
|
|
9525
|
+
eventType: 'confirm',
|
|
9526
|
+
handler: (
|
|
9527
|
+
event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
|
|
9528
|
+
) => any
|
|
9529
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9530
|
+
off(
|
|
9531
|
+
eventType: 'confirm',
|
|
9532
|
+
handler?: (
|
|
9533
|
+
event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
|
|
9534
|
+
) => any
|
|
9535
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9536
|
+
|
|
9537
|
+
/**
|
|
9538
|
+
* Updates the options the `ExpressCheckoutElement` was initialized with.
|
|
9539
|
+
* Updates are merged into the existing configuration.
|
|
9540
|
+
*/
|
|
9541
|
+
update: StripeExpressCheckoutElement['update'];
|
|
9542
|
+
};
|
|
9543
|
+
|
|
9544
|
+
interface StripeCustomCheckout {
|
|
9545
|
+
/* Custom Checkout methods */
|
|
9546
|
+
applyPromotionCode: (
|
|
9547
|
+
promotionCode: string
|
|
9548
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9549
|
+
removePromotionCode: () => Promise<StripeCustomCheckoutResult>;
|
|
9550
|
+
updateShippingAddress: (
|
|
9551
|
+
shippingAddress: StripeCustomCheckoutContact | null
|
|
9552
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9553
|
+
updateBillingAddress: (
|
|
9554
|
+
billingAddress: StripeCustomCheckoutContact | null
|
|
9555
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9556
|
+
updatePhoneNumber: (phoneNumber: string) => void;
|
|
9557
|
+
updateEmail: (email: string) => void;
|
|
9558
|
+
updateLineItemQuantity: (args: {
|
|
9559
|
+
lineItem: string;
|
|
9560
|
+
quantity: number;
|
|
9561
|
+
}) => Promise<StripeCustomCheckoutResult>;
|
|
9562
|
+
updateShippingOption: (
|
|
9563
|
+
shippingOption: string
|
|
9564
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9565
|
+
confirm: (args?: {
|
|
9566
|
+
return_url?: string;
|
|
9567
|
+
}) => Promise<StripeCustomCheckoutResult>;
|
|
9568
|
+
session: () => StripeCustomCheckoutSession;
|
|
9569
|
+
on: (event: 'change', handler: StripeCustomCheckoutUpdateHandler) => void;
|
|
9570
|
+
|
|
9571
|
+
/* Elements methods */
|
|
9380
9572
|
changeAppearance: (appearance: Appearance) => void;
|
|
9381
9573
|
getElement(elementType: 'payment'): StripePaymentElement | null;
|
|
9382
9574
|
getElement(
|
|
9383
9575
|
elementType: 'address',
|
|
9384
9576
|
mode: AddressMode
|
|
9385
9577
|
): StripeAddressElement | null;
|
|
9578
|
+
getElement(
|
|
9579
|
+
elementType: 'expressCheckout'
|
|
9580
|
+
): StripeCustomCheckoutExpressCheckoutElement | null;
|
|
9386
9581
|
createElement(
|
|
9387
9582
|
elementType: 'payment',
|
|
9388
9583
|
options?: StripeCustomCheckoutPaymentElementOptions
|
|
@@ -9391,20 +9586,10 @@ interface StripeCustomCheckoutElementsActions {
|
|
|
9391
9586
|
elementType: 'address',
|
|
9392
9587
|
options: StripeCustomCheckoutAddressElementOptions
|
|
9393
9588
|
): StripeAddressElement;
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
*/
|
|
9399
|
-
type StripeCustomCheckoutUpdateHandler = (
|
|
9400
|
-
session: StripeCustomCheckoutSession
|
|
9401
|
-
) => void;
|
|
9402
|
-
|
|
9403
|
-
interface StripeCustomCheckout
|
|
9404
|
-
extends StripeCustomCheckoutActions,
|
|
9405
|
-
StripeCustomCheckoutElementsActions {
|
|
9406
|
-
session: () => StripeCustomCheckoutSession;
|
|
9407
|
-
on: (event: 'change', handler: StripeCustomCheckoutUpdateHandler) => void;
|
|
9589
|
+
createElement(
|
|
9590
|
+
elementType: 'expressCheckout',
|
|
9591
|
+
options: StripeCustomCheckoutExpressCheckoutElementOptions
|
|
9592
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9408
9593
|
}
|
|
9409
9594
|
|
|
9410
9595
|
/**
|
|
@@ -12614,4 +12799,4 @@ declare global {
|
|
|
12614
12799
|
}
|
|
12615
12800
|
}
|
|
12616
12801
|
|
|
12617
|
-
export { type AccountAddressParam, type Address, type AddressMode, type AddressParam, type Appearance, type ApplePayButtonTheme, type ApplePayButtonType, type AvailablePaymentMethods, type BankAccount, type BankAccountToken, BillingDetails, type ButtonThemeOption, type ButtonTypeOption, type CanMakePaymentResult, Card, type CardNetworkBrand, type CartDescriptor, type CartItemDetails, type CartShowOnAdd, type ChangeResolveDetails, type CheckoutLocale, type ClickResolveDetails, type CollectBankAccountForPaymentOptions, type CollectBankAccountForSetupOptions, type CollectBankAccountParams, type CollectBankAccountPaymentMethodData, type CollectBankAccountTokenOptions, type CollectBankAccountTokenResult, type CollectFinancialConnectionsAccountsOptions, type ConfirmAcssDebitPaymentData, type ConfirmAcssDebitPaymentOptions, type ConfirmAcssDebitSetupData, type ConfirmAcssDebitSetupOptions, type ConfirmAffirmPaymentData, type ConfirmAffirmPaymentOptions, type ConfirmAfterpayClearpayPaymentData, type ConfirmAfterpayClearpayPaymentOptions, type ConfirmAlipayPaymentData, type ConfirmAlipayPaymentOptions, type ConfirmAuBecsDebitPaymentData, type ConfirmAuBecsDebitSetupData, type ConfirmBacsDebitSetupData, type ConfirmBancontactPaymentData, type ConfirmBancontactPaymentOptions, type ConfirmBancontactSetupData, type ConfirmBlikPaymentData, type ConfirmBlikPaymentOptions, type ConfirmBoletoPaymentData, type ConfirmBoletoPaymentOptions, type ConfirmCardPaymentData, type ConfirmCardPaymentOptions, type ConfirmCardSetupData, type ConfirmCardSetupOptions, type ConfirmCashappPaymentData, type ConfirmCashappPaymentOptions, type ConfirmCashappSetupData, type ConfirmCashappSetupOptions, type ConfirmCustomerBalancePaymentData, type ConfirmCustomerBalancePaymentOptions, type ConfirmEpsPaymentData, type ConfirmEpsPaymentOptions, type ConfirmFpxPaymentData, type ConfirmFpxPaymentOptions, type ConfirmGiropayPaymentData, type ConfirmGiropayPaymentOptions, type ConfirmGrabPayPaymentData, type ConfirmGrabPayPaymentOptions, type ConfirmIdealPaymentData, type ConfirmIdealPaymentOptions, type ConfirmIdealSetupData, type ConfirmKlarnaPaymentData, type ConfirmKlarnaPaymentOptions, type ConfirmKonbiniPaymentData, type ConfirmKonbiniPaymentOptions, type ConfirmOxxoPaymentData, type ConfirmOxxoPaymentOptions, type ConfirmP24PaymentData, type ConfirmP24PaymentOptions, type ConfirmPayNowPaymentData, type ConfirmPayNowPaymentOptions, type ConfirmPayPalPaymentData, type ConfirmPayPalSetupData, type ConfirmPaymentData, type ConfirmPixPaymentData, type ConfirmPixPaymentOptions, type ConfirmPromptPayPaymentData, type ConfirmPromptPayPaymentOptions, type ConfirmSepaDebitPaymentData, type ConfirmSepaDebitSetupData, type ConfirmSofortPaymentData, type ConfirmSofortPaymentOptions, type ConfirmSofortSetupData, type ConfirmSofortSetupOptions, type ConfirmUsBankAccountPaymentData, type ConfirmUsBankAccountSetupData, type ConfirmWechatPayPaymentData, type ConfirmWechatPayPaymentOptions, type ContactOption, type CreatePaymentMethodAcssDebitData, type CreatePaymentMethodAffirmData, type CreatePaymentMethodAfterpayClearpayData, type CreatePaymentMethodAlipayData, type CreatePaymentMethodAuBecsDebitData, type CreatePaymentMethodBacsDebitData, type CreatePaymentMethodBancontactData, type CreatePaymentMethodBlikData, type CreatePaymentMethodBoletoData, type CreatePaymentMethodCardData, type CreatePaymentMethodCashappData, type CreatePaymentMethodCustomerBalanceData, type CreatePaymentMethodData, type CreatePaymentMethodEpsData, type CreatePaymentMethodFpxData, type CreatePaymentMethodFromElement, type CreatePaymentMethodFromElements, type CreatePaymentMethodGiropayData, type CreatePaymentMethodGrabPayData, type CreatePaymentMethodIdealData, type CreatePaymentMethodKlarnaData, type CreatePaymentMethodKonbiniData, type CreatePaymentMethodOxxoData, type CreatePaymentMethodP24Data, type CreatePaymentMethodPayNowData, type CreatePaymentMethodPayPalData, type CreatePaymentMethodPixData, type CreatePaymentMethodPromptPayData, type CreatePaymentMethodSepaDebitData, type CreatePaymentMethodSofortData, type CreatePaymentMethodUsBankAccountData, type CreatePaymentMethodWechatPayData, CreateSourceData, type CreateTokenBankAccountData, type CreateTokenCardData, type CreateTokenIbanData, type CreateTokenPiiData, type CssFontSource, type CustomFontSource, type CustomerOptions, type DefaultValuesOption, type DeliveryEstimate, type DeliveryUnit, type EphemeralKeyNonceOptions, type EphemeralKeyNonceResult, type ExpressCheckoutAddress, type ExpressCheckoutPartialAddress, type ExpressCheckoutWalletOption, type ExpressCheckoutWalletsOption, type ExpressPaymentType, type FieldOption, type FieldsOption, FinancialConnectionsSession, type FinancialConnectionsSessionResult, type GooglePayButtonTheme, type GooglePayButtonType, type JapanAddressParam, type Layout, type LayoutObject, type LayoutOption, type LineItem, type Metadata, type MetadataParam, Order, PaymentIntent, PaymentIntentConfirmParams, type PaymentIntentOrSetupIntentResult, type PaymentIntentResult, PaymentMethod, PaymentMethodCreateParams, type PaymentMethodResult, type PaymentRequest, type PaymentRequestCompleteStatus, type PaymentRequestEvent, type PaymentRequestItem, type PaymentRequestOptions, type PaymentRequestPaymentMethodEvent, type PaymentRequestShippingAddress, type PaymentRequestShippingAddressEvent, type PaymentRequestShippingOption, type PaymentRequestShippingOptionEvent, type PaymentRequestSourceEvent, type PaymentRequestTokenEvent, type PaymentRequestUpdateDetails, type PaymentRequestUpdateDetailsStatus, type PaymentRequestUpdateOptions, type PaymentRequestWallet, type PaymentWalletOption, type PaymentWalletsOption, type ProcessOrderParams, type ProcessOrderResult, type RadarSessionPayload, type RedirectToCheckoutClientOptions, type RedirectToCheckoutOptions, type RedirectToCheckoutServerOptions, type RetrieveOrderResult, type RetrieveSourceParam, SetupIntent, type SetupIntentConfirmParams, type SetupIntentResult, type ShippingAddress, type ShippingRate, Source, SourceCreateParams, type SourceResult, type Stripe, type StripeAddressElement, type StripeAddressElementChangeEvent, type StripeAddressElementOptions, type StripeAffirmMessageElement, type StripeAffirmMessageElementOptions, type StripeAfterpayClearpayMessageElement, type StripeAfterpayClearpayMessageElementOptions, type StripeAuBankAccountElement, type StripeAuBankAccountElementChangeEvent, type StripeAuBankAccountElementOptions, type StripeCardCvcElement, type StripeCardCvcElementChangeEvent, type StripeCardCvcElementOptions, type StripeCardElement, type StripeCardElementChangeEvent, type StripeCardElementOptions, type StripeCardElementUpdateOptions, type StripeCardExpiryElement, type StripeCardExpiryElementChangeEvent, type StripeCardExpiryElementOptions, type StripeCardNumberElement, type StripeCardNumberElementChangeEvent, type StripeCardNumberElementOptions, type StripeCardNumberElementUpdateOptions, type StripeCartElement, type StripeCartElementLineItemClickEvent, type StripeCartElementOptions, type StripeCartElementPayloadEvent, type StripeCartElementUpdateOptions, type StripeConstructor, type StripeConstructorOptions, type StripeCustomCheckout, type StripeCustomCheckoutActions, type StripeCustomCheckoutAddress, type StripeCustomCheckoutAddressElementOptions, type StripeCustomCheckoutBillingInterval, type StripeCustomCheckoutConfirmationRequirement, type StripeCustomCheckoutContact, type StripeCustomCheckoutDeliveryEstimate, type StripeCustomCheckoutDiscountAmount, type StripeCustomCheckoutElementsActions, type StripeCustomCheckoutElementsOptions, type StripeCustomCheckoutEstimate, type StripeCustomCheckoutLineItem, type StripeCustomCheckoutOptions, type StripeCustomCheckoutPaymentElementOptions, type StripeCustomCheckoutResult, type StripeCustomCheckoutSession, type StripeCustomCheckoutShipping, type StripeCustomCheckoutShippingOption, type StripeCustomCheckoutTaxAmount, type StripeCustomCheckoutTotalSummary, type StripeCustomCheckoutUpdateHandler, type StripeElement, type StripeElementBase, type StripeElementCSSProperties, type StripeElementChangeEvent, type StripeElementClasses, type StripeElementLocale, type StripeElementStyle, type StripeElementStyleVariant, type StripeElementType, type StripeElements, type StripeElementsOptions, type StripeElementsOptionsClientSecret, type StripeElementsOptionsMode, type StripeElementsUpdateOptions, type StripeEmbeddedCheckout, type StripeEmbeddedCheckoutOptions, type StripeEpsBankElement, type StripeEpsBankElementChangeEvent, type StripeEpsBankElementOptions, type StripeError, type StripeErrorType, type StripeExpressCheckoutElement, type StripeExpressCheckoutElementClickEvent, type StripeExpressCheckoutElementConfirmEvent, type StripeExpressCheckoutElementOptions, type StripeExpressCheckoutElementReadyEvent, type StripeExpressCheckoutElementShippingAddressChangeEvent, type StripeExpressCheckoutElementShippingRateChangeEvent, type StripeExpressCheckoutElementUpdateOptions, type StripeFpxBankElement, type StripeFpxBankElementChangeEvent, type StripeFpxBankElementOptions, type StripeIbanElement, type StripeIbanElementChangeEvent, type StripeIbanElementOptions, type StripeIdealBankElement, type StripeIdealBankElementChangeEvent, type StripeIdealBankElementOptions, type StripeIssuingCardCopyButtonElement, type StripeIssuingCardCopyButtonElementOptions, type StripeIssuingCardCvcDisplayElement, type StripeIssuingCardCvcDisplayElementOptions, type StripeIssuingCardExpiryDisplayElement, type StripeIssuingCardExpiryDisplayElementOptions, type StripeIssuingCardNumberDisplayElement, type StripeIssuingCardNumberDisplayElementOptions, type StripeIssuingCardPinDisplayElement, type StripeIssuingCardPinDisplayElementOptions, type StripeLinkAuthenticationElement, type StripeLinkAuthenticationElementChangeEvent, type StripeLinkAuthenticationElementOptions, type StripeP24BankElement, type StripeP24BankElementChangeEvent, type StripeP24BankElementOptions, type StripePaymentElement, type StripePaymentElementChangeEvent, type StripePaymentElementOptions, type StripePaymentMethodMessagingElement, type StripePaymentMethodMessagingElementOptions, type StripePaymentRequestButtonElement, type StripePaymentRequestButtonElementClickEvent, type StripePaymentRequestButtonElementOptions, type StripeShippingAddressElement, type StripeShippingAddressElementChangeEvent, type StripeShippingAddressElementOptions, type TermOption, type TermsOption, type Token, TokenCreateParams, type TokenResult, type VerificationSession, type VerificationSessionResult, type VerifyMicrodepositsForPaymentData, type VerifyMicrodepositsForSetupData, type WrapperLibrary, loadStripe };
|
|
12802
|
+
export { type AccountAddressParam, type Address, type AddressMode, type AddressParam, type Appearance, type ApplePayButtonTheme, type ApplePayButtonType, type AvailablePaymentMethods, type BankAccount, type BankAccountToken, BillingDetails, type ButtonThemeOption, type ButtonTypeOption, type CanMakePaymentResult, Card, type CardNetworkBrand, type CartDescriptor, type CartItemDetails, type CartShowOnAdd, type ChangeResolveDetails, type CheckoutLocale, type ClickResolveDetails, type CollectBankAccountForPaymentOptions, type CollectBankAccountForSetupOptions, type CollectBankAccountParams, type CollectBankAccountPaymentMethodData, type CollectBankAccountTokenOptions, type CollectBankAccountTokenResult, type CollectFinancialConnectionsAccountsOptions, type ConfirmAcssDebitPaymentData, type ConfirmAcssDebitPaymentOptions, type ConfirmAcssDebitSetupData, type ConfirmAcssDebitSetupOptions, type ConfirmAffirmPaymentData, type ConfirmAffirmPaymentOptions, type ConfirmAfterpayClearpayPaymentData, type ConfirmAfterpayClearpayPaymentOptions, type ConfirmAlipayPaymentData, type ConfirmAlipayPaymentOptions, type ConfirmAuBecsDebitPaymentData, type ConfirmAuBecsDebitSetupData, type ConfirmBacsDebitSetupData, type ConfirmBancontactPaymentData, type ConfirmBancontactPaymentOptions, type ConfirmBancontactSetupData, type ConfirmBlikPaymentData, type ConfirmBlikPaymentOptions, type ConfirmBoletoPaymentData, type ConfirmBoletoPaymentOptions, type ConfirmCardPaymentData, type ConfirmCardPaymentOptions, type ConfirmCardSetupData, type ConfirmCardSetupOptions, type ConfirmCashappPaymentData, type ConfirmCashappPaymentOptions, type ConfirmCashappSetupData, type ConfirmCashappSetupOptions, type ConfirmCustomerBalancePaymentData, type ConfirmCustomerBalancePaymentOptions, type ConfirmEpsPaymentData, type ConfirmEpsPaymentOptions, type ConfirmFpxPaymentData, type ConfirmFpxPaymentOptions, type ConfirmGiropayPaymentData, type ConfirmGiropayPaymentOptions, type ConfirmGrabPayPaymentData, type ConfirmGrabPayPaymentOptions, type ConfirmIdealPaymentData, type ConfirmIdealPaymentOptions, type ConfirmIdealSetupData, type ConfirmKlarnaPaymentData, type ConfirmKlarnaPaymentOptions, type ConfirmKonbiniPaymentData, type ConfirmKonbiniPaymentOptions, type ConfirmOxxoPaymentData, type ConfirmOxxoPaymentOptions, type ConfirmP24PaymentData, type ConfirmP24PaymentOptions, type ConfirmPayNowPaymentData, type ConfirmPayNowPaymentOptions, type ConfirmPayPalPaymentData, type ConfirmPayPalSetupData, type ConfirmPaymentData, type ConfirmPixPaymentData, type ConfirmPixPaymentOptions, type ConfirmPromptPayPaymentData, type ConfirmPromptPayPaymentOptions, type ConfirmSepaDebitPaymentData, type ConfirmSepaDebitSetupData, type ConfirmSofortPaymentData, type ConfirmSofortPaymentOptions, type ConfirmSofortSetupData, type ConfirmSofortSetupOptions, type ConfirmUsBankAccountPaymentData, type ConfirmUsBankAccountSetupData, type ConfirmWechatPayPaymentData, type ConfirmWechatPayPaymentOptions, type ContactOption, type CreatePaymentMethodAcssDebitData, type CreatePaymentMethodAffirmData, type CreatePaymentMethodAfterpayClearpayData, type CreatePaymentMethodAlipayData, type CreatePaymentMethodAuBecsDebitData, type CreatePaymentMethodBacsDebitData, type CreatePaymentMethodBancontactData, type CreatePaymentMethodBlikData, type CreatePaymentMethodBoletoData, type CreatePaymentMethodCardData, type CreatePaymentMethodCashappData, type CreatePaymentMethodCustomerBalanceData, type CreatePaymentMethodData, type CreatePaymentMethodEpsData, type CreatePaymentMethodFpxData, type CreatePaymentMethodFromElement, type CreatePaymentMethodFromElements, type CreatePaymentMethodGiropayData, type CreatePaymentMethodGrabPayData, type CreatePaymentMethodIdealData, type CreatePaymentMethodKlarnaData, type CreatePaymentMethodKonbiniData, type CreatePaymentMethodOxxoData, type CreatePaymentMethodP24Data, type CreatePaymentMethodPayNowData, type CreatePaymentMethodPayPalData, type CreatePaymentMethodPixData, type CreatePaymentMethodPromptPayData, type CreatePaymentMethodSepaDebitData, type CreatePaymentMethodSofortData, type CreatePaymentMethodUsBankAccountData, type CreatePaymentMethodWechatPayData, CreateSourceData, type CreateTokenBankAccountData, type CreateTokenCardData, type CreateTokenIbanData, type CreateTokenPiiData, type CssFontSource, type CustomFontSource, type CustomerOptions, type DefaultValuesOption, type DeliveryEstimate, type DeliveryUnit, type EphemeralKeyNonceOptions, type EphemeralKeyNonceResult, type ExpressCheckoutAddress, type ExpressCheckoutPartialAddress, type ExpressCheckoutWalletOption, type ExpressCheckoutWalletsOption, type ExpressPaymentType, type FieldOption, type FieldsOption, FinancialConnectionsSession, type FinancialConnectionsSessionResult, type GooglePayButtonTheme, type GooglePayButtonType, type JapanAddressParam, type Layout, type LayoutObject, type LayoutOption, type LineItem, type Metadata, type MetadataParam, Order, PaymentIntent, PaymentIntentConfirmParams, type PaymentIntentOrSetupIntentResult, type PaymentIntentResult, PaymentMethod, PaymentMethodCreateParams, type PaymentMethodResult, type PaymentRequest, type PaymentRequestCompleteStatus, type PaymentRequestEvent, type PaymentRequestItem, type PaymentRequestOptions, type PaymentRequestPaymentMethodEvent, type PaymentRequestShippingAddress, type PaymentRequestShippingAddressEvent, type PaymentRequestShippingOption, type PaymentRequestShippingOptionEvent, type PaymentRequestSourceEvent, type PaymentRequestTokenEvent, type PaymentRequestUpdateDetails, type PaymentRequestUpdateDetailsStatus, type PaymentRequestUpdateOptions, type PaymentRequestWallet, type PaymentWalletOption, type PaymentWalletsOption, type ProcessOrderParams, type ProcessOrderResult, type RadarSessionPayload, type RedirectToCheckoutClientOptions, type RedirectToCheckoutOptions, type RedirectToCheckoutServerOptions, type RetrieveOrderResult, type RetrieveSourceParam, SetupIntent, type SetupIntentConfirmParams, type SetupIntentResult, type ShippingAddress, type ShippingRate, Source, SourceCreateParams, type SourceResult, type Stripe, type StripeAddressElement, type StripeAddressElementChangeEvent, type StripeAddressElementOptions, type StripeAffirmMessageElement, type StripeAffirmMessageElementOptions, type StripeAfterpayClearpayMessageElement, type StripeAfterpayClearpayMessageElementOptions, type StripeAuBankAccountElement, type StripeAuBankAccountElementChangeEvent, type StripeAuBankAccountElementOptions, type StripeCardCvcElement, type StripeCardCvcElementChangeEvent, type StripeCardCvcElementOptions, type StripeCardElement, type StripeCardElementChangeEvent, type StripeCardElementOptions, type StripeCardElementUpdateOptions, type StripeCardExpiryElement, type StripeCardExpiryElementChangeEvent, type StripeCardExpiryElementOptions, type StripeCardNumberElement, type StripeCardNumberElementChangeEvent, type StripeCardNumberElementOptions, type StripeCardNumberElementUpdateOptions, type StripeCartElement, type StripeCartElementLineItemClickEvent, type StripeCartElementOptions, type StripeCartElementPayloadEvent, type StripeCartElementUpdateOptions, type StripeConstructor, type StripeConstructorOptions, type StripeCustomCheckout, type StripeCustomCheckoutAddress, type StripeCustomCheckoutAddressElementOptions, type StripeCustomCheckoutAdjustableQuantity, type StripeCustomCheckoutBillingInterval, type StripeCustomCheckoutConfirmationRequirement, type StripeCustomCheckoutContact, type StripeCustomCheckoutDeliveryEstimate, type StripeCustomCheckoutDiscountAmount, type StripeCustomCheckoutDueNext, type StripeCustomCheckoutElementsOptions, type StripeCustomCheckoutEstimate, type StripeCustomCheckoutExpressCheckoutElement, type StripeCustomCheckoutExpressCheckoutElementConfirmEvent, type StripeCustomCheckoutExpressCheckoutElementOptions, type StripeCustomCheckoutLastPaymentError, type StripeCustomCheckoutLineItem, type StripeCustomCheckoutOptions, type StripeCustomCheckoutPaymentElementOptions, type StripeCustomCheckoutRecurring, type StripeCustomCheckoutResult, type StripeCustomCheckoutSession, type StripeCustomCheckoutShipping, type StripeCustomCheckoutShippingOption, type StripeCustomCheckoutStatus, type StripeCustomCheckoutTaxAmount, type StripeCustomCheckoutTaxStatus, type StripeCustomCheckoutTotalSummary, type StripeCustomCheckoutTrial, type StripeCustomCheckoutUpdateHandler, type StripeElement, type StripeElementBase, type StripeElementCSSProperties, type StripeElementChangeEvent, type StripeElementClasses, type StripeElementLocale, type StripeElementStyle, type StripeElementStyleVariant, type StripeElementType, type StripeElements, type StripeElementsOptions, type StripeElementsOptionsClientSecret, type StripeElementsOptionsMode, type StripeElementsUpdateOptions, type StripeEmbeddedCheckout, type StripeEmbeddedCheckoutOptions, type StripeEpsBankElement, type StripeEpsBankElementChangeEvent, type StripeEpsBankElementOptions, type StripeError, type StripeErrorType, type StripeExpressCheckoutElement, type StripeExpressCheckoutElementClickEvent, type StripeExpressCheckoutElementConfirmEvent, type StripeExpressCheckoutElementOptions, type StripeExpressCheckoutElementReadyEvent, type StripeExpressCheckoutElementShippingAddressChangeEvent, type StripeExpressCheckoutElementShippingRateChangeEvent, type StripeExpressCheckoutElementUpdateOptions, type StripeFpxBankElement, type StripeFpxBankElementChangeEvent, type StripeFpxBankElementOptions, type StripeIbanElement, type StripeIbanElementChangeEvent, type StripeIbanElementOptions, type StripeIdealBankElement, type StripeIdealBankElementChangeEvent, type StripeIdealBankElementOptions, type StripeIssuingCardCopyButtonElement, type StripeIssuingCardCopyButtonElementOptions, type StripeIssuingCardCvcDisplayElement, type StripeIssuingCardCvcDisplayElementOptions, type StripeIssuingCardExpiryDisplayElement, type StripeIssuingCardExpiryDisplayElementOptions, type StripeIssuingCardNumberDisplayElement, type StripeIssuingCardNumberDisplayElementOptions, type StripeIssuingCardPinDisplayElement, type StripeIssuingCardPinDisplayElementOptions, type StripeLinkAuthenticationElement, type StripeLinkAuthenticationElementChangeEvent, type StripeLinkAuthenticationElementOptions, type StripeP24BankElement, type StripeP24BankElementChangeEvent, type StripeP24BankElementOptions, type StripePaymentElement, type StripePaymentElementChangeEvent, type StripePaymentElementOptions, type StripePaymentMethodMessagingElement, type StripePaymentMethodMessagingElementOptions, type StripePaymentRequestButtonElement, type StripePaymentRequestButtonElementClickEvent, type StripePaymentRequestButtonElementOptions, type StripeShippingAddressElement, type StripeShippingAddressElementChangeEvent, type StripeShippingAddressElementOptions, type TermOption, type TermsOption, type Token, TokenCreateParams, type TokenResult, type VerificationSession, type VerificationSessionResult, type VerifyMicrodepositsForPaymentData, type VerifyMicrodepositsForSetupData, type WrapperLibrary, loadStripe };
|