@bigcommerce/checkout-sdk 1.271.1 → 1.271.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.d.ts +651 -730
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +763 -7438
- 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 +218 -242
- package/dist/internal-mappers.d.ts +763 -762
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +126 -811
- package/docs/classes/CacheKeyResolver.md +58 -0
- package/package.json +2 -2
- package/docs/classes/CartChangedError.md +0 -76
- package/docs/classes/CheckoutButtonErrorSelector.md +0 -52
- package/docs/classes/CheckoutButtonInitializer.md +0 -177
- package/docs/classes/CheckoutButtonStatusSelector.md +0 -52
- package/docs/classes/CheckoutService.md +0 -1645
- package/docs/classes/CurrencyService.md +0 -54
- package/docs/classes/EmbeddedCheckout.md +0 -40
- package/docs/classes/LanguageService.md +0 -101
- package/docs/classes/RequestError.md +0 -106
- package/docs/classes/StandardError.md +0 -71
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +0 -57
- package/docs/enums/AmazonPayV2LedgerCurrency.md +0 -36
- package/docs/enums/AmazonPayV2PayOptions.md +0 -26
- package/docs/enums/AmazonPayV2Placement.md +0 -53
- package/docs/enums/BraintreeFormFieldType.md +0 -50
- package/docs/enums/ButtonColor.md +0 -29
- package/docs/enums/ButtonType.md +0 -22
- package/docs/enums/CheckoutButtonMethodType.md +0 -141
- package/docs/enums/CheckoutIncludes.md +0 -29
- package/docs/enums/EmbeddedCheckoutEventType.md +0 -50
- package/docs/enums/HostedFieldType.md +0 -50
- package/docs/enums/HostedInputEventType.md +0 -85
- package/docs/enums/IconStyle.md +0 -22
- package/docs/enums/PaypalButtonStyleColorOption.md +0 -36
- package/docs/enums/PaypalButtonStyleLabelOption.md +0 -43
- package/docs/enums/PaypalButtonStyleLayoutOption.md +0 -22
- package/docs/enums/PaypalButtonStyleShapeOption.md +0 -22
- package/docs/enums/PaypalButtonStyleSizeOption.md +0 -36
- package/docs/enums/PaypalCommerceFormFieldType.md +0 -50
- package/docs/enums/RadiusUnit.md +0 -22
- package/docs/enums/StyleButtonColor.md +0 -43
- package/docs/enums/StyleButtonLabel.md +0 -43
- package/docs/enums/StyleButtonLayout.md +0 -22
- package/docs/enums/StyleButtonShape.md +0 -22
- package/docs/interfaces/Address.md +0 -164
- package/docs/interfaces/AddressRequestBody.md +0 -100
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +0 -68
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +0 -66
- package/docs/interfaces/AdyenAdditionalActionOptions.md +0 -106
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +0 -106
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +0 -33
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +0 -33
- package/docs/interfaces/AdyenComponent.md +0 -72
- package/docs/interfaces/AdyenComponentEvents.md +0 -74
- package/docs/interfaces/AdyenComponentEvents_2.md +0 -74
- package/docs/interfaces/AdyenComponent_2.md +0 -72
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenIdealComponentOptions.md +0 -17
- package/docs/interfaces/AdyenPaymentMethodState.md +0 -21
- package/docs/interfaces/AdyenPaymentMethodState_2.md +0 -15
- package/docs/interfaces/AdyenPlaceholderData.md +0 -33
- package/docs/interfaces/AdyenPlaceholderData_2.md +0 -33
- package/docs/interfaces/AdyenThreeDS2Options.md +0 -97
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +0 -161
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +0 -135
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +0 -65
- package/docs/interfaces/AmazonPayOrderReference.md +0 -30
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +0 -100
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +0 -85
- package/docs/interfaces/AmazonPayV2ButtonParams.md +0 -71
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +0 -35
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +0 -24
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +0 -39
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +0 -26
- package/docs/interfaces/AmazonPayWidgetError.md +0 -25
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +0 -38
- package/docs/interfaces/ApplePayButtonInitializeOptions_2.md +0 -38
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +0 -77
- package/docs/interfaces/ApplePayCustomerInitializeOptions_2.md +0 -77
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/ApplePayPaymentInitializeOptions_2.md +0 -40
- package/docs/interfaces/BankInstrument.md +0 -112
- package/docs/interfaces/Banner.md +0 -22
- package/docs/interfaces/BaseAccountInstrument.md +0 -91
- package/docs/interfaces/BaseElementOptions.md +0 -17
- package/docs/interfaces/BaseElementOptions_2.md +0 -48
- package/docs/interfaces/BaseIndividualElementOptions.md +0 -67
- package/docs/interfaces/BaseInstrument.md +0 -58
- package/docs/interfaces/BillingAddress.md +0 -182
- package/docs/interfaces/BillingAddressRequestBody.md +0 -153
- package/docs/interfaces/BlockElementStyles.md +0 -105
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +0 -72
- package/docs/interfaces/BlueSnapV2StyleProps.md +0 -29
- package/docs/interfaces/BodyStyles.md +0 -15
- package/docs/interfaces/BoltCustomerInitializeOptions.md +0 -30
- package/docs/interfaces/BoltPaymentInitializeOptions.md +0 -94
- package/docs/interfaces/BraintreeError.md +0 -35
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldOptions.md +0 -35
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/BraintreeFormFieldsMap.md +0 -36
- package/docs/interfaces/BraintreeFormOptions.md +0 -110
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +0 -101
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +0 -96
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +0 -87
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +0 -51
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +0 -27
- package/docs/interfaces/BraintreeVerifyPayload.md +0 -51
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -35
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/BrowserInfo.md +0 -50
- package/docs/interfaces/ButtonResponse.md +0 -19
- package/docs/interfaces/ButtonStyles.md +0 -141
- package/docs/interfaces/CardCvcElementOptions.md +0 -72
- package/docs/interfaces/CardDataPaymentMethodState.md +0 -15
- package/docs/interfaces/CardDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/CardElementOptions.md +0 -91
- package/docs/interfaces/CardExpiryElementOptions.md +0 -72
- package/docs/interfaces/CardInstrument.md +0 -115
- package/docs/interfaces/CardNumberElementOptions.md +0 -88
- package/docs/interfaces/CardPaymentMethodState.md +0 -60
- package/docs/interfaces/CardPaymentMethodState_2.md +0 -43
- package/docs/interfaces/CardState.md +0 -40
- package/docs/interfaces/CardStateErrors.md +0 -7
- package/docs/interfaces/CardStateErrors_2.md +0 -7
- package/docs/interfaces/CardState_2.md +0 -40
- package/docs/interfaces/Cart.md +0 -99
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/ChasePayInitializeOptions.md +0 -98
- package/docs/interfaces/CheckableInputStyles.md +0 -175
- package/docs/interfaces/ChecklistStyles.md +0 -127
- package/docs/interfaces/Checkout.md +0 -195
- package/docs/interfaces/CheckoutButtonInitializeOptions_3.md +0 -68
- package/docs/interfaces/CheckoutButtonInitializeOptions_4.md +0 -244
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +0 -22
- package/docs/interfaces/CheckoutButtonOptions.md +0 -55
- package/docs/interfaces/CheckoutButtonOptions_2.md +0 -55
- package/docs/interfaces/CheckoutButtonSelectors.md +0 -22
- package/docs/interfaces/CheckoutParams.md +0 -15
- package/docs/interfaces/CheckoutPayment.md +0 -42
- package/docs/interfaces/CheckoutRequestBody.md +0 -15
- package/docs/interfaces/CheckoutSelectors.md +0 -29
- package/docs/interfaces/CheckoutServiceOptions.md +0 -36
- package/docs/interfaces/CheckoutSettings.md +0 -201
- package/docs/interfaces/CheckoutStoreErrorSelector.md +0 -636
- package/docs/interfaces/CheckoutStoreSelector.md +0 -501
- package/docs/interfaces/CheckoutStoreStatusSelector.md +0 -758
- package/docs/interfaces/Consignment.md +0 -71
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -29
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -29
- package/docs/interfaces/ConsignmentCreateRequestBody.md +0 -36
- package/docs/interfaces/ConsignmentLineItem.md +0 -22
- package/docs/interfaces/ConsignmentPickupOption.md +0 -15
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +0 -43
- package/docs/interfaces/Coordinates.md +0 -22
- package/docs/interfaces/Country.md +0 -43
- package/docs/interfaces/Coupon.md +0 -43
- package/docs/interfaces/CreditCardInstrument.md +0 -85
- package/docs/interfaces/CreditCardPaymentInitializeOptions.md +0 -91
- package/docs/interfaces/CreditCardPlaceHolder.md +0 -29
- package/docs/interfaces/CreditCardPlaceHolder_2.md +0 -29
- package/docs/interfaces/CssProperties.md +0 -211
- package/docs/interfaces/CssProperties_2.md +0 -211
- package/docs/interfaces/Currency.md +0 -36
- package/docs/interfaces/CustomError.md +0 -43
- package/docs/interfaces/CustomItem.md +0 -50
- package/docs/interfaces/Customer.md +0 -84
- package/docs/interfaces/CustomerAccountRequestBody.md +0 -50
- package/docs/interfaces/CustomerAddress.md +0 -182
- package/docs/interfaces/CustomerCredentials.md +0 -22
- package/docs/interfaces/CustomerGroup.md +0 -22
- package/docs/interfaces/CustomerInitializeOptions_3.md +0 -29
- package/docs/interfaces/CustomerInitializeOptions_4.md +0 -221
- package/docs/interfaces/CustomerPasswordRequirements.md +0 -36
- package/docs/interfaces/CustomerRequestOptions.md +0 -23
- package/docs/interfaces/CustomerRequestOptions_2.md +0 -60
- package/docs/interfaces/DigitalItem.md +0 -310
- package/docs/interfaces/DigitalRiverElementClasses.md +0 -67
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +0 -146
- package/docs/interfaces/Discount.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutError.md +0 -29
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +0 -109
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutOptions.md +0 -134
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutStyles.md +0 -141
- package/docs/interfaces/EmbeddedContentOptions.md +0 -15
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +0 -76
- package/docs/interfaces/FlashMessage.md +0 -29
- package/docs/interfaces/FormField.md +0 -113
- package/docs/interfaces/FormFieldItem.md +0 -22
- package/docs/interfaces/FormFieldOptions.md +0 -29
- package/docs/interfaces/FormFields.md +0 -29
- package/docs/interfaces/GatewayOrderPayment.md +0 -108
- package/docs/interfaces/GiftCertificate.md +0 -43
- package/docs/interfaces/GiftCertificateItem.md +0 -78
- package/docs/interfaces/GiftCertificateOrderPayment.md +0 -94
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +0 -31
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +0 -42
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +0 -93
- package/docs/interfaces/HostedCardFieldOptions.md +0 -35
- package/docs/interfaces/HostedCardFieldOptionsMap.md +0 -36
- package/docs/interfaces/HostedFieldStylesMap.md +0 -29
- package/docs/interfaces/HostedFormOptions.md +0 -114
- package/docs/interfaces/HostedInputBlurEvent.md +0 -28
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +0 -28
- package/docs/interfaces/HostedInputEnterEvent.md +0 -28
- package/docs/interfaces/HostedInputFocusEvent.md +0 -28
- package/docs/interfaces/HostedInputValidateErrorData.md +0 -29
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +0 -50
- package/docs/interfaces/HostedInputValidateEvent.md +0 -22
- package/docs/interfaces/HostedInputValidateResults.md +0 -22
- package/docs/interfaces/HostedInstrument.md +0 -22
- package/docs/interfaces/HostedStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +0 -22
- package/docs/interfaces/IbanElementOptions.md +0 -82
- package/docs/interfaces/IdealElementOptions.md +0 -70
- package/docs/interfaces/IndividualCardElementOptions.md +0 -36
- package/docs/interfaces/InitializationStrategy.md +0 -21
- package/docs/interfaces/InlineElementStyles.md +0 -53
- package/docs/interfaces/InputDetail.md +0 -80
- package/docs/interfaces/InputDetail_2.md +0 -80
- package/docs/interfaces/InputStyles.md +0 -152
- package/docs/interfaces/Item.md +0 -22
- package/docs/interfaces/Item_2.md +0 -26
- package/docs/interfaces/Item_3.md +0 -26
- package/docs/interfaces/KlarnaLoadResponse.md +0 -28
- package/docs/interfaces/KlarnaLoadResponse_2.md +0 -28
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +0 -73
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +0 -73
- package/docs/interfaces/LabelStyles.md +0 -76
- package/docs/interfaces/LanguageConfig.md +0 -57
- package/docs/interfaces/LineItem.md +0 -191
- package/docs/interfaces/LineItemCategory.md +0 -15
- package/docs/interfaces/LineItemMap.md +0 -36
- package/docs/interfaces/LineItemOption.md +0 -36
- package/docs/interfaces/LineItemSocialData.md +0 -36
- package/docs/interfaces/LinkStyles.md +0 -90
- package/docs/interfaces/LoadingIndicatorStyles.md +0 -29
- package/docs/interfaces/Locales.md +0 -7
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +0 -35
- package/docs/interfaces/MolliePaymentInitializeOptions.md +0 -96
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +0 -57
- package/docs/interfaces/MonerisStylingProps.md +0 -80
- package/docs/interfaces/NonceGenerationError.md +0 -29
- package/docs/interfaces/NonceInstrument.md +0 -36
- package/docs/interfaces/Option.md +0 -22
- package/docs/interfaces/OptionsResponse.md +0 -77
- package/docs/interfaces/OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/Order.md +0 -190
- package/docs/interfaces/OrderConsignment.md +0 -15
- package/docs/interfaces/OrderPayment.md +0 -58
- package/docs/interfaces/OrderPaymentRequestBody.md +0 -39
- package/docs/interfaces/OrderRequestBody.md +0 -33
- package/docs/interfaces/OrderShippingConsignment.md +0 -218
- package/docs/interfaces/PasswordRequirements.md +0 -36
- package/docs/interfaces/PayPalInstrument.md +0 -91
- package/docs/interfaces/PaymentInitializeOptions_3.md +0 -74
- package/docs/interfaces/PaymentInitializeOptions_4.md +0 -406
- package/docs/interfaces/PaymentMethod.md +0 -98
- package/docs/interfaces/PaymentMethodConfig.md +0 -120
- package/docs/interfaces/PaymentRequestOptions.md +0 -67
- package/docs/interfaces/PaymentRequestOptions_2.md +0 -67
- package/docs/interfaces/PaymentSettings.md +0 -22
- package/docs/interfaces/PaypalButtonInitializeOptions.md +0 -76
- package/docs/interfaces/PaypalButtonStyleOptions.md +0 -64
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +0 -50
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +0 -35
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -90
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +0 -28
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +0 -36
- package/docs/interfaces/PaypalCommerceFormOptions.md +0 -148
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +0 -186
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +0 -43
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +0 -36
- package/docs/interfaces/PaypalFieldsStyleOptions.md +0 -46
- package/docs/interfaces/PhysicalItem.md +0 -311
- package/docs/interfaces/PickupMethod.md +0 -43
- package/docs/interfaces/PickupOptionRequestBody.md +0 -22
- package/docs/interfaces/PickupOptionResult.md +0 -15
- package/docs/interfaces/Promotion.md +0 -15
- package/docs/interfaces/Radius.md +0 -22
- package/docs/interfaces/Region.md +0 -22
- package/docs/interfaces/RequestOptions.md +0 -48
- package/docs/interfaces/RequestOptions_2.md +0 -44
- package/docs/interfaces/SearchArea.md +0 -22
- package/docs/interfaces/SepaPlaceHolder.md +0 -22
- package/docs/interfaces/SepaPlaceHolder_2.md +0 -22
- package/docs/interfaces/ShippingInitializeOptions.md +0 -88
- package/docs/interfaces/ShippingOption.md +0 -64
- package/docs/interfaces/ShippingRequestOptions.md +0 -65
- package/docs/interfaces/ShopperConfig.md +0 -29
- package/docs/interfaces/ShopperCurrency.md +0 -94
- package/docs/interfaces/SignInEmail.md +0 -22
- package/docs/interfaces/SignInEmailRequestBody.md +0 -22
- package/docs/interfaces/SpamProtectionOptions.md +0 -25
- package/docs/interfaces/SquareFormElement.md +0 -28
- package/docs/interfaces/SquarePaymentInitializeOptions.md +0 -131
- package/docs/interfaces/StepStyles.md +0 -120
- package/docs/interfaces/StepTracker.md +0 -64
- package/docs/interfaces/StepTrackerConfig.md +0 -15
- package/docs/interfaces/StoreConfig.md +0 -109
- package/docs/interfaces/StoreCurrency.md +0 -56
- package/docs/interfaces/StoreLinks.md +0 -57
- package/docs/interfaces/StoreProfile.md +0 -71
- package/docs/interfaces/StripeElementCSSProperties.md +0 -170
- package/docs/interfaces/StripeElementClasses.md +0 -63
- package/docs/interfaces/StripeElementStyle.md +0 -44
- package/docs/interfaces/StripeElementStyleVariant.md +0 -285
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +0 -76
- package/docs/interfaces/StyleOptions.md +0 -44
- package/docs/interfaces/StyleOptions_2.md +0 -44
- package/docs/interfaces/SubInputDetail.md +0 -62
- package/docs/interfaces/SubInputDetail_2.md +0 -62
- package/docs/interfaces/Subscriptions.md +0 -29
- package/docs/interfaces/Tax.md +0 -22
- package/docs/interfaces/TextInputStyles.md +0 -175
- package/docs/interfaces/ThreeDSecure.md +0 -50
- package/docs/interfaces/ThreeDSecureToken.md +0 -15
- package/docs/interfaces/TranslationData.md +0 -7
- package/docs/interfaces/Translations.md +0 -7
- package/docs/interfaces/UnknownObject.md +0 -7
- package/docs/interfaces/VaultedInstrument.md +0 -29
- package/docs/interfaces/WechatDataPaymentMethodState.md +0 -15
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/WechatState.md +0 -15
- package/docs/interfaces/WechatState_2.md +0 -15
- package/docs/interfaces/WithAccountCreation.md +0 -15
- package/docs/interfaces/WithApplePayButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +0 -15
- package/docs/interfaces/WithDocumentInstrument.md +0 -15
- package/docs/interfaces/WithMollieIssuerInstrument.md +0 -22
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +0 -30
- package/docs/interfaces/ZipCodeElementOptions.md +0 -15
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / InlineElementStyles
|
|
2
|
-
|
|
3
|
-
# Interface: InlineElementStyles
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- **`InlineElementStyles`**
|
|
8
|
-
|
|
9
|
-
↳ [`BlockElementStyles`](BlockElementStyles.md)
|
|
10
|
-
|
|
11
|
-
↳ [`LabelStyles`](LabelStyles.md)
|
|
12
|
-
|
|
13
|
-
↳ [`LinkStyles`](LinkStyles.md)
|
|
14
|
-
|
|
15
|
-
## Table of contents
|
|
16
|
-
|
|
17
|
-
### Properties
|
|
18
|
-
|
|
19
|
-
- [color](InlineElementStyles.md#color)
|
|
20
|
-
- [fontFamily](InlineElementStyles.md#fontfamily)
|
|
21
|
-
- [fontWeight](InlineElementStyles.md#fontweight)
|
|
22
|
-
- [letterSpacing](InlineElementStyles.md#letterspacing)
|
|
23
|
-
- [lineHeight](InlineElementStyles.md#lineheight)
|
|
24
|
-
|
|
25
|
-
## Properties
|
|
26
|
-
|
|
27
|
-
### color
|
|
28
|
-
|
|
29
|
-
• `Optional` **color**: `string`
|
|
30
|
-
|
|
31
|
-
___
|
|
32
|
-
|
|
33
|
-
### fontFamily
|
|
34
|
-
|
|
35
|
-
• `Optional` **fontFamily**: `string`
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### fontWeight
|
|
40
|
-
|
|
41
|
-
• `Optional` **fontWeight**: `string`
|
|
42
|
-
|
|
43
|
-
___
|
|
44
|
-
|
|
45
|
-
### letterSpacing
|
|
46
|
-
|
|
47
|
-
• `Optional` **letterSpacing**: `string`
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### lineHeight
|
|
52
|
-
|
|
53
|
-
• `Optional` **lineHeight**: `string`
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / InputDetail
|
|
2
|
-
|
|
3
|
-
# Interface: InputDetail
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [configuration](InputDetail.md#configuration)
|
|
10
|
-
- [details](InputDetail.md#details)
|
|
11
|
-
- [itemSearchUrl](InputDetail.md#itemsearchurl)
|
|
12
|
-
- [items](InputDetail.md#items)
|
|
13
|
-
- [key](InputDetail.md#key)
|
|
14
|
-
- [optional](InputDetail.md#optional)
|
|
15
|
-
- [type](InputDetail.md#type)
|
|
16
|
-
- [value](InputDetail.md#value)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### configuration
|
|
21
|
-
|
|
22
|
-
• `Optional` **configuration**: `object`
|
|
23
|
-
|
|
24
|
-
Configuration parameters for the required input.
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### details
|
|
29
|
-
|
|
30
|
-
• `Optional` **details**: [`SubInputDetail`](SubInputDetail.md)[]
|
|
31
|
-
|
|
32
|
-
Input details can also be provided recursively.
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### itemSearchUrl
|
|
37
|
-
|
|
38
|
-
• `Optional` **itemSearchUrl**: `string`
|
|
39
|
-
|
|
40
|
-
In case of a select, the URL from which to query the items.
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### items
|
|
45
|
-
|
|
46
|
-
• `Optional` **items**: [`Item_2`](Item_2.md)[]
|
|
47
|
-
|
|
48
|
-
In case of a select, the items to choose from.
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### key
|
|
53
|
-
|
|
54
|
-
• `Optional` **key**: `string`
|
|
55
|
-
|
|
56
|
-
The value to provide in the result.
|
|
57
|
-
|
|
58
|
-
___
|
|
59
|
-
|
|
60
|
-
### optional
|
|
61
|
-
|
|
62
|
-
• `Optional` **optional**: `boolean`
|
|
63
|
-
|
|
64
|
-
True if this input value is optional.
|
|
65
|
-
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### type
|
|
69
|
-
|
|
70
|
-
• `Optional` **type**: `string`
|
|
71
|
-
|
|
72
|
-
The type of the required input.
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### value
|
|
77
|
-
|
|
78
|
-
• `Optional` **value**: `string`
|
|
79
|
-
|
|
80
|
-
The value can be pre-filled, if available.
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / InputDetail_2
|
|
2
|
-
|
|
3
|
-
# Interface: InputDetail\_2
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [configuration](InputDetail_2.md#configuration)
|
|
10
|
-
- [details](InputDetail_2.md#details)
|
|
11
|
-
- [itemSearchUrl](InputDetail_2.md#itemsearchurl)
|
|
12
|
-
- [items](InputDetail_2.md#items)
|
|
13
|
-
- [key](InputDetail_2.md#key)
|
|
14
|
-
- [optional](InputDetail_2.md#optional)
|
|
15
|
-
- [type](InputDetail_2.md#type)
|
|
16
|
-
- [value](InputDetail_2.md#value)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### configuration
|
|
21
|
-
|
|
22
|
-
• `Optional` **configuration**: `object`
|
|
23
|
-
|
|
24
|
-
Configuration parameters for the required input.
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### details
|
|
29
|
-
|
|
30
|
-
• `Optional` **details**: [`SubInputDetail_2`](SubInputDetail_2.md)[]
|
|
31
|
-
|
|
32
|
-
Input details can also be provided recursively.
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### itemSearchUrl
|
|
37
|
-
|
|
38
|
-
• `Optional` **itemSearchUrl**: `string`
|
|
39
|
-
|
|
40
|
-
In case of a select, the URL from which to query the items.
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### items
|
|
45
|
-
|
|
46
|
-
• `Optional` **items**: [`Item_3`](Item_3.md)[]
|
|
47
|
-
|
|
48
|
-
In case of a select, the items to choose from.
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### key
|
|
53
|
-
|
|
54
|
-
• `Optional` **key**: `string`
|
|
55
|
-
|
|
56
|
-
The value to provide in the result.
|
|
57
|
-
|
|
58
|
-
___
|
|
59
|
-
|
|
60
|
-
### optional
|
|
61
|
-
|
|
62
|
-
• `Optional` **optional**: `boolean`
|
|
63
|
-
|
|
64
|
-
True if this input value is optional.
|
|
65
|
-
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### type
|
|
69
|
-
|
|
70
|
-
• `Optional` **type**: `string`
|
|
71
|
-
|
|
72
|
-
The type of the required input.
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### value
|
|
77
|
-
|
|
78
|
-
• `Optional` **value**: `string`
|
|
79
|
-
|
|
80
|
-
The value can be pre-filled, if available.
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / InputStyles
|
|
2
|
-
|
|
3
|
-
# Interface: InputStyles
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`BlockElementStyles`](BlockElementStyles.md)
|
|
8
|
-
|
|
9
|
-
↳ **`InputStyles`**
|
|
10
|
-
|
|
11
|
-
↳↳ [`CheckableInputStyles`](CheckableInputStyles.md)
|
|
12
|
-
|
|
13
|
-
↳↳ [`TextInputStyles`](TextInputStyles.md)
|
|
14
|
-
|
|
15
|
-
## Table of contents
|
|
16
|
-
|
|
17
|
-
### Properties
|
|
18
|
-
|
|
19
|
-
- [active](InputStyles.md#active)
|
|
20
|
-
- [backgroundColor](InputStyles.md#backgroundcolor)
|
|
21
|
-
- [borderColor](InputStyles.md#bordercolor)
|
|
22
|
-
- [borderWidth](InputStyles.md#borderwidth)
|
|
23
|
-
- [boxShadow](InputStyles.md#boxshadow)
|
|
24
|
-
- [color](InputStyles.md#color)
|
|
25
|
-
- [disabled](InputStyles.md#disabled)
|
|
26
|
-
- [error](InputStyles.md#error)
|
|
27
|
-
- [focus](InputStyles.md#focus)
|
|
28
|
-
- [fontFamily](InputStyles.md#fontfamily)
|
|
29
|
-
- [fontWeight](InputStyles.md#fontweight)
|
|
30
|
-
- [hover](InputStyles.md#hover)
|
|
31
|
-
- [letterSpacing](InputStyles.md#letterspacing)
|
|
32
|
-
- [lineHeight](InputStyles.md#lineheight)
|
|
33
|
-
|
|
34
|
-
## Properties
|
|
35
|
-
|
|
36
|
-
### active
|
|
37
|
-
|
|
38
|
-
• `Optional` **active**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### backgroundColor
|
|
43
|
-
|
|
44
|
-
• `Optional` **backgroundColor**: `string`
|
|
45
|
-
|
|
46
|
-
#### Inherited from
|
|
47
|
-
|
|
48
|
-
[BlockElementStyles](BlockElementStyles.md).[backgroundColor](BlockElementStyles.md#backgroundcolor)
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### borderColor
|
|
53
|
-
|
|
54
|
-
• `Optional` **borderColor**: `string`
|
|
55
|
-
|
|
56
|
-
#### Inherited from
|
|
57
|
-
|
|
58
|
-
[BlockElementStyles](BlockElementStyles.md).[borderColor](BlockElementStyles.md#bordercolor)
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### borderWidth
|
|
63
|
-
|
|
64
|
-
• `Optional` **borderWidth**: `string`
|
|
65
|
-
|
|
66
|
-
#### Inherited from
|
|
67
|
-
|
|
68
|
-
[BlockElementStyles](BlockElementStyles.md).[borderWidth](BlockElementStyles.md#borderwidth)
|
|
69
|
-
|
|
70
|
-
___
|
|
71
|
-
|
|
72
|
-
### boxShadow
|
|
73
|
-
|
|
74
|
-
• `Optional` **boxShadow**: `string`
|
|
75
|
-
|
|
76
|
-
#### Inherited from
|
|
77
|
-
|
|
78
|
-
[BlockElementStyles](BlockElementStyles.md).[boxShadow](BlockElementStyles.md#boxshadow)
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
|
-
### color
|
|
83
|
-
|
|
84
|
-
• `Optional` **color**: `string`
|
|
85
|
-
|
|
86
|
-
#### Inherited from
|
|
87
|
-
|
|
88
|
-
[BlockElementStyles](BlockElementStyles.md).[color](BlockElementStyles.md#color)
|
|
89
|
-
|
|
90
|
-
___
|
|
91
|
-
|
|
92
|
-
### disabled
|
|
93
|
-
|
|
94
|
-
• `Optional` **disabled**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
95
|
-
|
|
96
|
-
___
|
|
97
|
-
|
|
98
|
-
### error
|
|
99
|
-
|
|
100
|
-
• `Optional` **error**: [`InputStyles`](InputStyles.md)
|
|
101
|
-
|
|
102
|
-
___
|
|
103
|
-
|
|
104
|
-
### focus
|
|
105
|
-
|
|
106
|
-
• `Optional` **focus**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
107
|
-
|
|
108
|
-
___
|
|
109
|
-
|
|
110
|
-
### fontFamily
|
|
111
|
-
|
|
112
|
-
• `Optional` **fontFamily**: `string`
|
|
113
|
-
|
|
114
|
-
#### Inherited from
|
|
115
|
-
|
|
116
|
-
[BlockElementStyles](BlockElementStyles.md).[fontFamily](BlockElementStyles.md#fontfamily)
|
|
117
|
-
|
|
118
|
-
___
|
|
119
|
-
|
|
120
|
-
### fontWeight
|
|
121
|
-
|
|
122
|
-
• `Optional` **fontWeight**: `string`
|
|
123
|
-
|
|
124
|
-
#### Inherited from
|
|
125
|
-
|
|
126
|
-
[BlockElementStyles](BlockElementStyles.md).[fontWeight](BlockElementStyles.md#fontweight)
|
|
127
|
-
|
|
128
|
-
___
|
|
129
|
-
|
|
130
|
-
### hover
|
|
131
|
-
|
|
132
|
-
• `Optional` **hover**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
133
|
-
|
|
134
|
-
___
|
|
135
|
-
|
|
136
|
-
### letterSpacing
|
|
137
|
-
|
|
138
|
-
• `Optional` **letterSpacing**: `string`
|
|
139
|
-
|
|
140
|
-
#### Inherited from
|
|
141
|
-
|
|
142
|
-
[BlockElementStyles](BlockElementStyles.md).[letterSpacing](BlockElementStyles.md#letterspacing)
|
|
143
|
-
|
|
144
|
-
___
|
|
145
|
-
|
|
146
|
-
### lineHeight
|
|
147
|
-
|
|
148
|
-
• `Optional` **lineHeight**: `string`
|
|
149
|
-
|
|
150
|
-
#### Inherited from
|
|
151
|
-
|
|
152
|
-
[BlockElementStyles](BlockElementStyles.md).[lineHeight](BlockElementStyles.md#lineheight)
|
package/docs/interfaces/Item.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / Item
|
|
2
|
-
|
|
3
|
-
# Interface: Item
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [quantity](Item.md#quantity)
|
|
10
|
-
- [variantId](Item.md#variantid)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### quantity
|
|
15
|
-
|
|
16
|
-
• **quantity**: `number`
|
|
17
|
-
|
|
18
|
-
___
|
|
19
|
-
|
|
20
|
-
### variantId
|
|
21
|
-
|
|
22
|
-
• **variantId**: `number`
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / Item_2
|
|
2
|
-
|
|
3
|
-
# Interface: Item\_2
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [id](Item_2.md#id)
|
|
10
|
-
- [name](Item_2.md#name)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### id
|
|
15
|
-
|
|
16
|
-
• `Optional` **id**: `string`
|
|
17
|
-
|
|
18
|
-
The value to provide in the result.
|
|
19
|
-
|
|
20
|
-
___
|
|
21
|
-
|
|
22
|
-
### name
|
|
23
|
-
|
|
24
|
-
• `Optional` **name**: `string`
|
|
25
|
-
|
|
26
|
-
The display name.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / Item_3
|
|
2
|
-
|
|
3
|
-
# Interface: Item\_3
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [id](Item_3.md#id)
|
|
10
|
-
- [name](Item_3.md#name)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### id
|
|
15
|
-
|
|
16
|
-
• `Optional` **id**: `string`
|
|
17
|
-
|
|
18
|
-
The value to provide in the result.
|
|
19
|
-
|
|
20
|
-
___
|
|
21
|
-
|
|
22
|
-
### name
|
|
23
|
-
|
|
24
|
-
• `Optional` **name**: `string`
|
|
25
|
-
|
|
26
|
-
The display name.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / KlarnaLoadResponse
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaLoadResponse
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [error](KlarnaLoadResponse.md#error)
|
|
10
|
-
- [show_form](KlarnaLoadResponse.md#show_form)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### error
|
|
15
|
-
|
|
16
|
-
• `Optional` **error**: `Object`
|
|
17
|
-
|
|
18
|
-
#### Type declaration
|
|
19
|
-
|
|
20
|
-
| Name | Type |
|
|
21
|
-
| :------ | :------ |
|
|
22
|
-
| `invalid_fields` | `string`[] |
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### show\_form
|
|
27
|
-
|
|
28
|
-
• **show\_form**: `boolean`
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / KlarnaLoadResponse_2
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaLoadResponse\_2
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [error](KlarnaLoadResponse_2.md#error)
|
|
10
|
-
- [show_form](KlarnaLoadResponse_2.md#show_form)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### error
|
|
15
|
-
|
|
16
|
-
• `Optional` **error**: `Object`
|
|
17
|
-
|
|
18
|
-
#### Type declaration
|
|
19
|
-
|
|
20
|
-
| Name | Type |
|
|
21
|
-
| :------ | :------ |
|
|
22
|
-
| `invalid_fields` | `string`[] |
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### show\_form
|
|
27
|
-
|
|
28
|
-
• **show\_form**: `boolean`
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / KlarnaPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Klarna payment method.
|
|
6
|
-
|
|
7
|
-
When Klarna is initialized, a widget will be inserted into the DOM. The
|
|
8
|
-
widget has a list of payment options for the customer to choose from.
|
|
9
|
-
|
|
10
|
-
```html
|
|
11
|
-
<!-- This is where the widget will be inserted -->
|
|
12
|
-
<div id="container"></div>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
service.initializePayment({
|
|
17
|
-
methodId: 'klarna',
|
|
18
|
-
klarna: {
|
|
19
|
-
container: 'container'
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
An additional event callback can be registered.
|
|
25
|
-
|
|
26
|
-
```js
|
|
27
|
-
service.initializePayment({
|
|
28
|
-
methodId: 'klarnav2',
|
|
29
|
-
klarnav2: {
|
|
30
|
-
container: 'container',
|
|
31
|
-
onLoad(response) {
|
|
32
|
-
console.log(response);
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Table of contents
|
|
39
|
-
|
|
40
|
-
### Properties
|
|
41
|
-
|
|
42
|
-
- [container](KlarnaPaymentInitializeOptions.md#container)
|
|
43
|
-
|
|
44
|
-
### Methods
|
|
45
|
-
|
|
46
|
-
- [onLoad](KlarnaPaymentInitializeOptions.md#onload)
|
|
47
|
-
|
|
48
|
-
## Properties
|
|
49
|
-
|
|
50
|
-
### container
|
|
51
|
-
|
|
52
|
-
• **container**: `string`
|
|
53
|
-
|
|
54
|
-
The ID of a container which the payment widget should insert into.
|
|
55
|
-
|
|
56
|
-
## Methods
|
|
57
|
-
|
|
58
|
-
### onLoad
|
|
59
|
-
|
|
60
|
-
▸ `Optional` **onLoad**(`response`): `void`
|
|
61
|
-
|
|
62
|
-
A callback that gets called when the widget is loaded and ready to be
|
|
63
|
-
interacted with.
|
|
64
|
-
|
|
65
|
-
#### Parameters
|
|
66
|
-
|
|
67
|
-
| Name | Type | Description |
|
|
68
|
-
| :------ | :------ | :------ |
|
|
69
|
-
| `response` | [`KlarnaLoadResponse`](KlarnaLoadResponse.md) | The result of the initialization. It indicates whether or not the widget is loaded successfully. |
|
|
70
|
-
|
|
71
|
-
#### Returns
|
|
72
|
-
|
|
73
|
-
`void`
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / KlarnaV2PaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaV2PaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the KlarnaV2 payment method.
|
|
6
|
-
|
|
7
|
-
When KlarnaV2 is initialized, a list of payment options will be displayed for the customer to choose from.
|
|
8
|
-
Each one with its own widget.
|
|
9
|
-
|
|
10
|
-
```html
|
|
11
|
-
<!-- This is where the widget will be inserted -->
|
|
12
|
-
<div id="container"></div>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
service.initializePayment({
|
|
17
|
-
methodId: 'klarnav2',
|
|
18
|
-
klarnav2: {
|
|
19
|
-
container: 'container'
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
An additional event callback can be registered.
|
|
25
|
-
|
|
26
|
-
```js
|
|
27
|
-
service.initializePayment({
|
|
28
|
-
methodId: 'klarnav2',
|
|
29
|
-
klarnav2: {
|
|
30
|
-
container: 'container',
|
|
31
|
-
onLoad(response) {
|
|
32
|
-
console.log(response);
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Table of contents
|
|
39
|
-
|
|
40
|
-
### Properties
|
|
41
|
-
|
|
42
|
-
- [container](KlarnaV2PaymentInitializeOptions.md#container)
|
|
43
|
-
|
|
44
|
-
### Methods
|
|
45
|
-
|
|
46
|
-
- [onLoad](KlarnaV2PaymentInitializeOptions.md#onload)
|
|
47
|
-
|
|
48
|
-
## Properties
|
|
49
|
-
|
|
50
|
-
### container
|
|
51
|
-
|
|
52
|
-
• **container**: `string`
|
|
53
|
-
|
|
54
|
-
The ID of a container which the payment widget should insert into.
|
|
55
|
-
|
|
56
|
-
## Methods
|
|
57
|
-
|
|
58
|
-
### onLoad
|
|
59
|
-
|
|
60
|
-
▸ `Optional` **onLoad**(`response`): `void`
|
|
61
|
-
|
|
62
|
-
A callback that gets called when the widget is loaded and ready to be
|
|
63
|
-
interacted with.
|
|
64
|
-
|
|
65
|
-
#### Parameters
|
|
66
|
-
|
|
67
|
-
| Name | Type | Description |
|
|
68
|
-
| :------ | :------ | :------ |
|
|
69
|
-
| `response` | [`KlarnaLoadResponse_2`](KlarnaLoadResponse_2.md) | The result of the initialization. It indicates whether or not the widget is loaded successfully. |
|
|
70
|
-
|
|
71
|
-
#### Returns
|
|
72
|
-
|
|
73
|
-
`void`
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / LabelStyles
|
|
2
|
-
|
|
3
|
-
# Interface: LabelStyles
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`InlineElementStyles`](InlineElementStyles.md)
|
|
8
|
-
|
|
9
|
-
↳ **`LabelStyles`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [color](LabelStyles.md#color)
|
|
16
|
-
- [error](LabelStyles.md#error)
|
|
17
|
-
- [fontFamily](LabelStyles.md#fontfamily)
|
|
18
|
-
- [fontWeight](LabelStyles.md#fontweight)
|
|
19
|
-
- [letterSpacing](LabelStyles.md#letterspacing)
|
|
20
|
-
- [lineHeight](LabelStyles.md#lineheight)
|
|
21
|
-
|
|
22
|
-
## Properties
|
|
23
|
-
|
|
24
|
-
### color
|
|
25
|
-
|
|
26
|
-
• `Optional` **color**: `string`
|
|
27
|
-
|
|
28
|
-
#### Inherited from
|
|
29
|
-
|
|
30
|
-
[InlineElementStyles](InlineElementStyles.md).[color](InlineElementStyles.md#color)
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### error
|
|
35
|
-
|
|
36
|
-
• `Optional` **error**: [`InlineElementStyles`](InlineElementStyles.md)
|
|
37
|
-
|
|
38
|
-
___
|
|
39
|
-
|
|
40
|
-
### fontFamily
|
|
41
|
-
|
|
42
|
-
• `Optional` **fontFamily**: `string`
|
|
43
|
-
|
|
44
|
-
#### Inherited from
|
|
45
|
-
|
|
46
|
-
[InlineElementStyles](InlineElementStyles.md).[fontFamily](InlineElementStyles.md#fontfamily)
|
|
47
|
-
|
|
48
|
-
___
|
|
49
|
-
|
|
50
|
-
### fontWeight
|
|
51
|
-
|
|
52
|
-
• `Optional` **fontWeight**: `string`
|
|
53
|
-
|
|
54
|
-
#### Inherited from
|
|
55
|
-
|
|
56
|
-
[InlineElementStyles](InlineElementStyles.md).[fontWeight](InlineElementStyles.md#fontweight)
|
|
57
|
-
|
|
58
|
-
___
|
|
59
|
-
|
|
60
|
-
### letterSpacing
|
|
61
|
-
|
|
62
|
-
• `Optional` **letterSpacing**: `string`
|
|
63
|
-
|
|
64
|
-
#### Inherited from
|
|
65
|
-
|
|
66
|
-
[InlineElementStyles](InlineElementStyles.md).[letterSpacing](InlineElementStyles.md#letterspacing)
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### lineHeight
|
|
71
|
-
|
|
72
|
-
• `Optional` **lineHeight**: `string`
|
|
73
|
-
|
|
74
|
-
#### Inherited from
|
|
75
|
-
|
|
76
|
-
[InlineElementStyles](InlineElementStyles.md).[lineHeight](InlineElementStyles.md#lineheight)
|