@bigcommerce/checkout-sdk 1.308.1 → 1.308.2
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 +7 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +158 -16
- package/docs/classes/internal_.CartChangedError.md +62 -0
- package/docs/classes/internal_.CheckoutService.md +1528 -0
- package/docs/classes/internal_.CurrencyService.md +56 -0
- package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
- package/docs/classes/internal_.LanguageService.md +103 -0
- package/docs/classes/internal_.RequestError.md +108 -0
- package/docs/classes/internal_.StandardError.md +4 -0
- package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
- package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
- package/docs/enums/internal_.CheckoutIncludes.md +31 -0
- package/docs/enums/internal_.HostedFieldType.md +52 -0
- package/docs/enums/internal_.IconStyle.md +24 -0
- package/docs/enums/internal_.RadiusUnit.md +24 -0
- package/docs/interfaces/internal_.Address.md +4 -0
- package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
- package/docs/interfaces/internal_.AdyenComponent.md +74 -0
- package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
- package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.BankInstrument.md +114 -0
- package/docs/interfaces/internal_.Banner.md +24 -0
- package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
- package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
- package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
- package/docs/interfaces/internal_.BaseInstrument.md +60 -0
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
- package/docs/interfaces/internal_.BillingAddress.md +184 -0
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
- package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
- package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
- package/docs/interfaces/internal_.BodlService.md +172 -0
- package/docs/interfaces/internal_.BodyStyles.md +17 -0
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.BrowserInfo.md +52 -0
- package/docs/interfaces/internal_.ButtonResponse.md +21 -0
- package/docs/interfaces/internal_.ButtonStyles.md +143 -0
- package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.CardElementOptions.md +93 -0
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardInstrument.md +117 -0
- package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
- package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
- package/docs/interfaces/internal_.CardState.md +42 -0
- package/docs/interfaces/internal_.CardStateErrors.md +9 -0
- package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
- package/docs/interfaces/internal_.CardState_2.md +42 -0
- package/docs/interfaces/internal_.Cart.md +108 -0
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
- package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
- package/docs/interfaces/internal_.Checkout.md +204 -0
- package/docs/interfaces/internal_.CheckoutParams.md +17 -0
- package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
- package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
- package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
- package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
- package/docs/interfaces/internal_.Consignment.md +73 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
- package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
- package/docs/interfaces/internal_.Coordinates.md +24 -0
- package/docs/interfaces/internal_.Country.md +45 -0
- package/docs/interfaces/internal_.Coupon.md +45 -0
- package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
- package/docs/interfaces/internal_.CssProperties.md +213 -0
- package/docs/interfaces/internal_.CssProperties_2.md +213 -0
- package/docs/interfaces/internal_.Currency.md +38 -0
- package/docs/interfaces/internal_.CustomItem.md +52 -0
- package/docs/interfaces/internal_.Customer.md +93 -0
- package/docs/interfaces/internal_.CustomerAddress.md +184 -0
- package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
- package/docs/interfaces/internal_.CustomerGroup.md +24 -0
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
- package/docs/interfaces/internal_.DigitalItem.md +312 -0
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
- package/docs/interfaces/internal_.Discount.md +24 -0
- package/docs/interfaces/internal_.DisplaySettings.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
- package/docs/interfaces/internal_.FlashMessage.md +31 -0
- package/docs/interfaces/internal_.FormField.md +115 -0
- package/docs/interfaces/internal_.FormFieldItem.md +24 -0
- package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
- package/docs/interfaces/internal_.FormFields.md +31 -0
- package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
- package/docs/interfaces/internal_.GiftCertificate.md +45 -0
- package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
- package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
- package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
- package/docs/interfaces/internal_.HostedInstrument.md +24 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
- package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
- package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
- package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
- package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
- package/docs/interfaces/internal_.InputDetail.md +82 -0
- package/docs/interfaces/internal_.InputDetail_2.md +82 -0
- package/docs/interfaces/internal_.InputStyles.md +154 -0
- package/docs/interfaces/internal_.Item.md +24 -0
- package/docs/interfaces/internal_.Item_2.md +28 -0
- package/docs/interfaces/internal_.Item_3.md +28 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.LabelStyles.md +78 -0
- package/docs/interfaces/internal_.LanguageConfig.md +59 -0
- package/docs/interfaces/internal_.LineItem.md +163 -8
- package/docs/interfaces/internal_.LineItemCategory.md +17 -0
- package/docs/interfaces/internal_.LineItemMap.md +38 -0
- package/docs/interfaces/internal_.LineItemOption.md +38 -0
- package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
- package/docs/interfaces/internal_.LinkStyles.md +92 -0
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
- package/docs/interfaces/internal_.Locales.md +9 -0
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
- package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
- package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
- package/docs/interfaces/internal_.NonceInstrument.md +38 -0
- package/docs/interfaces/internal_.Option_2.md +24 -0
- package/docs/interfaces/internal_.OptionsResponse.md +79 -0
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.Order.md +199 -0
- package/docs/interfaces/internal_.OrderConsignment.md +17 -0
- package/docs/interfaces/internal_.OrderPayment.md +60 -0
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
- package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
- package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
- package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
- package/docs/interfaces/internal_.PaymentMethod.md +100 -0
- package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
- package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
- package/docs/interfaces/internal_.PaymentSettings.md +24 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
- package/docs/interfaces/internal_.PhysicalItem.md +313 -0
- package/docs/interfaces/internal_.PickupMethod.md +45 -0
- package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
- package/docs/interfaces/internal_.Promotion.md +17 -0
- package/docs/interfaces/internal_.Radius.md +24 -0
- package/docs/interfaces/internal_.Region.md +24 -0
- package/docs/interfaces/internal_.RequestOptions.md +5 -1
- package/docs/interfaces/internal_.SearchArea.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.ShippingOption.md +66 -0
- package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
- package/docs/interfaces/internal_.ShopperConfig.md +31 -0
- package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
- package/docs/interfaces/internal_.SignInEmail.md +24 -0
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
- package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
- package/docs/interfaces/internal_.SquareFormElement.md +30 -0
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
- package/docs/interfaces/internal_.StepStyles.md +122 -0
- package/docs/interfaces/internal_.StepTracker.md +66 -0
- package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
- package/docs/interfaces/internal_.StoreConfig.md +117 -0
- package/docs/interfaces/internal_.StoreCurrency.md +58 -0
- package/docs/interfaces/internal_.StoreLinks.md +59 -0
- package/docs/interfaces/internal_.StoreProfile.md +73 -0
- package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
- package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
- package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
- package/docs/interfaces/internal_.StripeEvent.md +39 -0
- package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.StyleOptions.md +46 -0
- package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
- package/docs/interfaces/internal_.SubInputDetail.md +64 -0
- package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
- package/docs/interfaces/internal_.Subscriptions.md +31 -0
- package/docs/interfaces/internal_.Tax.md +24 -0
- package/docs/interfaces/internal_.TextInputStyles.md +177 -0
- package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
- package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
- package/docs/interfaces/internal_.TranslationData.md +9 -0
- package/docs/interfaces/internal_.Translations.md +9 -0
- package/docs/interfaces/internal_.UnknownObject.md +9 -0
- package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.WechatState.md +17 -0
- package/docs/interfaces/internal_.WechatState_2.md +17 -0
- package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
- package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
- package/docs/modules/internal_.md +515 -51
- package/package.json +1 -1
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
- package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
- package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
- package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
- package/docs/enums/internal_.StyleButtonColor.md +0 -45
- package/docs/enums/internal_.StyleButtonLabel.md +0 -45
- package/docs/enums/internal_.StyleButtonLayout.md +0 -24
- package/docs/enums/internal_.StyleButtonShape.md +0 -24
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
- package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
- package/docs/interfaces/internal_.BraintreeError.md +0 -37
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ShippingRequestOptions
|
|
2
|
+
|
|
3
|
+
# Interface: ShippingRequestOptions<T\>
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).ShippingRequestOptions
|
|
6
|
+
|
|
7
|
+
A set of options for configuring any requests related to the shipping step of
|
|
8
|
+
the current checkout flow.
|
|
9
|
+
|
|
10
|
+
Some payment methods have their own shipping configuration flow. Therefore,
|
|
11
|
+
you need to specify the method you intend to use if you want to trigger a
|
|
12
|
+
specific flow for setting the shipping address or option. Otherwise, these
|
|
13
|
+
options are not required.
|
|
14
|
+
|
|
15
|
+
## Type parameters
|
|
16
|
+
|
|
17
|
+
| Name | Type |
|
|
18
|
+
| :------ | :------ |
|
|
19
|
+
| `T` | {} |
|
|
20
|
+
|
|
21
|
+
## Hierarchy
|
|
22
|
+
|
|
23
|
+
- [`RequestOptions`](internal_.RequestOptions.md)<`T`\>
|
|
24
|
+
|
|
25
|
+
↳ **`ShippingRequestOptions`**
|
|
26
|
+
|
|
27
|
+
↳↳ [`ShippingInitializeOptions`](internal_.ShippingInitializeOptions.md)
|
|
28
|
+
|
|
29
|
+
## Table of contents
|
|
30
|
+
|
|
31
|
+
### Properties
|
|
32
|
+
|
|
33
|
+
- [methodId](internal_.ShippingRequestOptions.md#methodid)
|
|
34
|
+
- [params](internal_.ShippingRequestOptions.md#params)
|
|
35
|
+
- [timeout](internal_.ShippingRequestOptions.md#timeout)
|
|
36
|
+
|
|
37
|
+
## Properties
|
|
38
|
+
|
|
39
|
+
### methodId
|
|
40
|
+
|
|
41
|
+
• `Optional` **methodId**: `string`
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### params
|
|
46
|
+
|
|
47
|
+
• `Optional` **params**: `T`
|
|
48
|
+
|
|
49
|
+
The parameters of the request, if required.
|
|
50
|
+
|
|
51
|
+
#### Inherited from
|
|
52
|
+
|
|
53
|
+
[RequestOptions](internal_.RequestOptions.md).[params](internal_.RequestOptions.md#params)
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### timeout
|
|
58
|
+
|
|
59
|
+
• `Optional` **timeout**: `default`
|
|
60
|
+
|
|
61
|
+
Provide this option if you want to cancel or time out the request. If the
|
|
62
|
+
timeout object completes before the request, the request will be
|
|
63
|
+
cancelled.
|
|
64
|
+
|
|
65
|
+
#### Inherited from
|
|
66
|
+
|
|
67
|
+
[RequestOptions](internal_.RequestOptions.md).[timeout](internal_.RequestOptions.md#timeout)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ShopperConfig
|
|
2
|
+
|
|
3
|
+
# Interface: ShopperConfig
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).ShopperConfig
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [defaultNewsletterSignup](internal_.ShopperConfig.md#defaultnewslettersignup)
|
|
12
|
+
- [passwordRequirements](internal_.ShopperConfig.md#passwordrequirements)
|
|
13
|
+
- [showNewsletterSignup](internal_.ShopperConfig.md#shownewslettersignup)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### defaultNewsletterSignup
|
|
18
|
+
|
|
19
|
+
• **defaultNewsletterSignup**: `boolean`
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### passwordRequirements
|
|
24
|
+
|
|
25
|
+
• **passwordRequirements**: [`PasswordRequirements`](internal_.PasswordRequirements.md)
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### showNewsletterSignup
|
|
30
|
+
|
|
31
|
+
• **showNewsletterSignup**: `boolean`
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ShopperCurrency
|
|
2
|
+
|
|
3
|
+
# Interface: ShopperCurrency
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).ShopperCurrency
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`StoreCurrency`](internal_.StoreCurrency.md)
|
|
10
|
+
|
|
11
|
+
↳ **`ShopperCurrency`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [code](internal_.ShopperCurrency.md#code)
|
|
18
|
+
- [decimalPlaces](internal_.ShopperCurrency.md#decimalplaces)
|
|
19
|
+
- [decimalSeparator](internal_.ShopperCurrency.md#decimalseparator)
|
|
20
|
+
- [exchangeRate](internal_.ShopperCurrency.md#exchangerate)
|
|
21
|
+
- [isTransactional](internal_.ShopperCurrency.md#istransactional)
|
|
22
|
+
- [symbol](internal_.ShopperCurrency.md#symbol)
|
|
23
|
+
- [symbolLocation](internal_.ShopperCurrency.md#symbollocation)
|
|
24
|
+
- [thousandsSeparator](internal_.ShopperCurrency.md#thousandsseparator)
|
|
25
|
+
|
|
26
|
+
## Properties
|
|
27
|
+
|
|
28
|
+
### code
|
|
29
|
+
|
|
30
|
+
• **code**: `string`
|
|
31
|
+
|
|
32
|
+
#### Inherited from
|
|
33
|
+
|
|
34
|
+
[StoreCurrency](internal_.StoreCurrency.md).[code](internal_.StoreCurrency.md#code)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### decimalPlaces
|
|
39
|
+
|
|
40
|
+
• **decimalPlaces**: `string`
|
|
41
|
+
|
|
42
|
+
#### Inherited from
|
|
43
|
+
|
|
44
|
+
[StoreCurrency](internal_.StoreCurrency.md).[decimalPlaces](internal_.StoreCurrency.md#decimalplaces)
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### decimalSeparator
|
|
49
|
+
|
|
50
|
+
• **decimalSeparator**: `string`
|
|
51
|
+
|
|
52
|
+
#### Inherited from
|
|
53
|
+
|
|
54
|
+
[StoreCurrency](internal_.StoreCurrency.md).[decimalSeparator](internal_.StoreCurrency.md#decimalseparator)
|
|
55
|
+
|
|
56
|
+
___
|
|
57
|
+
|
|
58
|
+
### exchangeRate
|
|
59
|
+
|
|
60
|
+
• **exchangeRate**: `number`
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### isTransactional
|
|
65
|
+
|
|
66
|
+
• **isTransactional**: `boolean`
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### symbol
|
|
71
|
+
|
|
72
|
+
• **symbol**: `string`
|
|
73
|
+
|
|
74
|
+
#### Inherited from
|
|
75
|
+
|
|
76
|
+
[StoreCurrency](internal_.StoreCurrency.md).[symbol](internal_.StoreCurrency.md#symbol)
|
|
77
|
+
|
|
78
|
+
___
|
|
79
|
+
|
|
80
|
+
### symbolLocation
|
|
81
|
+
|
|
82
|
+
• **symbolLocation**: `string`
|
|
83
|
+
|
|
84
|
+
#### Inherited from
|
|
85
|
+
|
|
86
|
+
[StoreCurrency](internal_.StoreCurrency.md).[symbolLocation](internal_.StoreCurrency.md#symbollocation)
|
|
87
|
+
|
|
88
|
+
___
|
|
89
|
+
|
|
90
|
+
### thousandsSeparator
|
|
91
|
+
|
|
92
|
+
• **thousandsSeparator**: `string`
|
|
93
|
+
|
|
94
|
+
#### Inherited from
|
|
95
|
+
|
|
96
|
+
[StoreCurrency](internal_.StoreCurrency.md).[thousandsSeparator](internal_.StoreCurrency.md#thousandsseparator)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / SignInEmail
|
|
2
|
+
|
|
3
|
+
# Interface: SignInEmail
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).SignInEmail
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [expiry](internal_.SignInEmail.md#expiry)
|
|
12
|
+
- [sent\_email](internal_.SignInEmail.md#sent_email)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### expiry
|
|
17
|
+
|
|
18
|
+
• **expiry**: `number`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### sent\_email
|
|
23
|
+
|
|
24
|
+
• **sent\_email**: `string`
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / SignInEmailRequestBody
|
|
2
|
+
|
|
3
|
+
# Interface: SignInEmailRequestBody
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).SignInEmailRequestBody
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [email](internal_.SignInEmailRequestBody.md#email)
|
|
12
|
+
- [redirectUrl](internal_.SignInEmailRequestBody.md#redirecturl)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### email
|
|
17
|
+
|
|
18
|
+
• **email**: `string`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### redirectUrl
|
|
23
|
+
|
|
24
|
+
• `Optional` **redirectUrl**: `string`
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / SpamProtectionOptions
|
|
2
|
+
|
|
3
|
+
# Interface: SpamProtectionOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).SpamProtectionOptions
|
|
6
|
+
|
|
7
|
+
The set of options for configuring any requests related to spam protection.
|
|
8
|
+
|
|
9
|
+
## Hierarchy
|
|
10
|
+
|
|
11
|
+
- `default`
|
|
12
|
+
|
|
13
|
+
↳ **`SpamProtectionOptions`**
|
|
14
|
+
|
|
15
|
+
## Table of contents
|
|
16
|
+
|
|
17
|
+
### Properties
|
|
18
|
+
|
|
19
|
+
- [containerId](internal_.SpamProtectionOptions.md#containerid)
|
|
20
|
+
|
|
21
|
+
## Properties
|
|
22
|
+
|
|
23
|
+
### containerId
|
|
24
|
+
|
|
25
|
+
• **containerId**: `string`
|
|
26
|
+
|
|
27
|
+
The container ID where the spam protection should be rendered.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / SquareFormElement
|
|
2
|
+
|
|
3
|
+
# Interface: SquareFormElement
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).SquareFormElement
|
|
6
|
+
|
|
7
|
+
Configures any form element provided by Square payment.
|
|
8
|
+
|
|
9
|
+
## Table of contents
|
|
10
|
+
|
|
11
|
+
### Properties
|
|
12
|
+
|
|
13
|
+
- [elementId](internal_.SquareFormElement.md#elementid)
|
|
14
|
+
- [placeholder](internal_.SquareFormElement.md#placeholder)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### elementId
|
|
19
|
+
|
|
20
|
+
• **elementId**: `string`
|
|
21
|
+
|
|
22
|
+
The ID of the container which the form element should insert into.
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### placeholder
|
|
27
|
+
|
|
28
|
+
• `Optional` **placeholder**: `string`
|
|
29
|
+
|
|
30
|
+
The placeholder text to use for the form element, if provided.
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / SquarePaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: SquarePaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).SquarePaymentInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the Square payment method.
|
|
8
|
+
|
|
9
|
+
Once Square payment is initialized, credit card form fields, provided by the
|
|
10
|
+
payment provider as iframes, will be inserted into the current page. These
|
|
11
|
+
options provide a location and styling for each of the form fields.
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<!-- These containers are where the hosted (iframed) credit card fields will be inserted -->
|
|
15
|
+
<div id="card-number"></div>
|
|
16
|
+
<div id="card-name"></div>
|
|
17
|
+
<div id="card-expiry"></div>
|
|
18
|
+
<div id="card-code"></div>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
service.initializePayment({
|
|
23
|
+
methodId: 'squarev2',
|
|
24
|
+
square: {
|
|
25
|
+
cardNumber: {
|
|
26
|
+
elementId: 'card-number',
|
|
27
|
+
},
|
|
28
|
+
cvv: {
|
|
29
|
+
elementId: 'card-code',
|
|
30
|
+
},
|
|
31
|
+
expirationDate: {
|
|
32
|
+
elementId: 'card-expiry',
|
|
33
|
+
},
|
|
34
|
+
postalCode: {
|
|
35
|
+
elementId: 'card-code',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Table of contents
|
|
42
|
+
|
|
43
|
+
### Properties
|
|
44
|
+
|
|
45
|
+
- [cardNumber](internal_.SquarePaymentInitializeOptions.md#cardnumber)
|
|
46
|
+
- [cvv](internal_.SquarePaymentInitializeOptions.md#cvv)
|
|
47
|
+
- [expirationDate](internal_.SquarePaymentInitializeOptions.md#expirationdate)
|
|
48
|
+
- [inputClass](internal_.SquarePaymentInitializeOptions.md#inputclass)
|
|
49
|
+
- [inputStyles](internal_.SquarePaymentInitializeOptions.md#inputstyles)
|
|
50
|
+
- [postalCode](internal_.SquarePaymentInitializeOptions.md#postalcode)
|
|
51
|
+
|
|
52
|
+
### Methods
|
|
53
|
+
|
|
54
|
+
- [onError](internal_.SquarePaymentInitializeOptions.md#onerror)
|
|
55
|
+
- [onPaymentSelect](internal_.SquarePaymentInitializeOptions.md#onpaymentselect)
|
|
56
|
+
|
|
57
|
+
## Properties
|
|
58
|
+
|
|
59
|
+
### cardNumber
|
|
60
|
+
|
|
61
|
+
• **cardNumber**: [`SquareFormElement`](internal_.SquareFormElement.md)
|
|
62
|
+
|
|
63
|
+
The location to insert the credit card number form field.
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### cvv
|
|
68
|
+
|
|
69
|
+
• **cvv**: [`SquareFormElement`](internal_.SquareFormElement.md)
|
|
70
|
+
|
|
71
|
+
The location to insert the CVV form field.
|
|
72
|
+
|
|
73
|
+
___
|
|
74
|
+
|
|
75
|
+
### expirationDate
|
|
76
|
+
|
|
77
|
+
• **expirationDate**: [`SquareFormElement`](internal_.SquareFormElement.md)
|
|
78
|
+
|
|
79
|
+
The location to insert the expiration date form field.
|
|
80
|
+
|
|
81
|
+
___
|
|
82
|
+
|
|
83
|
+
### inputClass
|
|
84
|
+
|
|
85
|
+
• `Optional` **inputClass**: `string`
|
|
86
|
+
|
|
87
|
+
The CSS class to apply to all form fields.
|
|
88
|
+
|
|
89
|
+
___
|
|
90
|
+
|
|
91
|
+
### inputStyles
|
|
92
|
+
|
|
93
|
+
• `Optional` **inputStyles**: { `[key: string]`: `string`; }[]
|
|
94
|
+
|
|
95
|
+
The set of CSS styles to apply to all form fields.
|
|
96
|
+
|
|
97
|
+
___
|
|
98
|
+
|
|
99
|
+
### postalCode
|
|
100
|
+
|
|
101
|
+
• **postalCode**: [`SquareFormElement`](internal_.SquareFormElement.md)
|
|
102
|
+
|
|
103
|
+
The location to insert the postal code form field.
|
|
104
|
+
|
|
105
|
+
## Methods
|
|
106
|
+
|
|
107
|
+
### onError
|
|
108
|
+
|
|
109
|
+
▸ `Optional` **onError**(`errors?`): `void`
|
|
110
|
+
|
|
111
|
+
A callback that gets called when an error occurs in the card nonce generation
|
|
112
|
+
|
|
113
|
+
#### Parameters
|
|
114
|
+
|
|
115
|
+
| Name | Type |
|
|
116
|
+
| :------ | :------ |
|
|
117
|
+
| `errors?` | [`NonceGenerationError`](internal_.NonceGenerationError.md)[] |
|
|
118
|
+
|
|
119
|
+
#### Returns
|
|
120
|
+
|
|
121
|
+
`void`
|
|
122
|
+
|
|
123
|
+
___
|
|
124
|
+
|
|
125
|
+
### onPaymentSelect
|
|
126
|
+
|
|
127
|
+
▸ `Optional` **onPaymentSelect**(): `void`
|
|
128
|
+
|
|
129
|
+
A callback that gets called when the customer selects a payment option.
|
|
130
|
+
|
|
131
|
+
#### Returns
|
|
132
|
+
|
|
133
|
+
`void`
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StepStyles
|
|
2
|
+
|
|
3
|
+
# Interface: StepStyles
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).StepStyles
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
10
|
+
|
|
11
|
+
↳ **`StepStyles`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [backgroundColor](internal_.StepStyles.md#backgroundcolor)
|
|
18
|
+
- [borderColor](internal_.StepStyles.md#bordercolor)
|
|
19
|
+
- [borderWidth](internal_.StepStyles.md#borderwidth)
|
|
20
|
+
- [boxShadow](internal_.StepStyles.md#boxshadow)
|
|
21
|
+
- [color](internal_.StepStyles.md#color)
|
|
22
|
+
- [fontFamily](internal_.StepStyles.md#fontfamily)
|
|
23
|
+
- [fontWeight](internal_.StepStyles.md#fontweight)
|
|
24
|
+
- [icon](internal_.StepStyles.md#icon)
|
|
25
|
+
- [letterSpacing](internal_.StepStyles.md#letterspacing)
|
|
26
|
+
- [lineHeight](internal_.StepStyles.md#lineheight)
|
|
27
|
+
|
|
28
|
+
## Properties
|
|
29
|
+
|
|
30
|
+
### backgroundColor
|
|
31
|
+
|
|
32
|
+
• `Optional` **backgroundColor**: `string`
|
|
33
|
+
|
|
34
|
+
#### Inherited from
|
|
35
|
+
|
|
36
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[backgroundColor](internal_.BlockElementStyles.md#backgroundcolor)
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### borderColor
|
|
41
|
+
|
|
42
|
+
• `Optional` **borderColor**: `string`
|
|
43
|
+
|
|
44
|
+
#### Inherited from
|
|
45
|
+
|
|
46
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[borderColor](internal_.BlockElementStyles.md#bordercolor)
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### borderWidth
|
|
51
|
+
|
|
52
|
+
• `Optional` **borderWidth**: `string`
|
|
53
|
+
|
|
54
|
+
#### Inherited from
|
|
55
|
+
|
|
56
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[borderWidth](internal_.BlockElementStyles.md#borderwidth)
|
|
57
|
+
|
|
58
|
+
___
|
|
59
|
+
|
|
60
|
+
### boxShadow
|
|
61
|
+
|
|
62
|
+
• `Optional` **boxShadow**: `string`
|
|
63
|
+
|
|
64
|
+
#### Inherited from
|
|
65
|
+
|
|
66
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[boxShadow](internal_.BlockElementStyles.md#boxshadow)
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### color
|
|
71
|
+
|
|
72
|
+
• `Optional` **color**: `string`
|
|
73
|
+
|
|
74
|
+
#### Inherited from
|
|
75
|
+
|
|
76
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[color](internal_.BlockElementStyles.md#color)
|
|
77
|
+
|
|
78
|
+
___
|
|
79
|
+
|
|
80
|
+
### fontFamily
|
|
81
|
+
|
|
82
|
+
• `Optional` **fontFamily**: `string`
|
|
83
|
+
|
|
84
|
+
#### Inherited from
|
|
85
|
+
|
|
86
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[fontFamily](internal_.BlockElementStyles.md#fontfamily)
|
|
87
|
+
|
|
88
|
+
___
|
|
89
|
+
|
|
90
|
+
### fontWeight
|
|
91
|
+
|
|
92
|
+
• `Optional` **fontWeight**: `string`
|
|
93
|
+
|
|
94
|
+
#### Inherited from
|
|
95
|
+
|
|
96
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[fontWeight](internal_.BlockElementStyles.md#fontweight)
|
|
97
|
+
|
|
98
|
+
___
|
|
99
|
+
|
|
100
|
+
### icon
|
|
101
|
+
|
|
102
|
+
• `Optional` **icon**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
103
|
+
|
|
104
|
+
___
|
|
105
|
+
|
|
106
|
+
### letterSpacing
|
|
107
|
+
|
|
108
|
+
• `Optional` **letterSpacing**: `string`
|
|
109
|
+
|
|
110
|
+
#### Inherited from
|
|
111
|
+
|
|
112
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[letterSpacing](internal_.BlockElementStyles.md#letterspacing)
|
|
113
|
+
|
|
114
|
+
___
|
|
115
|
+
|
|
116
|
+
### lineHeight
|
|
117
|
+
|
|
118
|
+
• `Optional` **lineHeight**: `string`
|
|
119
|
+
|
|
120
|
+
#### Inherited from
|
|
121
|
+
|
|
122
|
+
[BlockElementStyles](internal_.BlockElementStyles.md).[lineHeight](internal_.BlockElementStyles.md#lineheight)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StepTracker
|
|
2
|
+
|
|
3
|
+
# Interface: StepTracker
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).StepTracker
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Methods
|
|
10
|
+
|
|
11
|
+
- [trackCheckoutStarted](internal_.StepTracker.md#trackcheckoutstarted)
|
|
12
|
+
- [trackOrderComplete](internal_.StepTracker.md#trackordercomplete)
|
|
13
|
+
- [trackStepCompleted](internal_.StepTracker.md#trackstepcompleted)
|
|
14
|
+
- [trackStepViewed](internal_.StepTracker.md#trackstepviewed)
|
|
15
|
+
|
|
16
|
+
## Methods
|
|
17
|
+
|
|
18
|
+
### trackCheckoutStarted
|
|
19
|
+
|
|
20
|
+
▸ **trackCheckoutStarted**(): `void`
|
|
21
|
+
|
|
22
|
+
#### Returns
|
|
23
|
+
|
|
24
|
+
`void`
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### trackOrderComplete
|
|
29
|
+
|
|
30
|
+
▸ **trackOrderComplete**(): `void`
|
|
31
|
+
|
|
32
|
+
#### Returns
|
|
33
|
+
|
|
34
|
+
`void`
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### trackStepCompleted
|
|
39
|
+
|
|
40
|
+
▸ **trackStepCompleted**(`step`): `void`
|
|
41
|
+
|
|
42
|
+
#### Parameters
|
|
43
|
+
|
|
44
|
+
| Name | Type |
|
|
45
|
+
| :------ | :------ |
|
|
46
|
+
| `step` | `string` |
|
|
47
|
+
|
|
48
|
+
#### Returns
|
|
49
|
+
|
|
50
|
+
`void`
|
|
51
|
+
|
|
52
|
+
___
|
|
53
|
+
|
|
54
|
+
### trackStepViewed
|
|
55
|
+
|
|
56
|
+
▸ **trackStepViewed**(`step`): `void`
|
|
57
|
+
|
|
58
|
+
#### Parameters
|
|
59
|
+
|
|
60
|
+
| Name | Type |
|
|
61
|
+
| :------ | :------ |
|
|
62
|
+
| `step` | `string` |
|
|
63
|
+
|
|
64
|
+
#### Returns
|
|
65
|
+
|
|
66
|
+
`void`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StepTrackerConfig
|
|
2
|
+
|
|
3
|
+
# Interface: StepTrackerConfig
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).StepTrackerConfig
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [checkoutSteps](internal_.StepTrackerConfig.md#checkoutsteps)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### checkoutSteps
|
|
16
|
+
|
|
17
|
+
• `Optional` **checkoutSteps**: [`AnalyticStepType`](../modules/internal_.md#analyticsteptype)[]
|