@stripe/stripe-js 3.0.5 → 3.0.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.
- package/dist/index.d.mts +290 -124
- package/dist/index.d.ts +290 -124
- package/dist/stripe.js +1 -1
- package/dist/stripe.mjs +1 -1
- package/package.json +1 -1
- package/pure/index.d.mts +289 -123
- package/pure/index.d.ts +289 -123
- package/pure/index.js +1 -1
- package/pure/index.mjs +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1769,6 +1769,17 @@ interface ConfirmCashappSetupData extends SetupIntentConfirmParams {
|
|
|
1769
1769
|
return_url?: string;
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
|
+
/**
|
|
1773
|
+
* An options object to control the behavior of `stripe.confirmCashappSetup`.
|
|
1774
|
+
*/
|
|
1775
|
+
interface ConfirmCashappSetupOptions {
|
|
1776
|
+
/*
|
|
1777
|
+
* Set this to `false` if you want to [manually handle the authorization QR code or redirect](https://stripe.com/docs/payments/cash-app-pay/set-up-payment?platform=web&ui=API#web-create-setup-intent).
|
|
1778
|
+
* Default is `true`.
|
|
1779
|
+
*/
|
|
1780
|
+
handleActions?: boolean;
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1772
1783
|
/**
|
|
1773
1784
|
* Data to be sent with a `stripe.confirmIdealSetup` request.
|
|
1774
1785
|
* Refer to the [Setup Intents API](https://stripe.com/docs/api/setup_intents/confirm) for a full list of parameters.
|
|
@@ -1950,26 +1961,6 @@ interface CollectBankAccountForSetupOptions {
|
|
|
1950
1961
|
expand?: Array<string>;
|
|
1951
1962
|
}
|
|
1952
1963
|
|
|
1953
|
-
type setupIntents_ConfirmCardSetupData = ConfirmCardSetupData;
|
|
1954
|
-
type setupIntents_ConfirmCardSetupOptions = ConfirmCardSetupOptions;
|
|
1955
|
-
type setupIntents_ConfirmCashappSetupData = ConfirmCashappSetupData;
|
|
1956
|
-
type setupIntents_ConfirmIdealSetupData = ConfirmIdealSetupData;
|
|
1957
|
-
type setupIntents_ConfirmPayPalSetupData = ConfirmPayPalSetupData;
|
|
1958
|
-
type setupIntents_ConfirmSepaDebitSetupData = ConfirmSepaDebitSetupData;
|
|
1959
|
-
type setupIntents_ConfirmSofortSetupData = ConfirmSofortSetupData;
|
|
1960
|
-
type setupIntents_ConfirmSofortSetupOptions = ConfirmSofortSetupOptions;
|
|
1961
|
-
type setupIntents_ConfirmAuBecsDebitSetupData = ConfirmAuBecsDebitSetupData;
|
|
1962
|
-
type setupIntents_ConfirmBacsDebitSetupData = ConfirmBacsDebitSetupData;
|
|
1963
|
-
type setupIntents_ConfirmBancontactSetupData = ConfirmBancontactSetupData;
|
|
1964
|
-
type setupIntents_ConfirmAcssDebitSetupData = ConfirmAcssDebitSetupData;
|
|
1965
|
-
type setupIntents_ConfirmAcssDebitSetupOptions = ConfirmAcssDebitSetupOptions;
|
|
1966
|
-
type setupIntents_VerifyMicrodepositsForSetupData = VerifyMicrodepositsForSetupData;
|
|
1967
|
-
type setupIntents_ConfirmUsBankAccountSetupData = ConfirmUsBankAccountSetupData;
|
|
1968
|
-
type setupIntents_CollectBankAccountForSetupOptions = CollectBankAccountForSetupOptions;
|
|
1969
|
-
declare namespace setupIntents {
|
|
1970
|
-
export type { setupIntents_ConfirmCardSetupData as ConfirmCardSetupData, setupIntents_ConfirmCardSetupOptions as ConfirmCardSetupOptions, setupIntents_ConfirmCashappSetupData as ConfirmCashappSetupData, setupIntents_ConfirmIdealSetupData as ConfirmIdealSetupData, setupIntents_ConfirmPayPalSetupData as ConfirmPayPalSetupData, setupIntents_ConfirmSepaDebitSetupData as ConfirmSepaDebitSetupData, setupIntents_ConfirmSofortSetupData as ConfirmSofortSetupData, setupIntents_ConfirmSofortSetupOptions as ConfirmSofortSetupOptions, setupIntents_ConfirmAuBecsDebitSetupData as ConfirmAuBecsDebitSetupData, setupIntents_ConfirmBacsDebitSetupData as ConfirmBacsDebitSetupData, setupIntents_ConfirmBancontactSetupData as ConfirmBancontactSetupData, setupIntents_ConfirmAcssDebitSetupData as ConfirmAcssDebitSetupData, setupIntents_ConfirmAcssDebitSetupOptions as ConfirmAcssDebitSetupOptions, setupIntents_VerifyMicrodepositsForSetupData as VerifyMicrodepositsForSetupData, setupIntents_ConfirmUsBankAccountSetupData as ConfirmUsBankAccountSetupData, setupIntents_CollectBankAccountForSetupOptions as CollectBankAccountForSetupOptions };
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
1964
|
/**
|
|
1974
1965
|
* Parameters that will be passed on to the Stripe API to confirm payment for an Order's PaymentIntent.
|
|
1975
1966
|
*/
|
|
@@ -3665,7 +3656,7 @@ interface Stripe {
|
|
|
3665
3656
|
confirmCashappSetup(
|
|
3666
3657
|
clientSecret: string,
|
|
3667
3658
|
data?: ConfirmCashappSetupData,
|
|
3668
|
-
options?:
|
|
3659
|
+
options?: ConfirmCashappSetupOptions
|
|
3669
3660
|
): Promise<SetupIntentResult>;
|
|
3670
3661
|
|
|
3671
3662
|
/**
|
|
@@ -9214,9 +9205,6 @@ interface StripePaymentElementChangeEvent {
|
|
|
9214
9205
|
* Contact [Stripe support](https://support.stripe.com/) for more information.
|
|
9215
9206
|
*/
|
|
9216
9207
|
|
|
9217
|
-
/**
|
|
9218
|
-
* StripeCustomCheckoutInitOptions
|
|
9219
|
-
*/
|
|
9220
9208
|
interface StripeCustomCheckoutElementsOptions {
|
|
9221
9209
|
appearance?: Appearance;
|
|
9222
9210
|
loader?: 'auto' | 'always' | 'never';
|
|
@@ -9228,10 +9216,7 @@ interface StripeCustomCheckoutOptions {
|
|
|
9228
9216
|
elementsOptions?: StripeCustomCheckoutElementsOptions;
|
|
9229
9217
|
}
|
|
9230
9218
|
|
|
9231
|
-
|
|
9232
|
-
* StripeCustomCheckoutActions
|
|
9233
|
-
*/
|
|
9234
|
-
|
|
9219
|
+
/* Custom Checkout types */
|
|
9235
9220
|
type StripeCustomCheckoutAddress = {
|
|
9236
9221
|
country: string;
|
|
9237
9222
|
line1?: string | null;
|
|
@@ -9241,72 +9226,50 @@ type StripeCustomCheckoutAddress = {
|
|
|
9241
9226
|
state?: string | null;
|
|
9242
9227
|
};
|
|
9243
9228
|
|
|
9244
|
-
type
|
|
9245
|
-
|
|
9246
|
-
|
|
9229
|
+
type StripeCustomCheckoutAdjustableQuantity = {
|
|
9230
|
+
maximum: number;
|
|
9231
|
+
minimum: number;
|
|
9247
9232
|
};
|
|
9248
9233
|
|
|
9249
|
-
type
|
|
9250
|
-
|
|
|
9251
|
-
|
|
|
9234
|
+
type StripeCustomCheckoutBillingInterval =
|
|
9235
|
+
| 'day'
|
|
9236
|
+
| 'month'
|
|
9237
|
+
| 'week'
|
|
9238
|
+
| 'year';
|
|
9252
9239
|
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
shippingAddress: StripeCustomCheckoutContact | null
|
|
9260
|
-
) => Promise<StripeCustomCheckoutResult>;
|
|
9261
|
-
updateBillingAddress: (
|
|
9262
|
-
billingAddress: StripeCustomCheckoutContact | null
|
|
9263
|
-
) => Promise<StripeCustomCheckoutResult>;
|
|
9264
|
-
updatePhoneNumber: (phoneNumber: string) => void;
|
|
9265
|
-
updateEmail: (email: string) => void;
|
|
9266
|
-
updateLineItemQuantity: (args: {
|
|
9267
|
-
lineItem: string;
|
|
9268
|
-
quantity: number;
|
|
9269
|
-
}) => Promise<StripeCustomCheckoutResult>;
|
|
9270
|
-
updateShippingOption: (
|
|
9271
|
-
shippingOption: string
|
|
9272
|
-
) => Promise<StripeCustomCheckoutResult>;
|
|
9273
|
-
confirm: (args?: {
|
|
9274
|
-
return_url?: string;
|
|
9275
|
-
}) => Promise<StripeCustomCheckoutResult>;
|
|
9276
|
-
}
|
|
9240
|
+
type StripeCustomCheckoutConfirmationRequirement =
|
|
9241
|
+
| 'phoneNumber'
|
|
9242
|
+
| 'shippingAddress'
|
|
9243
|
+
| 'billingAddress'
|
|
9244
|
+
| 'paymentDetails'
|
|
9245
|
+
| 'email';
|
|
9277
9246
|
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9247
|
+
type StripeCustomCheckoutContact = {
|
|
9248
|
+
name?: string | null;
|
|
9249
|
+
address: StripeCustomCheckoutAddress;
|
|
9250
|
+
};
|
|
9281
9251
|
|
|
9282
|
-
type
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
displayName: string;
|
|
9252
|
+
type StripeCustomCheckoutDeliveryEstimate = {
|
|
9253
|
+
maximum: StripeCustomCheckoutEstimate | null;
|
|
9254
|
+
minimum: StripeCustomCheckoutEstimate | null;
|
|
9286
9255
|
};
|
|
9287
9256
|
|
|
9288
9257
|
type StripeCustomCheckoutDiscountAmount = {
|
|
9289
9258
|
amount: number;
|
|
9290
9259
|
displayName: string;
|
|
9291
9260
|
promotionCode: string | null;
|
|
9261
|
+
recurring:
|
|
9262
|
+
| {type: 'forever'}
|
|
9263
|
+
| {type: 'repeating'; durationInMonths: number}
|
|
9264
|
+
| null;
|
|
9292
9265
|
};
|
|
9293
9266
|
|
|
9294
|
-
type
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
id: string;
|
|
9301
|
-
amount: number;
|
|
9302
|
-
currency: string;
|
|
9303
|
-
displayName: string | null;
|
|
9304
|
-
deliveryEstimate: StripeCustomCheckoutDeliveryEstimate | null;
|
|
9305
|
-
};
|
|
9306
|
-
|
|
9307
|
-
type StripeCustomCheckoutDeliveryEstimate = {
|
|
9308
|
-
maximum: StripeCustomCheckoutEstimate | null;
|
|
9309
|
-
minimum: StripeCustomCheckoutEstimate | null;
|
|
9267
|
+
type StripeCustomCheckoutDueNext = {
|
|
9268
|
+
amountSubtotal: number;
|
|
9269
|
+
amountDiscount: number;
|
|
9270
|
+
amountTaxInclusive: number;
|
|
9271
|
+
amountTaxExclusive: number;
|
|
9272
|
+
billingCycleAnchor: number | null;
|
|
9310
9273
|
};
|
|
9311
9274
|
|
|
9312
9275
|
type StripeCustomCheckoutEstimate = {
|
|
@@ -9314,16 +9277,23 @@ type StripeCustomCheckoutEstimate = {
|
|
|
9314
9277
|
value: number;
|
|
9315
9278
|
};
|
|
9316
9279
|
|
|
9317
|
-
type
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9280
|
+
type StripeCustomCheckoutLastPaymentError = {
|
|
9281
|
+
message: string;
|
|
9282
|
+
};
|
|
9283
|
+
|
|
9284
|
+
type StripeCustomCheckoutTaxAmount = {
|
|
9285
|
+
amount: number;
|
|
9286
|
+
inclusive: boolean;
|
|
9287
|
+
displayName: string;
|
|
9288
|
+
};
|
|
9322
9289
|
|
|
9323
9290
|
type StripeCustomCheckoutLineItem = {
|
|
9324
9291
|
id: string;
|
|
9325
9292
|
name: string;
|
|
9326
|
-
|
|
9293
|
+
amountDiscount: number;
|
|
9294
|
+
amountSubtotal: number;
|
|
9295
|
+
amountTaxExclusive: number;
|
|
9296
|
+
amountTaxInclusive: number;
|
|
9327
9297
|
unitAmount: number;
|
|
9328
9298
|
description: string | null;
|
|
9329
9299
|
quantity: number;
|
|
@@ -9331,45 +9301,87 @@ type StripeCustomCheckoutLineItem = {
|
|
|
9331
9301
|
taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
|
|
9332
9302
|
recurring: {
|
|
9333
9303
|
interval: StripeCustomCheckoutBillingInterval;
|
|
9334
|
-
|
|
9304
|
+
intervalCount: number;
|
|
9305
|
+
isProrated: boolean;
|
|
9306
|
+
usageType: 'metered' | 'licensed';
|
|
9335
9307
|
} | null;
|
|
9308
|
+
adjustableQuantity: StripeCustomCheckoutAdjustableQuantity | null;
|
|
9309
|
+
};
|
|
9310
|
+
|
|
9311
|
+
type StripeCustomCheckoutRecurring = {
|
|
9312
|
+
interval: StripeCustomCheckoutBillingInterval;
|
|
9313
|
+
intervalCount: number;
|
|
9314
|
+
dueNext: StripeCustomCheckoutDueNext;
|
|
9315
|
+
trial: StripeCustomCheckoutTrial | null;
|
|
9316
|
+
};
|
|
9317
|
+
|
|
9318
|
+
type StripeCustomCheckoutShipping = {
|
|
9319
|
+
shippingOption: StripeCustomCheckoutShippingOption;
|
|
9320
|
+
taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
|
|
9336
9321
|
};
|
|
9337
9322
|
|
|
9323
|
+
type StripeCustomCheckoutShippingOption = {
|
|
9324
|
+
id: string;
|
|
9325
|
+
amount: number;
|
|
9326
|
+
currency: string;
|
|
9327
|
+
displayName: string | null;
|
|
9328
|
+
deliveryEstimate: StripeCustomCheckoutDeliveryEstimate | null;
|
|
9329
|
+
};
|
|
9330
|
+
|
|
9331
|
+
type StripeCustomCheckoutStatus =
|
|
9332
|
+
| {type: 'open'}
|
|
9333
|
+
| {type: 'expired'}
|
|
9334
|
+
| {
|
|
9335
|
+
type: 'complete';
|
|
9336
|
+
paymentStatus: 'paid' | 'unpaid' | 'no_payment_required';
|
|
9337
|
+
};
|
|
9338
|
+
|
|
9339
|
+
type StripeCustomCheckoutTaxStatus =
|
|
9340
|
+
| {status: 'ready'}
|
|
9341
|
+
| {status: 'requires_shipping_address'}
|
|
9342
|
+
| {status: 'requires_billing_address'};
|
|
9343
|
+
|
|
9338
9344
|
type StripeCustomCheckoutTotalSummary = {
|
|
9345
|
+
appliedBalance: number;
|
|
9346
|
+
balanceAppliedToNextInvoice: boolean;
|
|
9347
|
+
discount: number;
|
|
9348
|
+
shippingRate: number;
|
|
9339
9349
|
subtotal: number;
|
|
9340
9350
|
taxExclusive: number;
|
|
9341
9351
|
taxInclusive: number;
|
|
9342
|
-
shippingRate: number;
|
|
9343
|
-
discount: number;
|
|
9344
9352
|
total: number;
|
|
9345
9353
|
};
|
|
9346
9354
|
|
|
9347
|
-
type
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
| 'paymentDetails'
|
|
9352
|
-
| 'email';
|
|
9355
|
+
type StripeCustomCheckoutTrial = {
|
|
9356
|
+
trialEnd: number;
|
|
9357
|
+
trialPeriodDays: number;
|
|
9358
|
+
};
|
|
9353
9359
|
|
|
9360
|
+
/* Custom Checkout session */
|
|
9354
9361
|
interface StripeCustomCheckoutSession {
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9362
|
+
billingAddress: StripeCustomCheckoutContact | null;
|
|
9363
|
+
canConfirm: boolean;
|
|
9364
|
+
confirmationRequirements: StripeCustomCheckoutConfirmationRequirement[];
|
|
9358
9365
|
currency: string;
|
|
9366
|
+
discountAmounts: Array<StripeCustomCheckoutDiscountAmount> | null;
|
|
9367
|
+
email: string | null;
|
|
9368
|
+
lastPaymentError: StripeCustomCheckoutLastPaymentError | null;
|
|
9369
|
+
lineItems: Array<StripeCustomCheckoutLineItem>;
|
|
9370
|
+
phoneNumber: string | null;
|
|
9371
|
+
recurring: StripeCustomCheckoutRecurring | null;
|
|
9359
9372
|
shipping: StripeCustomCheckoutShipping | null;
|
|
9360
|
-
shippingOptions: Array<StripeCustomCheckoutShippingOption>;
|
|
9361
9373
|
shippingAddress: StripeCustomCheckoutContact | null;
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9374
|
+
shippingOptions: Array<StripeCustomCheckoutShippingOption>;
|
|
9375
|
+
status: StripeCustomCheckoutStatus;
|
|
9376
|
+
tax: StripeCustomCheckoutTaxStatus;
|
|
9377
|
+
taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
|
|
9365
9378
|
total: StripeCustomCheckoutTotalSummary;
|
|
9366
|
-
confirmationRequirements: StripeCustomCheckoutConfirmationRequirement[];
|
|
9367
|
-
canConfirm: boolean;
|
|
9368
9379
|
}
|
|
9369
9380
|
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9381
|
+
type StripeCustomCheckoutResult =
|
|
9382
|
+
| {session: StripeCustomCheckoutSession; error?: undefined}
|
|
9383
|
+
| {session?: undefined; error: StripeError};
|
|
9384
|
+
|
|
9373
9385
|
type StripeCustomCheckoutPaymentElementOptions = {
|
|
9374
9386
|
layout?: Layout | LayoutObject;
|
|
9375
9387
|
paymentMethodOrder?: Array<string>;
|
|
@@ -9385,13 +9397,177 @@ type StripeCustomCheckoutAddressElementOptions = {
|
|
|
9385
9397
|
};
|
|
9386
9398
|
};
|
|
9387
9399
|
|
|
9388
|
-
|
|
9400
|
+
type StripeCustomCheckoutExpressCheckoutElementOptions = {
|
|
9401
|
+
buttonHeight: StripeExpressCheckoutElementOptions['buttonHeight'];
|
|
9402
|
+
buttonTheme: StripeExpressCheckoutElementOptions['buttonTheme'];
|
|
9403
|
+
buttonType: StripeExpressCheckoutElementOptions['buttonType'];
|
|
9404
|
+
layout: StripeExpressCheckoutElementOptions['layout'];
|
|
9405
|
+
};
|
|
9406
|
+
|
|
9407
|
+
type StripeCustomCheckoutUpdateHandler = (
|
|
9408
|
+
session: StripeCustomCheckoutSession
|
|
9409
|
+
) => void;
|
|
9410
|
+
|
|
9411
|
+
type StripeCustomCheckoutExpressCheckoutElementConfirmEvent = StripeExpressCheckoutElementConfirmEvent & {
|
|
9412
|
+
confirm: () => Promise<StripeCustomCheckoutResult>;
|
|
9413
|
+
};
|
|
9414
|
+
|
|
9415
|
+
type StripeCustomCheckoutExpressCheckoutElement = StripeElementBase & {
|
|
9416
|
+
/**
|
|
9417
|
+
* Triggered when the element is fully rendered.
|
|
9418
|
+
*/
|
|
9419
|
+
on(
|
|
9420
|
+
eventType: 'ready',
|
|
9421
|
+
handler: (event: StripeExpressCheckoutElementReadyEvent) => any
|
|
9422
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9423
|
+
once(
|
|
9424
|
+
eventType: 'ready',
|
|
9425
|
+
handler: (event: StripeExpressCheckoutElementReadyEvent) => any
|
|
9426
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9427
|
+
off(
|
|
9428
|
+
eventType: 'ready',
|
|
9429
|
+
handler?: (event: StripeExpressCheckoutElementReadyEvent) => any
|
|
9430
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9431
|
+
|
|
9432
|
+
/**
|
|
9433
|
+
* Triggered when the element gains focus.
|
|
9434
|
+
*/
|
|
9435
|
+
on(
|
|
9436
|
+
eventType: 'focus',
|
|
9437
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9438
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9439
|
+
once(
|
|
9440
|
+
eventType: 'focus',
|
|
9441
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9442
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9443
|
+
off(
|
|
9444
|
+
eventType: 'focus',
|
|
9445
|
+
handler?: (event: {elementType: 'expressCheckout'}) => any
|
|
9446
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9447
|
+
|
|
9448
|
+
/**
|
|
9449
|
+
* Triggered when the element loses focus.
|
|
9450
|
+
*/
|
|
9451
|
+
on(
|
|
9452
|
+
eventType: 'blur',
|
|
9453
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9454
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9455
|
+
once(
|
|
9456
|
+
eventType: 'blur',
|
|
9457
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9458
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9459
|
+
off(
|
|
9460
|
+
eventType: 'blur',
|
|
9461
|
+
handler?: (event: {elementType: 'expressCheckout'}) => any
|
|
9462
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9463
|
+
|
|
9464
|
+
/**
|
|
9465
|
+
* Triggered when the escape key is pressed within the element.
|
|
9466
|
+
*/
|
|
9467
|
+
on(
|
|
9468
|
+
eventType: 'escape',
|
|
9469
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9470
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9471
|
+
once(
|
|
9472
|
+
eventType: 'escape',
|
|
9473
|
+
handler: (event: {elementType: 'expressCheckout'}) => any
|
|
9474
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9475
|
+
off(
|
|
9476
|
+
eventType: 'escape',
|
|
9477
|
+
handler?: (event: {elementType: 'expressCheckout'}) => any
|
|
9478
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9479
|
+
|
|
9480
|
+
/**
|
|
9481
|
+
* Triggered when the element fails to load.
|
|
9482
|
+
*/
|
|
9483
|
+
on(
|
|
9484
|
+
eventType: 'loaderror',
|
|
9485
|
+
handler: (event: {
|
|
9486
|
+
elementType: 'expressCheckout';
|
|
9487
|
+
error: StripeError;
|
|
9488
|
+
}) => any
|
|
9489
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9490
|
+
once(
|
|
9491
|
+
eventType: 'loaderror',
|
|
9492
|
+
handler: (event: {
|
|
9493
|
+
elementType: 'expressCheckout';
|
|
9494
|
+
error: StripeError;
|
|
9495
|
+
}) => any
|
|
9496
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9497
|
+
off(
|
|
9498
|
+
eventType: 'loaderror',
|
|
9499
|
+
handler?: (event: {
|
|
9500
|
+
elementType: 'expressCheckout';
|
|
9501
|
+
error: StripeError;
|
|
9502
|
+
}) => any
|
|
9503
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9504
|
+
|
|
9505
|
+
/**
|
|
9506
|
+
* Triggered when a buyer authorizes a payment within a supported payment method.
|
|
9507
|
+
*/
|
|
9508
|
+
on(
|
|
9509
|
+
eventType: 'confirm',
|
|
9510
|
+
handler: (
|
|
9511
|
+
event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
|
|
9512
|
+
) => any
|
|
9513
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9514
|
+
once(
|
|
9515
|
+
eventType: 'confirm',
|
|
9516
|
+
handler: (
|
|
9517
|
+
event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
|
|
9518
|
+
) => any
|
|
9519
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9520
|
+
off(
|
|
9521
|
+
eventType: 'confirm',
|
|
9522
|
+
handler?: (
|
|
9523
|
+
event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
|
|
9524
|
+
) => any
|
|
9525
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9526
|
+
|
|
9527
|
+
/**
|
|
9528
|
+
* Updates the options the `ExpressCheckoutElement` was initialized with.
|
|
9529
|
+
* Updates are merged into the existing configuration.
|
|
9530
|
+
*/
|
|
9531
|
+
update: StripeExpressCheckoutElement['update'];
|
|
9532
|
+
};
|
|
9533
|
+
|
|
9534
|
+
interface StripeCustomCheckout {
|
|
9535
|
+
/* Custom Checkout methods */
|
|
9536
|
+
applyPromotionCode: (
|
|
9537
|
+
promotionCode: string
|
|
9538
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9539
|
+
removePromotionCode: () => Promise<StripeCustomCheckoutResult>;
|
|
9540
|
+
updateShippingAddress: (
|
|
9541
|
+
shippingAddress: StripeCustomCheckoutContact | null
|
|
9542
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9543
|
+
updateBillingAddress: (
|
|
9544
|
+
billingAddress: StripeCustomCheckoutContact | null
|
|
9545
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9546
|
+
updatePhoneNumber: (phoneNumber: string) => void;
|
|
9547
|
+
updateEmail: (email: string) => void;
|
|
9548
|
+
updateLineItemQuantity: (args: {
|
|
9549
|
+
lineItem: string;
|
|
9550
|
+
quantity: number;
|
|
9551
|
+
}) => Promise<StripeCustomCheckoutResult>;
|
|
9552
|
+
updateShippingOption: (
|
|
9553
|
+
shippingOption: string
|
|
9554
|
+
) => Promise<StripeCustomCheckoutResult>;
|
|
9555
|
+
confirm: (args?: {
|
|
9556
|
+
return_url?: string;
|
|
9557
|
+
}) => Promise<StripeCustomCheckoutResult>;
|
|
9558
|
+
session: () => StripeCustomCheckoutSession;
|
|
9559
|
+
on: (event: 'change', handler: StripeCustomCheckoutUpdateHandler) => void;
|
|
9560
|
+
|
|
9561
|
+
/* Elements methods */
|
|
9389
9562
|
changeAppearance: (appearance: Appearance) => void;
|
|
9390
9563
|
getElement(elementType: 'payment'): StripePaymentElement | null;
|
|
9391
9564
|
getElement(
|
|
9392
9565
|
elementType: 'address',
|
|
9393
9566
|
mode: AddressMode
|
|
9394
9567
|
): StripeAddressElement | null;
|
|
9568
|
+
getElement(
|
|
9569
|
+
elementType: 'expressCheckout'
|
|
9570
|
+
): StripeCustomCheckoutExpressCheckoutElement | null;
|
|
9395
9571
|
createElement(
|
|
9396
9572
|
elementType: 'payment',
|
|
9397
9573
|
options?: StripeCustomCheckoutPaymentElementOptions
|
|
@@ -9400,20 +9576,10 @@ interface StripeCustomCheckoutElementsActions {
|
|
|
9400
9576
|
elementType: 'address',
|
|
9401
9577
|
options: StripeCustomCheckoutAddressElementOptions
|
|
9402
9578
|
): StripeAddressElement;
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
*/
|
|
9408
|
-
type StripeCustomCheckoutUpdateHandler = (
|
|
9409
|
-
session: StripeCustomCheckoutSession
|
|
9410
|
-
) => void;
|
|
9411
|
-
|
|
9412
|
-
interface StripeCustomCheckout
|
|
9413
|
-
extends StripeCustomCheckoutActions,
|
|
9414
|
-
StripeCustomCheckoutElementsActions {
|
|
9415
|
-
session: () => StripeCustomCheckoutSession;
|
|
9416
|
-
on: (event: 'change', handler: StripeCustomCheckoutUpdateHandler) => void;
|
|
9579
|
+
createElement(
|
|
9580
|
+
elementType: 'expressCheckout',
|
|
9581
|
+
options: StripeCustomCheckoutExpressCheckoutElementOptions
|
|
9582
|
+
): StripeCustomCheckoutExpressCheckoutElement;
|
|
9417
9583
|
}
|
|
9418
9584
|
|
|
9419
9585
|
/**
|
|
@@ -12623,4 +12789,4 @@ declare global {
|
|
|
12623
12789
|
}
|
|
12624
12790
|
}
|
|
12625
12791
|
|
|
12626
|
-
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 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 };
|
|
12792
|
+
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 };
|