@bigcommerce/checkout-sdk 1.271.2 → 1.272.1
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 +21 -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.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +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,244 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`CheckoutButtonOptions`](CheckoutButtonOptions.md)
|
|
8
|
+
|
|
9
|
+
↳ **`CheckoutButtonInitializeOptions`**
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
- [amazonpay](CheckoutButtonInitializeOptions.md#amazonpay)
|
|
16
|
+
- [applepay](CheckoutButtonInitializeOptions.md#applepay)
|
|
17
|
+
- [braintreepaypal](CheckoutButtonInitializeOptions.md#braintreepaypal)
|
|
18
|
+
- [braintreepaypalcredit](CheckoutButtonInitializeOptions.md#braintreepaypalcredit)
|
|
19
|
+
- [braintreevenmo](CheckoutButtonInitializeOptions.md#braintreevenmo)
|
|
20
|
+
- [containerId](CheckoutButtonInitializeOptions.md#containerid)
|
|
21
|
+
- [googlepayadyenv2](CheckoutButtonInitializeOptions.md#googlepayadyenv2)
|
|
22
|
+
- [googlepayadyenv3](CheckoutButtonInitializeOptions.md#googlepayadyenv3)
|
|
23
|
+
- [googlepayauthorizenet](CheckoutButtonInitializeOptions.md#googlepayauthorizenet)
|
|
24
|
+
- [googlepaybraintree](CheckoutButtonInitializeOptions.md#googlepaybraintree)
|
|
25
|
+
- [googlepaycheckoutcom](CheckoutButtonInitializeOptions.md#googlepaycheckoutcom)
|
|
26
|
+
- [googlepaycybersourcev2](CheckoutButtonInitializeOptions.md#googlepaycybersourcev2)
|
|
27
|
+
- [googlepayorbital](CheckoutButtonInitializeOptions.md#googlepayorbital)
|
|
28
|
+
- [googlepaystripe](CheckoutButtonInitializeOptions.md#googlepaystripe)
|
|
29
|
+
- [googlepaystripeupe](CheckoutButtonInitializeOptions.md#googlepaystripeupe)
|
|
30
|
+
- [methodId](CheckoutButtonInitializeOptions.md#methodid)
|
|
31
|
+
- [params](CheckoutButtonInitializeOptions.md#params)
|
|
32
|
+
- [paypal](CheckoutButtonInitializeOptions.md#paypal)
|
|
33
|
+
- [paypalCommerce](CheckoutButtonInitializeOptions.md#paypalcommerce)
|
|
34
|
+
- [paypalcommercealternativemethods](CheckoutButtonInitializeOptions.md#paypalcommercealternativemethods)
|
|
35
|
+
- [paypalcommercevenmo](CheckoutButtonInitializeOptions.md#paypalcommercevenmo)
|
|
36
|
+
- [timeout](CheckoutButtonInitializeOptions.md#timeout)
|
|
37
|
+
|
|
38
|
+
## Properties
|
|
39
|
+
|
|
40
|
+
### amazonpay
|
|
41
|
+
|
|
42
|
+
• `Optional` **amazonpay**: [`AmazonPayV2ButtonParams`](AmazonPayV2ButtonParams.md)
|
|
43
|
+
|
|
44
|
+
The options that are required to facilitate AmazonPayV2. They can be
|
|
45
|
+
omitted unless you need to support AmazonPayV2.
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### applepay
|
|
50
|
+
|
|
51
|
+
• `Optional` **applepay**: [`ApplePayButtonInitializeOptions`](ApplePayButtonInitializeOptions.md)
|
|
52
|
+
|
|
53
|
+
The options that are required to initialize the ApplePay payment method.
|
|
54
|
+
They can be omitted unless you need to support ApplePay in cart.
|
|
55
|
+
|
|
56
|
+
___
|
|
57
|
+
|
|
58
|
+
### braintreepaypal
|
|
59
|
+
|
|
60
|
+
• `Optional` **braintreepaypal**: [`BraintreePaypalButtonInitializeOptions`](BraintreePaypalButtonInitializeOptions.md)
|
|
61
|
+
|
|
62
|
+
The options that are required to facilitate Braintree PayPal. They can be
|
|
63
|
+
omitted unless you need to support Braintree PayPal.
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### braintreepaypalcredit
|
|
68
|
+
|
|
69
|
+
• `Optional` **braintreepaypalcredit**: [`BraintreePaypalCreditButtonInitializeOptions`](BraintreePaypalCreditButtonInitializeOptions.md)
|
|
70
|
+
|
|
71
|
+
The options that are required to facilitate Braintree Credit. They can be
|
|
72
|
+
omitted unless you need to support Braintree Credit.
|
|
73
|
+
|
|
74
|
+
___
|
|
75
|
+
|
|
76
|
+
### braintreevenmo
|
|
77
|
+
|
|
78
|
+
• `Optional` **braintreevenmo**: [`BraintreeVenmoButtonInitializeOptions`](BraintreeVenmoButtonInitializeOptions.md)
|
|
79
|
+
|
|
80
|
+
The options that are required to facilitate Braintree Venmo. They can be
|
|
81
|
+
omitted unless you need to support Braintree Venmo.
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### containerId
|
|
86
|
+
|
|
87
|
+
• **containerId**: `string`
|
|
88
|
+
|
|
89
|
+
The ID of a container which the checkout button should be inserted.
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### googlepayadyenv2
|
|
94
|
+
|
|
95
|
+
• `Optional` **googlepayadyenv2**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
96
|
+
|
|
97
|
+
The options that are required to initialize the GooglePay payment method.
|
|
98
|
+
They can be omitted unless you need to support adyenv2 GooglePay.
|
|
99
|
+
|
|
100
|
+
___
|
|
101
|
+
|
|
102
|
+
### googlepayadyenv3
|
|
103
|
+
|
|
104
|
+
• `Optional` **googlepayadyenv3**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
105
|
+
|
|
106
|
+
The options that are required to initialize the GooglePay payment method.
|
|
107
|
+
They can be omitted unless you need to support adyenv2 GooglePay.
|
|
108
|
+
|
|
109
|
+
___
|
|
110
|
+
|
|
111
|
+
### googlepayauthorizenet
|
|
112
|
+
|
|
113
|
+
• `Optional` **googlepayauthorizenet**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
114
|
+
|
|
115
|
+
The options that are required to facilitate Authorize.Net GooglePay.
|
|
116
|
+
They can be omitted unless you need to support Authorize.Net GooglePay.
|
|
117
|
+
|
|
118
|
+
___
|
|
119
|
+
|
|
120
|
+
### googlepaybraintree
|
|
121
|
+
|
|
122
|
+
• `Optional` **googlepaybraintree**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
123
|
+
|
|
124
|
+
The options that are required to facilitate Braintree GooglePay. They can be
|
|
125
|
+
omitted unless you need to support Braintree GooglePay.
|
|
126
|
+
|
|
127
|
+
___
|
|
128
|
+
|
|
129
|
+
### googlepaycheckoutcom
|
|
130
|
+
|
|
131
|
+
• `Optional` **googlepaycheckoutcom**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
132
|
+
|
|
133
|
+
The options that are required to facilitate Checkout.com GooglePay. They can be
|
|
134
|
+
omitted unless you need to support Checkout.com GooglePay.
|
|
135
|
+
|
|
136
|
+
___
|
|
137
|
+
|
|
138
|
+
### googlepaycybersourcev2
|
|
139
|
+
|
|
140
|
+
• `Optional` **googlepaycybersourcev2**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
141
|
+
|
|
142
|
+
The options that are required to facilitate CybersourceV2 GooglePay. They can be
|
|
143
|
+
omitted unless you need to support CybersourceV2 GooglePay.
|
|
144
|
+
|
|
145
|
+
___
|
|
146
|
+
|
|
147
|
+
### googlepayorbital
|
|
148
|
+
|
|
149
|
+
• `Optional` **googlepayorbital**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
150
|
+
|
|
151
|
+
The options that are required to facilitate Orbital GooglePay. They can be
|
|
152
|
+
omitted unless you need to support Orbital GooglePay.
|
|
153
|
+
|
|
154
|
+
___
|
|
155
|
+
|
|
156
|
+
### googlepaystripe
|
|
157
|
+
|
|
158
|
+
• `Optional` **googlepaystripe**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
159
|
+
|
|
160
|
+
The options that are required to facilitate Stripe GooglePay. They can be
|
|
161
|
+
omitted unless you need to support Stripe GooglePay.
|
|
162
|
+
|
|
163
|
+
___
|
|
164
|
+
|
|
165
|
+
### googlepaystripeupe
|
|
166
|
+
|
|
167
|
+
• `Optional` **googlepaystripeupe**: [`GooglePayButtonInitializeOptions`](GooglePayButtonInitializeOptions.md)
|
|
168
|
+
|
|
169
|
+
The options that are required to facilitate Stripe GooglePay. They can be
|
|
170
|
+
omitted unless you need to support Stripe GooglePay.
|
|
171
|
+
|
|
172
|
+
___
|
|
173
|
+
|
|
174
|
+
### methodId
|
|
175
|
+
|
|
176
|
+
• **methodId**: [`CheckoutButtonMethodType`](../enums/CheckoutButtonMethodType.md)
|
|
177
|
+
|
|
178
|
+
The identifier of the payment method.
|
|
179
|
+
|
|
180
|
+
#### Inherited from
|
|
181
|
+
|
|
182
|
+
[CheckoutButtonOptions](CheckoutButtonOptions.md).[methodId](CheckoutButtonOptions.md#methodid)
|
|
183
|
+
|
|
184
|
+
___
|
|
185
|
+
|
|
186
|
+
### params
|
|
187
|
+
|
|
188
|
+
• `Optional` **params**: `Object`
|
|
189
|
+
|
|
190
|
+
The parameters of the request, if required.
|
|
191
|
+
|
|
192
|
+
#### Inherited from
|
|
193
|
+
|
|
194
|
+
[CheckoutButtonOptions](CheckoutButtonOptions.md).[params](CheckoutButtonOptions.md#params)
|
|
195
|
+
|
|
196
|
+
___
|
|
197
|
+
|
|
198
|
+
### paypal
|
|
199
|
+
|
|
200
|
+
• `Optional` **paypal**: [`PaypalButtonInitializeOptions`](PaypalButtonInitializeOptions.md)
|
|
201
|
+
|
|
202
|
+
The options that are required to facilitate PayPal. They can be omitted
|
|
203
|
+
unless you need to support Paypal.
|
|
204
|
+
|
|
205
|
+
___
|
|
206
|
+
|
|
207
|
+
### paypalCommerce
|
|
208
|
+
|
|
209
|
+
• `Optional` **paypalCommerce**: [`PaypalCommerceButtonInitializeOptions`](PaypalCommerceButtonInitializeOptions.md)
|
|
210
|
+
|
|
211
|
+
The options that are required to facilitate PayPal Commerce. They can be omitted
|
|
212
|
+
unless you need to support Paypal.
|
|
213
|
+
|
|
214
|
+
___
|
|
215
|
+
|
|
216
|
+
### paypalcommercealternativemethods
|
|
217
|
+
|
|
218
|
+
• `Optional` **paypalcommercealternativemethods**: [`PaypalCommerceAlternativeMethodsButtonOptions`](PaypalCommerceAlternativeMethodsButtonOptions.md)
|
|
219
|
+
|
|
220
|
+
The options that are required to facilitate PayPal Commerce. They can be omitted
|
|
221
|
+
unless you need to support PayPal Commerce Alternative Payment Methods.
|
|
222
|
+
|
|
223
|
+
___
|
|
224
|
+
|
|
225
|
+
### paypalcommercevenmo
|
|
226
|
+
|
|
227
|
+
• `Optional` **paypalcommercevenmo**: [`PaypalCommerceVenmoButtonInitializeOptions`](PaypalCommerceVenmoButtonInitializeOptions.md)
|
|
228
|
+
|
|
229
|
+
The options that are required to facilitate PayPal Commerce Venmo. They can be omitted
|
|
230
|
+
unless you need to support PayPal Commerce Venmo.
|
|
231
|
+
|
|
232
|
+
___
|
|
233
|
+
|
|
234
|
+
### timeout
|
|
235
|
+
|
|
236
|
+
• `Optional` **timeout**: `default`
|
|
237
|
+
|
|
238
|
+
Provide this option if you want to cancel or time out the request. If the
|
|
239
|
+
timeout object completes before the request, the request will be
|
|
240
|
+
cancelled.
|
|
241
|
+
|
|
242
|
+
#### Inherited from
|
|
243
|
+
|
|
244
|
+
[CheckoutButtonOptions](CheckoutButtonOptions.md).[timeout](CheckoutButtonOptions.md#timeout)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonInitializerOptions
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonInitializerOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [host](CheckoutButtonInitializerOptions.md#host)
|
|
10
|
+
- [locale](CheckoutButtonInitializerOptions.md#locale)
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### host
|
|
15
|
+
|
|
16
|
+
• `Optional` **host**: `string`
|
|
17
|
+
|
|
18
|
+
___
|
|
19
|
+
|
|
20
|
+
### locale
|
|
21
|
+
|
|
22
|
+
• `Optional` **locale**: `string`
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonOptions
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonOptions
|
|
4
|
+
|
|
5
|
+
The set of options for configuring the checkout button.
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`RequestOptions`](RequestOptions.md)
|
|
10
|
+
|
|
11
|
+
↳ **`CheckoutButtonOptions`**
|
|
12
|
+
|
|
13
|
+
↳↳ [`CheckoutButtonInitializeOptions`](CheckoutButtonInitializeOptions.md)
|
|
14
|
+
|
|
15
|
+
## Table of contents
|
|
16
|
+
|
|
17
|
+
### Properties
|
|
18
|
+
|
|
19
|
+
- [methodId](CheckoutButtonOptions.md#methodid)
|
|
20
|
+
- [params](CheckoutButtonOptions.md#params)
|
|
21
|
+
- [timeout](CheckoutButtonOptions.md#timeout)
|
|
22
|
+
|
|
23
|
+
## Properties
|
|
24
|
+
|
|
25
|
+
### methodId
|
|
26
|
+
|
|
27
|
+
• **methodId**: [`CheckoutButtonMethodType`](../enums/CheckoutButtonMethodType.md)
|
|
28
|
+
|
|
29
|
+
The identifier of the payment method.
|
|
30
|
+
|
|
31
|
+
___
|
|
32
|
+
|
|
33
|
+
### params
|
|
34
|
+
|
|
35
|
+
• `Optional` **params**: `Object`
|
|
36
|
+
|
|
37
|
+
The parameters of the request, if required.
|
|
38
|
+
|
|
39
|
+
#### Inherited from
|
|
40
|
+
|
|
41
|
+
[RequestOptions](RequestOptions.md).[params](RequestOptions.md#params)
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### timeout
|
|
46
|
+
|
|
47
|
+
• `Optional` **timeout**: `default`
|
|
48
|
+
|
|
49
|
+
Provide this option if you want to cancel or time out the request. If the
|
|
50
|
+
timeout object completes before the request, the request will be
|
|
51
|
+
cancelled.
|
|
52
|
+
|
|
53
|
+
#### Inherited from
|
|
54
|
+
|
|
55
|
+
[RequestOptions](RequestOptions.md).[timeout](RequestOptions.md#timeout)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonSelectors
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonSelectors
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [errors](CheckoutButtonSelectors.md#errors)
|
|
10
|
+
- [statuses](CheckoutButtonSelectors.md#statuses)
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### errors
|
|
15
|
+
|
|
16
|
+
• **errors**: [`CheckoutButtonErrorSelector`](../classes/CheckoutButtonErrorSelector.md)
|
|
17
|
+
|
|
18
|
+
___
|
|
19
|
+
|
|
20
|
+
### statuses
|
|
21
|
+
|
|
22
|
+
• **statuses**: [`CheckoutButtonStatusSelector`](../classes/CheckoutButtonStatusSelector.md)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutParams
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutParams
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [include](CheckoutParams.md#include)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### include
|
|
14
|
+
|
|
15
|
+
• `Optional` **include**: [`CheckoutIncludes`](../enums/CheckoutIncludes.md)[] \| [`CheckoutIncludeParam`](../README.md#checkoutincludeparam)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutPayment
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutPayment
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [detail](CheckoutPayment.md#detail)
|
|
10
|
+
- [gatewayId](CheckoutPayment.md#gatewayid)
|
|
11
|
+
- [providerId](CheckoutPayment.md#providerid)
|
|
12
|
+
- [providerType](CheckoutPayment.md#providertype)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### detail
|
|
17
|
+
|
|
18
|
+
• **detail**: `Object`
|
|
19
|
+
|
|
20
|
+
#### Type declaration
|
|
21
|
+
|
|
22
|
+
| Name | Type |
|
|
23
|
+
| :------ | :------ |
|
|
24
|
+
| `step` | `string` |
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### gatewayId
|
|
29
|
+
|
|
30
|
+
• `Optional` **gatewayId**: `string`
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### providerId
|
|
35
|
+
|
|
36
|
+
• **providerId**: `string`
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### providerType
|
|
41
|
+
|
|
42
|
+
• **providerType**: `string`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutRequestBody
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutRequestBody
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [customerMessage](CheckoutRequestBody.md#customermessage)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### customerMessage
|
|
14
|
+
|
|
15
|
+
• **customerMessage**: `string`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutSelectors
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutSelectors
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [data](CheckoutSelectors.md#data)
|
|
10
|
+
- [errors](CheckoutSelectors.md#errors)
|
|
11
|
+
- [statuses](CheckoutSelectors.md#statuses)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### data
|
|
16
|
+
|
|
17
|
+
• **data**: [`CheckoutStoreSelector`](CheckoutStoreSelector.md)
|
|
18
|
+
|
|
19
|
+
___
|
|
20
|
+
|
|
21
|
+
### errors
|
|
22
|
+
|
|
23
|
+
• **errors**: [`CheckoutStoreErrorSelector`](CheckoutStoreErrorSelector.md)
|
|
24
|
+
|
|
25
|
+
___
|
|
26
|
+
|
|
27
|
+
### statuses
|
|
28
|
+
|
|
29
|
+
• **statuses**: [`CheckoutStoreStatusSelector`](CheckoutStoreStatusSelector.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutServiceOptions
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutServiceOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [externalSource](CheckoutServiceOptions.md#externalsource)
|
|
10
|
+
- [host](CheckoutServiceOptions.md#host)
|
|
11
|
+
- [locale](CheckoutServiceOptions.md#locale)
|
|
12
|
+
- [shouldWarnMutation](CheckoutServiceOptions.md#shouldwarnmutation)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### externalSource
|
|
17
|
+
|
|
18
|
+
• `Optional` **externalSource**: `string`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### host
|
|
23
|
+
|
|
24
|
+
• `Optional` **host**: `string`
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### locale
|
|
29
|
+
|
|
30
|
+
• `Optional` **locale**: `string`
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### shouldWarnMutation
|
|
35
|
+
|
|
36
|
+
• `Optional` **shouldWarnMutation**: `boolean`
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutSettings
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutSettings
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [checkoutBillingSameAsShippingEnabled](CheckoutSettings.md#checkoutbillingsameasshippingenabled)
|
|
10
|
+
- [enableOrderComments](CheckoutSettings.md#enableordercomments)
|
|
11
|
+
- [enableTermsAndConditions](CheckoutSettings.md#enabletermsandconditions)
|
|
12
|
+
- [features](CheckoutSettings.md#features)
|
|
13
|
+
- [googleMapsApiKey](CheckoutSettings.md#googlemapsapikey)
|
|
14
|
+
- [googleRecaptchaSitekey](CheckoutSettings.md#googlerecaptchasitekey)
|
|
15
|
+
- [guestCheckoutEnabled](CheckoutSettings.md#guestcheckoutenabled)
|
|
16
|
+
- [hasMultiShippingEnabled](CheckoutSettings.md#hasmultishippingenabled)
|
|
17
|
+
- [isAccountCreationEnabled](CheckoutSettings.md#isaccountcreationenabled)
|
|
18
|
+
- [isAnalyticsEnabled](CheckoutSettings.md#isanalyticsenabled)
|
|
19
|
+
- [isCardVaultingEnabled](CheckoutSettings.md#iscardvaultingenabled)
|
|
20
|
+
- [isCouponCodeCollapsed](CheckoutSettings.md#iscouponcodecollapsed)
|
|
21
|
+
- [isPaymentRequestCanMakePaymentEnabled](CheckoutSettings.md#ispaymentrequestcanmakepaymentenabled)
|
|
22
|
+
- [isPaymentRequestEnabled](CheckoutSettings.md#ispaymentrequestenabled)
|
|
23
|
+
- [isSignInEmailEnabled](CheckoutSettings.md#issigninemailenabled)
|
|
24
|
+
- [isSpamProtectionEnabled](CheckoutSettings.md#isspamprotectionenabled)
|
|
25
|
+
- [isStorefrontSpamProtectionEnabled](CheckoutSettings.md#isstorefrontspamprotectionenabled)
|
|
26
|
+
- [isTrustedShippingAddressEnabled](CheckoutSettings.md#istrustedshippingaddressenabled)
|
|
27
|
+
- [orderTermsAndConditions](CheckoutSettings.md#ordertermsandconditions)
|
|
28
|
+
- [orderTermsAndConditionsLink](CheckoutSettings.md#ordertermsandconditionslink)
|
|
29
|
+
- [orderTermsAndConditionsType](CheckoutSettings.md#ordertermsandconditionstype)
|
|
30
|
+
- [privacyPolicyUrl](CheckoutSettings.md#privacypolicyurl)
|
|
31
|
+
- [providerWithCustomCheckout](CheckoutSettings.md#providerwithcustomcheckout)
|
|
32
|
+
- [realtimeShippingProviders](CheckoutSettings.md#realtimeshippingproviders)
|
|
33
|
+
- [remoteCheckoutProviders](CheckoutSettings.md#remotecheckoutproviders)
|
|
34
|
+
- [requiresMarketingConsent](CheckoutSettings.md#requiresmarketingconsent)
|
|
35
|
+
- [shippingQuoteFailedMessage](CheckoutSettings.md#shippingquotefailedmessage)
|
|
36
|
+
|
|
37
|
+
## Properties
|
|
38
|
+
|
|
39
|
+
### checkoutBillingSameAsShippingEnabled
|
|
40
|
+
|
|
41
|
+
• **checkoutBillingSameAsShippingEnabled**: `boolean`
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### enableOrderComments
|
|
46
|
+
|
|
47
|
+
• **enableOrderComments**: `boolean`
|
|
48
|
+
|
|
49
|
+
___
|
|
50
|
+
|
|
51
|
+
### enableTermsAndConditions
|
|
52
|
+
|
|
53
|
+
• **enableTermsAndConditions**: `boolean`
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### features
|
|
58
|
+
|
|
59
|
+
• **features**: `Object`
|
|
60
|
+
|
|
61
|
+
#### Index signature
|
|
62
|
+
|
|
63
|
+
▪ [featureName: `string`]: `boolean`
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### googleMapsApiKey
|
|
68
|
+
|
|
69
|
+
• **googleMapsApiKey**: `string`
|
|
70
|
+
|
|
71
|
+
___
|
|
72
|
+
|
|
73
|
+
### googleRecaptchaSitekey
|
|
74
|
+
|
|
75
|
+
• **googleRecaptchaSitekey**: `string`
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### guestCheckoutEnabled
|
|
80
|
+
|
|
81
|
+
• **guestCheckoutEnabled**: `boolean`
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### hasMultiShippingEnabled
|
|
86
|
+
|
|
87
|
+
• **hasMultiShippingEnabled**: `boolean`
|
|
88
|
+
|
|
89
|
+
___
|
|
90
|
+
|
|
91
|
+
### isAccountCreationEnabled
|
|
92
|
+
|
|
93
|
+
• **isAccountCreationEnabled**: `boolean`
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### isAnalyticsEnabled
|
|
98
|
+
|
|
99
|
+
• **isAnalyticsEnabled**: `boolean`
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### isCardVaultingEnabled
|
|
104
|
+
|
|
105
|
+
• **isCardVaultingEnabled**: `boolean`
|
|
106
|
+
|
|
107
|
+
___
|
|
108
|
+
|
|
109
|
+
### isCouponCodeCollapsed
|
|
110
|
+
|
|
111
|
+
• **isCouponCodeCollapsed**: `boolean`
|
|
112
|
+
|
|
113
|
+
___
|
|
114
|
+
|
|
115
|
+
### isPaymentRequestCanMakePaymentEnabled
|
|
116
|
+
|
|
117
|
+
• **isPaymentRequestCanMakePaymentEnabled**: `boolean`
|
|
118
|
+
|
|
119
|
+
___
|
|
120
|
+
|
|
121
|
+
### isPaymentRequestEnabled
|
|
122
|
+
|
|
123
|
+
• **isPaymentRequestEnabled**: `boolean`
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### isSignInEmailEnabled
|
|
128
|
+
|
|
129
|
+
• **isSignInEmailEnabled**: `boolean`
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### isSpamProtectionEnabled
|
|
134
|
+
|
|
135
|
+
• **isSpamProtectionEnabled**: `boolean`
|
|
136
|
+
|
|
137
|
+
___
|
|
138
|
+
|
|
139
|
+
### isStorefrontSpamProtectionEnabled
|
|
140
|
+
|
|
141
|
+
• **isStorefrontSpamProtectionEnabled**: `boolean`
|
|
142
|
+
|
|
143
|
+
___
|
|
144
|
+
|
|
145
|
+
### isTrustedShippingAddressEnabled
|
|
146
|
+
|
|
147
|
+
• **isTrustedShippingAddressEnabled**: `boolean`
|
|
148
|
+
|
|
149
|
+
___
|
|
150
|
+
|
|
151
|
+
### orderTermsAndConditions
|
|
152
|
+
|
|
153
|
+
• **orderTermsAndConditions**: `string`
|
|
154
|
+
|
|
155
|
+
___
|
|
156
|
+
|
|
157
|
+
### orderTermsAndConditionsLink
|
|
158
|
+
|
|
159
|
+
• **orderTermsAndConditionsLink**: `string`
|
|
160
|
+
|
|
161
|
+
___
|
|
162
|
+
|
|
163
|
+
### orderTermsAndConditionsType
|
|
164
|
+
|
|
165
|
+
• **orderTermsAndConditionsType**: `string`
|
|
166
|
+
|
|
167
|
+
___
|
|
168
|
+
|
|
169
|
+
### privacyPolicyUrl
|
|
170
|
+
|
|
171
|
+
• **privacyPolicyUrl**: `string`
|
|
172
|
+
|
|
173
|
+
___
|
|
174
|
+
|
|
175
|
+
### providerWithCustomCheckout
|
|
176
|
+
|
|
177
|
+
• **providerWithCustomCheckout**: ``null`` \| `string`
|
|
178
|
+
|
|
179
|
+
___
|
|
180
|
+
|
|
181
|
+
### realtimeShippingProviders
|
|
182
|
+
|
|
183
|
+
• **realtimeShippingProviders**: `string`[]
|
|
184
|
+
|
|
185
|
+
___
|
|
186
|
+
|
|
187
|
+
### remoteCheckoutProviders
|
|
188
|
+
|
|
189
|
+
• **remoteCheckoutProviders**: `any`[]
|
|
190
|
+
|
|
191
|
+
___
|
|
192
|
+
|
|
193
|
+
### requiresMarketingConsent
|
|
194
|
+
|
|
195
|
+
• **requiresMarketingConsent**: `boolean`
|
|
196
|
+
|
|
197
|
+
___
|
|
198
|
+
|
|
199
|
+
### shippingQuoteFailedMessage
|
|
200
|
+
|
|
201
|
+
• **shippingQuoteFailedMessage**: `string`
|