@bigcommerce/checkout-sdk 1.271.2 → 1.271.3
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/CHANGELOG.md +2 -0
- package/dist/checkout-button.d.ts +671 -651
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +7275 -763
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/embedded-checkout.d.ts +242 -218
- package/dist/internal-mappers.d.ts +762 -763
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +756 -126
- package/docs/classes/CartChangedError.md +76 -0
- package/docs/classes/CheckoutButtonErrorSelector.md +52 -0
- package/docs/classes/CheckoutButtonInitializer.md +177 -0
- package/docs/classes/CheckoutButtonStatusSelector.md +52 -0
- package/docs/classes/CheckoutService.md +1645 -0
- package/docs/classes/CurrencyService.md +54 -0
- package/docs/classes/EmbeddedCheckout.md +40 -0
- package/docs/classes/LanguageService.md +101 -0
- package/docs/classes/RequestError.md +106 -0
- package/docs/classes/StandardError.md +71 -0
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +57 -0
- package/docs/enums/AmazonPayV2LedgerCurrency.md +36 -0
- package/docs/enums/AmazonPayV2PayOptions.md +26 -0
- package/docs/enums/AmazonPayV2Placement.md +53 -0
- package/docs/enums/BraintreeFormFieldType.md +50 -0
- package/docs/enums/ButtonColor.md +29 -0
- package/docs/enums/ButtonType.md +22 -0
- package/docs/enums/CheckoutButtonMethodType.md +141 -0
- package/docs/enums/CheckoutIncludes.md +29 -0
- package/docs/enums/EmbeddedCheckoutEventType.md +50 -0
- package/docs/enums/HostedFieldType.md +50 -0
- package/docs/enums/HostedInputEventType.md +85 -0
- package/docs/enums/IconStyle.md +22 -0
- package/docs/enums/PaypalButtonStyleColorOption.md +36 -0
- package/docs/enums/PaypalButtonStyleLabelOption.md +43 -0
- package/docs/enums/PaypalButtonStyleLayoutOption.md +22 -0
- package/docs/enums/PaypalButtonStyleShapeOption.md +22 -0
- package/docs/enums/PaypalButtonStyleSizeOption.md +36 -0
- package/docs/enums/PaypalCommerceFormFieldType.md +50 -0
- package/docs/enums/RadiusUnit.md +22 -0
- package/docs/enums/StyleButtonColor.md +43 -0
- package/docs/enums/StyleButtonLabel.md +43 -0
- package/docs/enums/StyleButtonLayout.md +22 -0
- package/docs/enums/StyleButtonShape.md +22 -0
- package/docs/interfaces/Address.md +164 -0
- package/docs/interfaces/AddressRequestBody.md +100 -0
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +68 -0
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +66 -0
- package/docs/interfaces/AdyenAdditionalActionOptions.md +106 -0
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +106 -0
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +33 -0
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +33 -0
- package/docs/interfaces/AdyenComponent.md +72 -0
- package/docs/interfaces/AdyenComponentEvents.md +74 -0
- package/docs/interfaces/AdyenComponentEvents_2.md +74 -0
- package/docs/interfaces/AdyenComponent_2.md +72 -0
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +185 -0
- package/docs/interfaces/AdyenIdealComponentOptions.md +17 -0
- package/docs/interfaces/AdyenPaymentMethodState.md +21 -0
- package/docs/interfaces/AdyenPaymentMethodState_2.md +15 -0
- package/docs/interfaces/AdyenPlaceholderData.md +33 -0
- package/docs/interfaces/AdyenPlaceholderData_2.md +33 -0
- package/docs/interfaces/AdyenThreeDS2Options.md +97 -0
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +161 -0
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +185 -0
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +135 -0
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +65 -0
- package/docs/interfaces/AmazonPayOrderReference.md +30 -0
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +100 -0
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +85 -0
- package/docs/interfaces/AmazonPayV2ButtonParams.md +71 -0
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +35 -0
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +24 -0
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +39 -0
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +26 -0
- package/docs/interfaces/AmazonPayWidgetError.md +25 -0
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +38 -0
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +77 -0
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/BankInstrument.md +112 -0
- package/docs/interfaces/Banner.md +22 -0
- package/docs/interfaces/BaseAccountInstrument.md +91 -0
- package/docs/interfaces/BaseElementOptions.md +17 -0
- package/docs/interfaces/BaseElementOptions_2.md +48 -0
- package/docs/interfaces/BaseIndividualElementOptions.md +67 -0
- package/docs/interfaces/BaseInstrument.md +58 -0
- package/docs/interfaces/BillingAddress.md +182 -0
- package/docs/interfaces/BillingAddressRequestBody.md +153 -0
- package/docs/interfaces/BlockElementStyles.md +105 -0
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +72 -0
- package/docs/interfaces/BlueSnapV2StyleProps.md +29 -0
- package/docs/interfaces/BodyStyles.md +15 -0
- package/docs/interfaces/BoltCustomerInitializeOptions.md +30 -0
- package/docs/interfaces/BoltPaymentInitializeOptions.md +94 -0
- package/docs/interfaces/BraintreeError.md +35 -0
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +15 -0
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +15 -0
- package/docs/interfaces/BraintreeFormFieldOptions.md +35 -0
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +29 -0
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +29 -0
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +33 -0
- package/docs/interfaces/BraintreeFormFieldsMap.md +36 -0
- package/docs/interfaces/BraintreeFormOptions.md +110 -0
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +101 -0
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +96 -0
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +87 -0
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +54 -0
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +22 -0
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +51 -0
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +27 -0
- package/docs/interfaces/BraintreeVerifyPayload.md +51 -0
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +35 -0
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +70 -0
- package/docs/interfaces/BrowserInfo.md +50 -0
- package/docs/interfaces/ButtonResponse.md +19 -0
- package/docs/interfaces/ButtonStyles.md +141 -0
- package/docs/interfaces/CardCvcElementOptions.md +72 -0
- package/docs/interfaces/CardDataPaymentMethodState.md +15 -0
- package/docs/interfaces/CardDataPaymentMethodState_2.md +15 -0
- package/docs/interfaces/CardElementOptions.md +91 -0
- package/docs/interfaces/CardExpiryElementOptions.md +72 -0
- package/docs/interfaces/CardInstrument.md +115 -0
- package/docs/interfaces/CardNumberElementOptions.md +88 -0
- package/docs/interfaces/CardPaymentMethodState.md +60 -0
- package/docs/interfaces/CardPaymentMethodState_2.md +43 -0
- package/docs/interfaces/CardState.md +40 -0
- package/docs/interfaces/CardStateErrors.md +7 -0
- package/docs/interfaces/CardStateErrors_2.md +7 -0
- package/docs/interfaces/CardState_2.md +40 -0
- package/docs/interfaces/Cart.md +99 -0
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +15 -0
- package/docs/interfaces/ChasePayInitializeOptions.md +98 -0
- package/docs/interfaces/CheckableInputStyles.md +175 -0
- package/docs/interfaces/ChecklistStyles.md +127 -0
- package/docs/interfaces/Checkout.md +195 -0
- package/docs/interfaces/CheckoutButtonInitializeOptions.md +244 -0
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +22 -0
- package/docs/interfaces/CheckoutButtonOptions.md +55 -0
- package/docs/interfaces/CheckoutButtonSelectors.md +22 -0
- package/docs/interfaces/CheckoutParams.md +15 -0
- package/docs/interfaces/CheckoutPayment.md +42 -0
- package/docs/interfaces/CheckoutRequestBody.md +15 -0
- package/docs/interfaces/CheckoutSelectors.md +29 -0
- package/docs/interfaces/CheckoutServiceOptions.md +36 -0
- package/docs/interfaces/CheckoutSettings.md +201 -0
- package/docs/interfaces/CheckoutStoreErrorSelector.md +636 -0
- package/docs/interfaces/CheckoutStoreSelector.md +501 -0
- package/docs/interfaces/CheckoutStoreStatusSelector.md +758 -0
- package/docs/interfaces/Consignment.md +71 -0
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +29 -0
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +29 -0
- package/docs/interfaces/ConsignmentCreateRequestBody.md +36 -0
- package/docs/interfaces/ConsignmentLineItem.md +22 -0
- package/docs/interfaces/ConsignmentPickupOption.md +15 -0
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +43 -0
- package/docs/interfaces/Coordinates.md +22 -0
- package/docs/interfaces/Country.md +43 -0
- package/docs/interfaces/Coupon.md +43 -0
- package/docs/interfaces/CreditCardInstrument.md +85 -0
- package/docs/interfaces/CreditCardPaymentInitializeOptions.md +91 -0
- package/docs/interfaces/CreditCardPlaceHolder.md +29 -0
- package/docs/interfaces/CreditCardPlaceHolder_2.md +29 -0
- package/docs/interfaces/CssProperties.md +211 -0
- package/docs/interfaces/CssProperties_2.md +211 -0
- package/docs/interfaces/Currency.md +36 -0
- package/docs/interfaces/CustomError.md +43 -0
- package/docs/interfaces/CustomItem.md +50 -0
- package/docs/interfaces/Customer.md +84 -0
- package/docs/interfaces/CustomerAccountRequestBody.md +50 -0
- package/docs/interfaces/CustomerAddress.md +182 -0
- package/docs/interfaces/CustomerCredentials.md +22 -0
- package/docs/interfaces/CustomerGroup.md +22 -0
- package/docs/interfaces/CustomerInitializeOptions.md +221 -0
- package/docs/interfaces/CustomerPasswordRequirements.md +36 -0
- package/docs/interfaces/CustomerRequestOptions.md +60 -0
- package/docs/interfaces/DigitalItem.md +310 -0
- package/docs/interfaces/DigitalRiverElementClasses.md +67 -0
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +146 -0
- package/docs/interfaces/Discount.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutError.md +29 -0
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +109 -0
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutOptions.md +134 -0
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutStyles.md +141 -0
- package/docs/interfaces/EmbeddedContentOptions.md +15 -0
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +76 -0
- package/docs/interfaces/FlashMessage.md +29 -0
- package/docs/interfaces/FormField.md +113 -0
- package/docs/interfaces/FormFieldItem.md +22 -0
- package/docs/interfaces/FormFieldOptions.md +29 -0
- package/docs/interfaces/FormFields.md +29 -0
- package/docs/interfaces/GatewayOrderPayment.md +108 -0
- package/docs/interfaces/GiftCertificate.md +43 -0
- package/docs/interfaces/GiftCertificateItem.md +78 -0
- package/docs/interfaces/GiftCertificateOrderPayment.md +94 -0
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +31 -0
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +42 -0
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +93 -0
- package/docs/interfaces/HostedCardFieldOptions.md +35 -0
- package/docs/interfaces/HostedCardFieldOptionsMap.md +36 -0
- package/docs/interfaces/HostedFieldStylesMap.md +29 -0
- package/docs/interfaces/HostedFormOptions.md +114 -0
- package/docs/interfaces/HostedInputBlurEvent.md +28 -0
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +28 -0
- package/docs/interfaces/HostedInputEnterEvent.md +28 -0
- package/docs/interfaces/HostedInputFocusEvent.md +28 -0
- package/docs/interfaces/HostedInputValidateErrorData.md +29 -0
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +50 -0
- package/docs/interfaces/HostedInputValidateEvent.md +22 -0
- package/docs/interfaces/HostedInputValidateResults.md +22 -0
- package/docs/interfaces/HostedInstrument.md +22 -0
- package/docs/interfaces/HostedStoredCardFieldOptions.md +54 -0
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +22 -0
- package/docs/interfaces/IbanElementOptions.md +82 -0
- package/docs/interfaces/IdealElementOptions.md +70 -0
- package/docs/interfaces/IndividualCardElementOptions.md +36 -0
- package/docs/interfaces/InitializationStrategy.md +21 -0
- package/docs/interfaces/InlineElementStyles.md +53 -0
- package/docs/interfaces/InputDetail.md +80 -0
- package/docs/interfaces/InputDetail_2.md +80 -0
- package/docs/interfaces/InputStyles.md +152 -0
- package/docs/interfaces/Item.md +22 -0
- package/docs/interfaces/Item_2.md +26 -0
- package/docs/interfaces/Item_3.md +26 -0
- package/docs/interfaces/KlarnaLoadResponse.md +28 -0
- package/docs/interfaces/KlarnaLoadResponse_2.md +28 -0
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +73 -0
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +73 -0
- package/docs/interfaces/LabelStyles.md +76 -0
- package/docs/interfaces/LanguageConfig.md +57 -0
- package/docs/interfaces/LineItem.md +191 -0
- package/docs/interfaces/LineItemCategory.md +15 -0
- package/docs/interfaces/LineItemMap.md +36 -0
- package/docs/interfaces/LineItemOption.md +36 -0
- package/docs/interfaces/LineItemSocialData.md +36 -0
- package/docs/interfaces/LinkStyles.md +90 -0
- package/docs/interfaces/LoadingIndicatorStyles.md +29 -0
- package/docs/interfaces/Locales.md +7 -0
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +35 -0
- package/docs/interfaces/MolliePaymentInitializeOptions.md +96 -0
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +57 -0
- package/docs/interfaces/MonerisStylingProps.md +80 -0
- package/docs/interfaces/NonceGenerationError.md +29 -0
- package/docs/interfaces/NonceInstrument.md +36 -0
- package/docs/interfaces/Option.md +22 -0
- package/docs/interfaces/OptionsResponse.md +77 -0
- package/docs/interfaces/OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/Order.md +190 -0
- package/docs/interfaces/OrderConsignment.md +15 -0
- package/docs/interfaces/OrderPayment.md +58 -0
- package/docs/interfaces/OrderPaymentRequestBody.md +39 -0
- package/docs/interfaces/OrderRequestBody.md +33 -0
- package/docs/interfaces/OrderShippingConsignment.md +218 -0
- package/docs/interfaces/PasswordRequirements.md +36 -0
- package/docs/interfaces/PayPalInstrument.md +91 -0
- package/docs/interfaces/PaymentInitializeOptions.md +406 -0
- package/docs/interfaces/PaymentMethod.md +98 -0
- package/docs/interfaces/PaymentMethodConfig.md +120 -0
- package/docs/interfaces/PaymentRequestOptions.md +67 -0
- package/docs/interfaces/PaymentSettings.md +22 -0
- package/docs/interfaces/PaypalButtonInitializeOptions.md +76 -0
- package/docs/interfaces/PaypalButtonStyleOptions.md +64 -0
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +50 -0
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +35 -0
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +26 -0
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +90 -0
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +15 -0
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +15 -0
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +28 -0
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +29 -0
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +29 -0
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +33 -0
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +36 -0
- package/docs/interfaces/PaypalCommerceFormOptions.md +148 -0
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +186 -0
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +43 -0
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +22 -0
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +26 -0
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +36 -0
- package/docs/interfaces/PaypalFieldsStyleOptions.md +46 -0
- package/docs/interfaces/PhysicalItem.md +311 -0
- package/docs/interfaces/PickupMethod.md +43 -0
- package/docs/interfaces/PickupOptionRequestBody.md +22 -0
- package/docs/interfaces/PickupOptionResult.md +15 -0
- package/docs/interfaces/Promotion.md +15 -0
- package/docs/interfaces/Radius.md +22 -0
- package/docs/interfaces/Region.md +22 -0
- package/docs/interfaces/RequestOptions.md +48 -0
- package/docs/interfaces/SearchArea.md +22 -0
- package/docs/interfaces/SepaPlaceHolder.md +22 -0
- package/docs/interfaces/SepaPlaceHolder_2.md +22 -0
- package/docs/interfaces/ShippingInitializeOptions.md +88 -0
- package/docs/interfaces/ShippingOption.md +64 -0
- package/docs/interfaces/ShippingRequestOptions.md +65 -0
- package/docs/interfaces/ShopperConfig.md +29 -0
- package/docs/interfaces/ShopperCurrency.md +94 -0
- package/docs/interfaces/SignInEmail.md +22 -0
- package/docs/interfaces/SignInEmailRequestBody.md +22 -0
- package/docs/interfaces/SpamProtectionOptions.md +25 -0
- package/docs/interfaces/SquareFormElement.md +28 -0
- package/docs/interfaces/SquarePaymentInitializeOptions.md +131 -0
- package/docs/interfaces/StepStyles.md +120 -0
- package/docs/interfaces/StepTracker.md +64 -0
- package/docs/interfaces/StepTrackerConfig.md +15 -0
- package/docs/interfaces/StoreConfig.md +109 -0
- package/docs/interfaces/StoreCurrency.md +56 -0
- package/docs/interfaces/StoreLinks.md +57 -0
- package/docs/interfaces/StoreProfile.md +71 -0
- package/docs/interfaces/StripeElementCSSProperties.md +170 -0
- package/docs/interfaces/StripeElementClasses.md +63 -0
- package/docs/interfaces/StripeElementStyle.md +44 -0
- package/docs/interfaces/StripeElementStyleVariant.md +285 -0
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +70 -0
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +76 -0
- package/docs/interfaces/StyleOptions.md +44 -0
- package/docs/interfaces/StyleOptions_2.md +44 -0
- package/docs/interfaces/SubInputDetail.md +62 -0
- package/docs/interfaces/SubInputDetail_2.md +62 -0
- package/docs/interfaces/Subscriptions.md +29 -0
- package/docs/interfaces/Tax.md +22 -0
- package/docs/interfaces/TextInputStyles.md +175 -0
- package/docs/interfaces/ThreeDSecure.md +50 -0
- package/docs/interfaces/ThreeDSecureToken.md +15 -0
- package/docs/interfaces/TranslationData.md +7 -0
- package/docs/interfaces/Translations.md +7 -0
- package/docs/interfaces/UnknownObject.md +7 -0
- package/docs/interfaces/VaultedInstrument.md +29 -0
- package/docs/interfaces/WechatDataPaymentMethodState.md +15 -0
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +15 -0
- package/docs/interfaces/WechatState.md +15 -0
- package/docs/interfaces/WechatState_2.md +15 -0
- package/docs/interfaces/WithAccountCreation.md +15 -0
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +22 -0
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +22 -0
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +15 -0
- package/docs/interfaces/WithDocumentInstrument.md +15 -0
- package/docs/interfaces/WithMollieIssuerInstrument.md +22 -0
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +30 -0
- package/docs/interfaces/ZipCodeElementOptions.md +15 -0
- package/package.json +2 -2
- package/docs/classes/CacheKeyResolver.md +0 -58
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / StripeElementCSSProperties
|
|
2
|
+
|
|
3
|
+
# Interface: StripeElementCSSProperties
|
|
4
|
+
|
|
5
|
+
CSS properties supported by Stripe.js.
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- **`StripeElementCSSProperties`**
|
|
10
|
+
|
|
11
|
+
↳ [`StripeElementStyleVariant`](StripeElementStyleVariant.md)
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [backgroundColor](StripeElementCSSProperties.md#backgroundcolor)
|
|
18
|
+
- [color](StripeElementCSSProperties.md#color)
|
|
19
|
+
- [fontFamily](StripeElementCSSProperties.md#fontfamily)
|
|
20
|
+
- [fontSize](StripeElementCSSProperties.md#fontsize)
|
|
21
|
+
- [fontSmoothing](StripeElementCSSProperties.md#fontsmoothing)
|
|
22
|
+
- [fontStyle](StripeElementCSSProperties.md#fontstyle)
|
|
23
|
+
- [fontVariant](StripeElementCSSProperties.md#fontvariant)
|
|
24
|
+
- [fontWeight](StripeElementCSSProperties.md#fontweight)
|
|
25
|
+
- [iconColor](StripeElementCSSProperties.md#iconcolor)
|
|
26
|
+
- [letterSpacing](StripeElementCSSProperties.md#letterspacing)
|
|
27
|
+
- [lineHeight](StripeElementCSSProperties.md#lineheight)
|
|
28
|
+
- [padding](StripeElementCSSProperties.md#padding)
|
|
29
|
+
- [textAlign](StripeElementCSSProperties.md#textalign)
|
|
30
|
+
- [textDecoration](StripeElementCSSProperties.md#textdecoration)
|
|
31
|
+
- [textShadow](StripeElementCSSProperties.md#textshadow)
|
|
32
|
+
- [textTransform](StripeElementCSSProperties.md#texttransform)
|
|
33
|
+
|
|
34
|
+
## Properties
|
|
35
|
+
|
|
36
|
+
### backgroundColor
|
|
37
|
+
|
|
38
|
+
• `Optional` **backgroundColor**: `string`
|
|
39
|
+
|
|
40
|
+
The [background-color](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color) CSS property.
|
|
41
|
+
|
|
42
|
+
This property works best with the `::selection` pseudo-class.
|
|
43
|
+
In other cases, consider setting the background color on the element's container instaed.
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### color
|
|
48
|
+
|
|
49
|
+
• `Optional` **color**: `string`
|
|
50
|
+
|
|
51
|
+
The [color](https://developer.mozilla.org/en-US/docs/Web/CSS/color) CSS property.
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### fontFamily
|
|
56
|
+
|
|
57
|
+
• `Optional` **fontFamily**: `string`
|
|
58
|
+
|
|
59
|
+
The [font-family](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) CSS property.
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
63
|
+
### fontSize
|
|
64
|
+
|
|
65
|
+
• `Optional` **fontSize**: `string`
|
|
66
|
+
|
|
67
|
+
The [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) CSS property.
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### fontSmoothing
|
|
72
|
+
|
|
73
|
+
• `Optional` **fontSmoothing**: `string`
|
|
74
|
+
|
|
75
|
+
The [font-smoothing](https://developer.mozilla.org/en-US/docs/Web/CSS/font-smoothing) CSS property.
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### fontStyle
|
|
80
|
+
|
|
81
|
+
• `Optional` **fontStyle**: `string`
|
|
82
|
+
|
|
83
|
+
The [font-style](https://developer.mozilla.org/en-US/docs/Web/CSS/font-style) CSS property.
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### fontVariant
|
|
88
|
+
|
|
89
|
+
• `Optional` **fontVariant**: `string`
|
|
90
|
+
|
|
91
|
+
The [font-variant](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant) CSS property.
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### fontWeight
|
|
96
|
+
|
|
97
|
+
• `Optional` **fontWeight**: `string`
|
|
98
|
+
|
|
99
|
+
The [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) CSS property.
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### iconColor
|
|
104
|
+
|
|
105
|
+
• `Optional` **iconColor**: `string`
|
|
106
|
+
|
|
107
|
+
A custom property, used to set the color of the icons that are rendered in an element.
|
|
108
|
+
|
|
109
|
+
___
|
|
110
|
+
|
|
111
|
+
### letterSpacing
|
|
112
|
+
|
|
113
|
+
• `Optional` **letterSpacing**: `string`
|
|
114
|
+
|
|
115
|
+
The [letter-spacing](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) CSS property.
|
|
116
|
+
|
|
117
|
+
___
|
|
118
|
+
|
|
119
|
+
### lineHeight
|
|
120
|
+
|
|
121
|
+
• `Optional` **lineHeight**: `string`
|
|
122
|
+
|
|
123
|
+
The [line-height](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height) CSS property.
|
|
124
|
+
|
|
125
|
+
To avoid cursors being rendered inconsistently across browsers, consider using a padding on the element's container instead.
|
|
126
|
+
|
|
127
|
+
___
|
|
128
|
+
|
|
129
|
+
### padding
|
|
130
|
+
|
|
131
|
+
• `Optional` **padding**: `string`
|
|
132
|
+
|
|
133
|
+
The [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) CSS property.
|
|
134
|
+
|
|
135
|
+
Available for the `idealBank` element.
|
|
136
|
+
Accepts integer `px` values.
|
|
137
|
+
|
|
138
|
+
___
|
|
139
|
+
|
|
140
|
+
### textAlign
|
|
141
|
+
|
|
142
|
+
• `Optional` **textAlign**: `string`
|
|
143
|
+
|
|
144
|
+
The [text-align](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) CSS property.
|
|
145
|
+
|
|
146
|
+
Available for the `cardNumber`, `cardExpiry`, and `cardCvc` elements.
|
|
147
|
+
|
|
148
|
+
___
|
|
149
|
+
|
|
150
|
+
### textDecoration
|
|
151
|
+
|
|
152
|
+
• `Optional` **textDecoration**: `string`
|
|
153
|
+
|
|
154
|
+
The [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) CSS property.
|
|
155
|
+
|
|
156
|
+
___
|
|
157
|
+
|
|
158
|
+
### textShadow
|
|
159
|
+
|
|
160
|
+
• `Optional` **textShadow**: `string`
|
|
161
|
+
|
|
162
|
+
The [text-shadow](https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow) CSS property.
|
|
163
|
+
|
|
164
|
+
___
|
|
165
|
+
|
|
166
|
+
### textTransform
|
|
167
|
+
|
|
168
|
+
• `Optional` **textTransform**: `string`
|
|
169
|
+
|
|
170
|
+
The [text-transform](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) CSS property.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / StripeElementClasses
|
|
2
|
+
|
|
3
|
+
# Interface: StripeElementClasses
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [base](StripeElementClasses.md#base)
|
|
10
|
+
- [complete](StripeElementClasses.md#complete)
|
|
11
|
+
- [empty](StripeElementClasses.md#empty)
|
|
12
|
+
- [focus](StripeElementClasses.md#focus)
|
|
13
|
+
- [invalid](StripeElementClasses.md#invalid)
|
|
14
|
+
- [webkitAutoFill](StripeElementClasses.md#webkitautofill)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### base
|
|
19
|
+
|
|
20
|
+
• `Optional` **base**: `string`
|
|
21
|
+
|
|
22
|
+
The base class applied to the container. Defaults to StripeElement.
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### complete
|
|
27
|
+
|
|
28
|
+
• `Optional` **complete**: `string`
|
|
29
|
+
|
|
30
|
+
The class name to apply when the Element is complete. Defaults to StripeElement--complete.
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### empty
|
|
35
|
+
|
|
36
|
+
• `Optional` **empty**: `string`
|
|
37
|
+
|
|
38
|
+
The class name to apply when the Element is empty. Defaults to StripeElement--empty.
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### focus
|
|
43
|
+
|
|
44
|
+
• `Optional` **focus**: `string`
|
|
45
|
+
|
|
46
|
+
The class name to apply when the Element is focused. Defaults to StripeElement--focus.
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### invalid
|
|
51
|
+
|
|
52
|
+
• `Optional` **invalid**: `string`
|
|
53
|
+
|
|
54
|
+
The class name to apply when the Element is invalid. Defaults to StripeElement--invalid.
|
|
55
|
+
|
|
56
|
+
___
|
|
57
|
+
|
|
58
|
+
### webkitAutoFill
|
|
59
|
+
|
|
60
|
+
• `Optional` **webkitAutoFill**: `string`
|
|
61
|
+
|
|
62
|
+
The class name to apply when the Element has its value autofilled by the browser
|
|
63
|
+
(only on Chrome and Safari). Defaults to StripeElement--webkit-autofill.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / StripeElementStyle
|
|
2
|
+
|
|
3
|
+
# Interface: StripeElementStyle
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [base](StripeElementStyle.md#base)
|
|
10
|
+
- [complete](StripeElementStyle.md#complete)
|
|
11
|
+
- [empty](StripeElementStyle.md#empty)
|
|
12
|
+
- [invalid](StripeElementStyle.md#invalid)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### base
|
|
17
|
+
|
|
18
|
+
• `Optional` **base**: [`StripeElementStyleVariant`](StripeElementStyleVariant.md)
|
|
19
|
+
|
|
20
|
+
Base variant—all other variants inherit from these styles.
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### complete
|
|
25
|
+
|
|
26
|
+
• `Optional` **complete**: [`StripeElementStyleVariant`](StripeElementStyleVariant.md)
|
|
27
|
+
|
|
28
|
+
Applied when the element has valid input.
|
|
29
|
+
|
|
30
|
+
___
|
|
31
|
+
|
|
32
|
+
### empty
|
|
33
|
+
|
|
34
|
+
• `Optional` **empty**: [`StripeElementStyleVariant`](StripeElementStyleVariant.md)
|
|
35
|
+
|
|
36
|
+
Applied when the element has no customer input.
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### invalid
|
|
41
|
+
|
|
42
|
+
• `Optional` **invalid**: [`StripeElementStyleVariant`](StripeElementStyleVariant.md)
|
|
43
|
+
|
|
44
|
+
Applied when the element has invalid input.
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / StripeElementStyleVariant
|
|
2
|
+
|
|
3
|
+
# Interface: StripeElementStyleVariant
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
8
|
+
|
|
9
|
+
↳ **`StripeElementStyleVariant`**
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
- [%3A-webkit-autofill](StripeElementStyleVariant.md#:-webkit-autofill)
|
|
16
|
+
- [%3A%3A-ms-clear](StripeElementStyleVariant.md#::-ms-clear)
|
|
17
|
+
- [%3A%3Aplaceholder](StripeElementStyleVariant.md#::placeholder)
|
|
18
|
+
- [%3A%3Aselection](StripeElementStyleVariant.md#::selection)
|
|
19
|
+
- [%3Adisabled](StripeElementStyleVariant.md#:disabled)
|
|
20
|
+
- [%3Afocus](StripeElementStyleVariant.md#:focus)
|
|
21
|
+
- [%3Ahover](StripeElementStyleVariant.md#:hover)
|
|
22
|
+
- [backgroundColor](StripeElementStyleVariant.md#backgroundcolor)
|
|
23
|
+
- [color](StripeElementStyleVariant.md#color)
|
|
24
|
+
- [fontFamily](StripeElementStyleVariant.md#fontfamily)
|
|
25
|
+
- [fontSize](StripeElementStyleVariant.md#fontsize)
|
|
26
|
+
- [fontSmoothing](StripeElementStyleVariant.md#fontsmoothing)
|
|
27
|
+
- [fontStyle](StripeElementStyleVariant.md#fontstyle)
|
|
28
|
+
- [fontVariant](StripeElementStyleVariant.md#fontvariant)
|
|
29
|
+
- [fontWeight](StripeElementStyleVariant.md#fontweight)
|
|
30
|
+
- [iconColor](StripeElementStyleVariant.md#iconcolor)
|
|
31
|
+
- [letterSpacing](StripeElementStyleVariant.md#letterspacing)
|
|
32
|
+
- [lineHeight](StripeElementStyleVariant.md#lineheight)
|
|
33
|
+
- [padding](StripeElementStyleVariant.md#padding)
|
|
34
|
+
- [textAlign](StripeElementStyleVariant.md#textalign)
|
|
35
|
+
- [textDecoration](StripeElementStyleVariant.md#textdecoration)
|
|
36
|
+
- [textShadow](StripeElementStyleVariant.md#textshadow)
|
|
37
|
+
- [textTransform](StripeElementStyleVariant.md#texttransform)
|
|
38
|
+
|
|
39
|
+
## Properties
|
|
40
|
+
|
|
41
|
+
### :-webkit-autofill
|
|
42
|
+
|
|
43
|
+
• `Optional` **:-webkit-autofill**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### ::-ms-clear
|
|
48
|
+
|
|
49
|
+
• `Optional` **::-ms-clear**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md) & { `display`: `string` }
|
|
50
|
+
|
|
51
|
+
Available for the `cardNumber`, `cardExpiry`, and `cardCvc` elements.
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### ::placeholder
|
|
56
|
+
|
|
57
|
+
• `Optional` **::placeholder**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
58
|
+
|
|
59
|
+
___
|
|
60
|
+
|
|
61
|
+
### ::selection
|
|
62
|
+
|
|
63
|
+
• `Optional` **::selection**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### :disabled
|
|
68
|
+
|
|
69
|
+
• `Optional` **:disabled**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
70
|
+
|
|
71
|
+
Available for all elements except the `paymentRequestButton` element
|
|
72
|
+
|
|
73
|
+
___
|
|
74
|
+
|
|
75
|
+
### :focus
|
|
76
|
+
|
|
77
|
+
• `Optional` **:focus**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
78
|
+
|
|
79
|
+
___
|
|
80
|
+
|
|
81
|
+
### :hover
|
|
82
|
+
|
|
83
|
+
• `Optional` **:hover**: [`StripeElementCSSProperties`](StripeElementCSSProperties.md)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### backgroundColor
|
|
88
|
+
|
|
89
|
+
• `Optional` **backgroundColor**: `string`
|
|
90
|
+
|
|
91
|
+
The [background-color](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color) CSS property.
|
|
92
|
+
|
|
93
|
+
This property works best with the `::selection` pseudo-class.
|
|
94
|
+
In other cases, consider setting the background color on the element's container instaed.
|
|
95
|
+
|
|
96
|
+
#### Inherited from
|
|
97
|
+
|
|
98
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[backgroundColor](StripeElementCSSProperties.md#backgroundcolor)
|
|
99
|
+
|
|
100
|
+
___
|
|
101
|
+
|
|
102
|
+
### color
|
|
103
|
+
|
|
104
|
+
• `Optional` **color**: `string`
|
|
105
|
+
|
|
106
|
+
The [color](https://developer.mozilla.org/en-US/docs/Web/CSS/color) CSS property.
|
|
107
|
+
|
|
108
|
+
#### Inherited from
|
|
109
|
+
|
|
110
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[color](StripeElementCSSProperties.md#color)
|
|
111
|
+
|
|
112
|
+
___
|
|
113
|
+
|
|
114
|
+
### fontFamily
|
|
115
|
+
|
|
116
|
+
• `Optional` **fontFamily**: `string`
|
|
117
|
+
|
|
118
|
+
The [font-family](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) CSS property.
|
|
119
|
+
|
|
120
|
+
#### Inherited from
|
|
121
|
+
|
|
122
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[fontFamily](StripeElementCSSProperties.md#fontfamily)
|
|
123
|
+
|
|
124
|
+
___
|
|
125
|
+
|
|
126
|
+
### fontSize
|
|
127
|
+
|
|
128
|
+
• `Optional` **fontSize**: `string`
|
|
129
|
+
|
|
130
|
+
The [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) CSS property.
|
|
131
|
+
|
|
132
|
+
#### Inherited from
|
|
133
|
+
|
|
134
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[fontSize](StripeElementCSSProperties.md#fontsize)
|
|
135
|
+
|
|
136
|
+
___
|
|
137
|
+
|
|
138
|
+
### fontSmoothing
|
|
139
|
+
|
|
140
|
+
• `Optional` **fontSmoothing**: `string`
|
|
141
|
+
|
|
142
|
+
The [font-smoothing](https://developer.mozilla.org/en-US/docs/Web/CSS/font-smoothing) CSS property.
|
|
143
|
+
|
|
144
|
+
#### Inherited from
|
|
145
|
+
|
|
146
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[fontSmoothing](StripeElementCSSProperties.md#fontsmoothing)
|
|
147
|
+
|
|
148
|
+
___
|
|
149
|
+
|
|
150
|
+
### fontStyle
|
|
151
|
+
|
|
152
|
+
• `Optional` **fontStyle**: `string`
|
|
153
|
+
|
|
154
|
+
The [font-style](https://developer.mozilla.org/en-US/docs/Web/CSS/font-style) CSS property.
|
|
155
|
+
|
|
156
|
+
#### Inherited from
|
|
157
|
+
|
|
158
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[fontStyle](StripeElementCSSProperties.md#fontstyle)
|
|
159
|
+
|
|
160
|
+
___
|
|
161
|
+
|
|
162
|
+
### fontVariant
|
|
163
|
+
|
|
164
|
+
• `Optional` **fontVariant**: `string`
|
|
165
|
+
|
|
166
|
+
The [font-variant](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant) CSS property.
|
|
167
|
+
|
|
168
|
+
#### Inherited from
|
|
169
|
+
|
|
170
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[fontVariant](StripeElementCSSProperties.md#fontvariant)
|
|
171
|
+
|
|
172
|
+
___
|
|
173
|
+
|
|
174
|
+
### fontWeight
|
|
175
|
+
|
|
176
|
+
• `Optional` **fontWeight**: `string`
|
|
177
|
+
|
|
178
|
+
The [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) CSS property.
|
|
179
|
+
|
|
180
|
+
#### Inherited from
|
|
181
|
+
|
|
182
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[fontWeight](StripeElementCSSProperties.md#fontweight)
|
|
183
|
+
|
|
184
|
+
___
|
|
185
|
+
|
|
186
|
+
### iconColor
|
|
187
|
+
|
|
188
|
+
• `Optional` **iconColor**: `string`
|
|
189
|
+
|
|
190
|
+
A custom property, used to set the color of the icons that are rendered in an element.
|
|
191
|
+
|
|
192
|
+
#### Inherited from
|
|
193
|
+
|
|
194
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[iconColor](StripeElementCSSProperties.md#iconcolor)
|
|
195
|
+
|
|
196
|
+
___
|
|
197
|
+
|
|
198
|
+
### letterSpacing
|
|
199
|
+
|
|
200
|
+
• `Optional` **letterSpacing**: `string`
|
|
201
|
+
|
|
202
|
+
The [letter-spacing](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) CSS property.
|
|
203
|
+
|
|
204
|
+
#### Inherited from
|
|
205
|
+
|
|
206
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[letterSpacing](StripeElementCSSProperties.md#letterspacing)
|
|
207
|
+
|
|
208
|
+
___
|
|
209
|
+
|
|
210
|
+
### lineHeight
|
|
211
|
+
|
|
212
|
+
• `Optional` **lineHeight**: `string`
|
|
213
|
+
|
|
214
|
+
The [line-height](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height) CSS property.
|
|
215
|
+
|
|
216
|
+
To avoid cursors being rendered inconsistently across browsers, consider using a padding on the element's container instead.
|
|
217
|
+
|
|
218
|
+
#### Inherited from
|
|
219
|
+
|
|
220
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[lineHeight](StripeElementCSSProperties.md#lineheight)
|
|
221
|
+
|
|
222
|
+
___
|
|
223
|
+
|
|
224
|
+
### padding
|
|
225
|
+
|
|
226
|
+
• `Optional` **padding**: `string`
|
|
227
|
+
|
|
228
|
+
The [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) CSS property.
|
|
229
|
+
|
|
230
|
+
Available for the `idealBank` element.
|
|
231
|
+
Accepts integer `px` values.
|
|
232
|
+
|
|
233
|
+
#### Inherited from
|
|
234
|
+
|
|
235
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[padding](StripeElementCSSProperties.md#padding)
|
|
236
|
+
|
|
237
|
+
___
|
|
238
|
+
|
|
239
|
+
### textAlign
|
|
240
|
+
|
|
241
|
+
• `Optional` **textAlign**: `string`
|
|
242
|
+
|
|
243
|
+
The [text-align](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) CSS property.
|
|
244
|
+
|
|
245
|
+
Available for the `cardNumber`, `cardExpiry`, and `cardCvc` elements.
|
|
246
|
+
|
|
247
|
+
#### Inherited from
|
|
248
|
+
|
|
249
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[textAlign](StripeElementCSSProperties.md#textalign)
|
|
250
|
+
|
|
251
|
+
___
|
|
252
|
+
|
|
253
|
+
### textDecoration
|
|
254
|
+
|
|
255
|
+
• `Optional` **textDecoration**: `string`
|
|
256
|
+
|
|
257
|
+
The [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) CSS property.
|
|
258
|
+
|
|
259
|
+
#### Inherited from
|
|
260
|
+
|
|
261
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[textDecoration](StripeElementCSSProperties.md#textdecoration)
|
|
262
|
+
|
|
263
|
+
___
|
|
264
|
+
|
|
265
|
+
### textShadow
|
|
266
|
+
|
|
267
|
+
• `Optional` **textShadow**: `string`
|
|
268
|
+
|
|
269
|
+
The [text-shadow](https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow) CSS property.
|
|
270
|
+
|
|
271
|
+
#### Inherited from
|
|
272
|
+
|
|
273
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[textShadow](StripeElementCSSProperties.md#textshadow)
|
|
274
|
+
|
|
275
|
+
___
|
|
276
|
+
|
|
277
|
+
### textTransform
|
|
278
|
+
|
|
279
|
+
• `Optional` **textTransform**: `string`
|
|
280
|
+
|
|
281
|
+
The [text-transform](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) CSS property.
|
|
282
|
+
|
|
283
|
+
#### Inherited from
|
|
284
|
+
|
|
285
|
+
[StripeElementCSSProperties](StripeElementCSSProperties.md).[textTransform](StripeElementCSSProperties.md#texttransform)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / StripeUPEPaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: StripeUPEPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
A set of options that are required to initialize the Stripe payment method.
|
|
6
|
+
|
|
7
|
+
Once Stripe payment is initialized, credit card form fields, provided by the
|
|
8
|
+
payment provider as iframes, will be inserted into the current page. These
|
|
9
|
+
options provide a location and styling for each of the form fields.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<!-- This is where the credit card component will be inserted -->
|
|
13
|
+
<div id="container"></div>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
service.initializePayment({
|
|
18
|
+
methodId: 'stripeupe',
|
|
19
|
+
stripeupe {
|
|
20
|
+
containerId: 'container',
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Table of contents
|
|
26
|
+
|
|
27
|
+
### Properties
|
|
28
|
+
|
|
29
|
+
- [containerId](StripeUPEPaymentInitializeOptions.md#containerid)
|
|
30
|
+
- [style](StripeUPEPaymentInitializeOptions.md#style)
|
|
31
|
+
|
|
32
|
+
### Methods
|
|
33
|
+
|
|
34
|
+
- [onError](StripeUPEPaymentInitializeOptions.md#onerror)
|
|
35
|
+
|
|
36
|
+
## Properties
|
|
37
|
+
|
|
38
|
+
### containerId
|
|
39
|
+
|
|
40
|
+
• **containerId**: `string`
|
|
41
|
+
|
|
42
|
+
The location to insert the credit card number form field.
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### style
|
|
47
|
+
|
|
48
|
+
• `Optional` **style**: `Object`
|
|
49
|
+
|
|
50
|
+
Checkout styles from store theme
|
|
51
|
+
|
|
52
|
+
#### Index signature
|
|
53
|
+
|
|
54
|
+
▪ [key: `string`]: `string`
|
|
55
|
+
|
|
56
|
+
## Methods
|
|
57
|
+
|
|
58
|
+
### onError
|
|
59
|
+
|
|
60
|
+
▸ `Optional` **onError**(`error?`): `void`
|
|
61
|
+
|
|
62
|
+
#### Parameters
|
|
63
|
+
|
|
64
|
+
| Name | Type |
|
|
65
|
+
| :------ | :------ |
|
|
66
|
+
| `error?` | `Error` |
|
|
67
|
+
|
|
68
|
+
#### Returns
|
|
69
|
+
|
|
70
|
+
`void`
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / StripeV3PaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: StripeV3PaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
A set of options that are required to initialize the Stripe payment method.
|
|
6
|
+
|
|
7
|
+
Once Stripe payment is initialized, credit card form fields, provided by the
|
|
8
|
+
payment provider as iframes, will be inserted into the current page. These
|
|
9
|
+
options provide a location and styling for each of the form fields.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<!-- This is where the credit card component will be inserted -->
|
|
13
|
+
<div id="container"></div>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
service.initializePayment({
|
|
18
|
+
methodId: 'stripev3',
|
|
19
|
+
stripev3: {
|
|
20
|
+
containerId: 'container',
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Additional options can be passed in to customize the fields.
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
service.initializePayment({
|
|
29
|
+
methodId: 'stripev3',
|
|
30
|
+
stripev3: {
|
|
31
|
+
containerId: 'container',
|
|
32
|
+
options: {
|
|
33
|
+
card: {
|
|
34
|
+
classes: { base: 'form-input' },
|
|
35
|
+
},
|
|
36
|
+
iban: {
|
|
37
|
+
classes: { base: 'form-input' },
|
|
38
|
+
supportedCountries: ['SEPA'],
|
|
39
|
+
},
|
|
40
|
+
idealBank: {
|
|
41
|
+
classes: { base: 'form-input' },
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Table of contents
|
|
49
|
+
|
|
50
|
+
### Properties
|
|
51
|
+
|
|
52
|
+
- [containerId](StripeV3PaymentInitializeOptions.md#containerid)
|
|
53
|
+
- [form](StripeV3PaymentInitializeOptions.md#form)
|
|
54
|
+
- [options](StripeV3PaymentInitializeOptions.md#options)
|
|
55
|
+
|
|
56
|
+
## Properties
|
|
57
|
+
|
|
58
|
+
### containerId
|
|
59
|
+
|
|
60
|
+
• **containerId**: `string`
|
|
61
|
+
|
|
62
|
+
The location to insert the credit card number form field.
|
|
63
|
+
|
|
64
|
+
___
|
|
65
|
+
|
|
66
|
+
### form
|
|
67
|
+
|
|
68
|
+
• `Optional` **form**: [`HostedFormOptions`](HostedFormOptions.md)
|
|
69
|
+
|
|
70
|
+
Hosted Form Validation Options
|
|
71
|
+
|
|
72
|
+
___
|
|
73
|
+
|
|
74
|
+
### options
|
|
75
|
+
|
|
76
|
+
• `Optional` **options**: [`CardCvcElementOptions`](CardCvcElementOptions.md) \| [`CardElementOptions`](CardElementOptions.md) \| [`CardExpiryElementOptions`](CardExpiryElementOptions.md) \| [`CardNumberElementOptions`](CardNumberElementOptions.md) \| [`IbanElementOptions`](IbanElementOptions.md) \| [`IdealElementOptions`](IdealElementOptions.md) \| [`IndividualCardElementOptions`](IndividualCardElementOptions.md) \| [`ZipCodeElementOptions`](ZipCodeElementOptions.md)
|