@bigcommerce/checkout-sdk 1.308.2 → 1.308.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -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 +16 -158
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +54 -0
- package/docs/classes/internal_.CheckoutButtonInitializer.md +179 -0
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +54 -0
- package/docs/classes/internal_.StandardError.md +0 -4
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +31 -0
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +59 -0
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +38 -0
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +28 -0
- package/docs/enums/internal_.AmazonPayV2Placement.md +55 -0
- package/docs/enums/internal_.CheckoutButtonMethodType.md +164 -0
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +38 -0
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +45 -0
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +38 -0
- package/docs/enums/internal_.StyleButtonColor.md +45 -0
- package/docs/enums/internal_.StyleButtonLabel.md +45 -0
- package/docs/enums/internal_.StyleButtonLayout.md +24 -0
- package/docs/enums/internal_.StyleButtonShape.md +24 -0
- package/docs/interfaces/internal_.Address.md +0 -4
- package/docs/interfaces/internal_.AddressRequestBody.md +0 -2
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +82 -0
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +117 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +37 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +38 -0
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +139 -0
- package/docs/interfaces/internal_.AmazonPayV2Price.md +28 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +40 -0
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +291 -0
- package/docs/interfaces/internal_.BraintreeError.md +37 -0
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +122 -0
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +113 -0
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +56 -0
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +26 -0
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +24 -0
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +57 -0
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +24 -0
- package/docs/interfaces/{internal_.GooglePayCustomerInitializeOptions.md → internal_.GooglePayButtonInitializeOptions.md} +5 -16
- package/docs/interfaces/internal_.LineItem.md +8 -163
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +66 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +69 -0
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +61 -0
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +68 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +77 -0
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +58 -0
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +52 -0
- package/docs/interfaces/internal_.RequestOptions.md +1 -5
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +17 -0
- package/docs/modules/internal_.md +51 -515
- package/package.json +1 -1
- package/docs/classes/internal_.CartChangedError.md +0 -62
- package/docs/classes/internal_.CheckoutService.md +0 -1528
- package/docs/classes/internal_.CurrencyService.md +0 -56
- package/docs/classes/internal_.EmbeddedCheckout.md +0 -42
- package/docs/classes/internal_.LanguageService.md +0 -103
- package/docs/classes/internal_.RequestError.md +0 -108
- package/docs/enums/internal_.AdyenV2CardFields.md +0 -31
- package/docs/enums/internal_.AdyenV3CardFields.md +0 -31
- package/docs/enums/internal_.CheckoutIncludes.md +0 -31
- package/docs/enums/internal_.HostedFieldType.md +0 -52
- package/docs/enums/internal_.IconStyle.md +0 -24
- package/docs/enums/internal_.RadiusUnit.md +0 -24
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +0 -70
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +0 -68
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +0 -108
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +0 -108
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +0 -35
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +0 -42
- package/docs/interfaces/internal_.AdyenComponent.md +0 -74
- package/docs/interfaces/internal_.AdyenComponentEvents.md +0 -76
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +0 -76
- package/docs/interfaces/internal_.AdyenComponent_2.md +0 -74
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +0 -187
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +0 -19
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +0 -23
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +0 -35
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +0 -35
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +0 -99
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +0 -162
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +0 -59
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +0 -198
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +0 -137
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +0 -59
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +0 -67
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +0 -32
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +0 -102
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +0 -87
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +0 -26
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +0 -28
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +0 -27
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +0 -79
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.BankInstrument.md +0 -114
- package/docs/interfaces/internal_.Banner.md +0 -24
- package/docs/interfaces/internal_.BaseAccountInstrument.md +0 -93
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +0 -237
- package/docs/interfaces/internal_.BaseElementOptions.md +0 -28
- package/docs/interfaces/internal_.BaseElementOptions_2.md +0 -50
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +0 -69
- package/docs/interfaces/internal_.BaseInstrument.md +0 -60
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +0 -376
- package/docs/interfaces/internal_.BillingAddress.md +0 -184
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +0 -155
- package/docs/interfaces/internal_.BlockElementStyles.md +0 -107
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +0 -31
- package/docs/interfaces/internal_.BodlEventsPayload.md +0 -9
- package/docs/interfaces/internal_.BodlService.md +0 -172
- package/docs/interfaces/internal_.BodyStyles.md +0 -17
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +0 -96
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +0 -91
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +0 -53
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +0 -53
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.BrowserInfo.md +0 -52
- package/docs/interfaces/internal_.ButtonResponse.md +0 -21
- package/docs/interfaces/internal_.ButtonStyles.md +0 -143
- package/docs/interfaces/internal_.CardCvcElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.CardElementOptions.md +0 -93
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardInstrument.md +0 -117
- package/docs/interfaces/internal_.CardNumberElementOptions.md +0 -90
- package/docs/interfaces/internal_.CardPaymentMethodState.md +0 -62
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +0 -45
- package/docs/interfaces/internal_.CardState.md +0 -42
- package/docs/interfaces/internal_.CardStateErrors.md +0 -9
- package/docs/interfaces/internal_.CardStateErrors_2.md +0 -9
- package/docs/interfaces/internal_.CardState_2.md +0 -42
- package/docs/interfaces/internal_.Cart.md +0 -108
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.CheckableInputStyles.md +0 -177
- package/docs/interfaces/internal_.ChecklistStyles.md +0 -129
- package/docs/interfaces/internal_.Checkout.md +0 -204
- package/docs/interfaces/internal_.CheckoutParams.md +0 -17
- package/docs/interfaces/internal_.CheckoutPayment.md +0 -44
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +0 -17
- package/docs/interfaces/internal_.CheckoutRequestBody.md +0 -17
- package/docs/interfaces/internal_.CheckoutSelectors.md +0 -31
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +0 -38
- package/docs/interfaces/internal_.CheckoutSettings.md +0 -203
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +0 -638
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +0 -503
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +0 -760
- package/docs/interfaces/internal_.Consignment.md +0 -73
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +0 -38
- package/docs/interfaces/internal_.ConsignmentLineItem.md +0 -24
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +0 -17
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +0 -45
- package/docs/interfaces/internal_.Coordinates.md +0 -24
- package/docs/interfaces/internal_.Country.md +0 -45
- package/docs/interfaces/internal_.Coupon.md +0 -45
- package/docs/interfaces/internal_.CreditCardInstrument.md +0 -87
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +0 -31
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +0 -31
- package/docs/interfaces/internal_.CssProperties.md +0 -213
- package/docs/interfaces/internal_.CssProperties_2.md +0 -213
- package/docs/interfaces/internal_.Currency.md +0 -38
- package/docs/interfaces/internal_.CustomItem.md +0 -52
- package/docs/interfaces/internal_.Customer.md +0 -93
- package/docs/interfaces/internal_.CustomerAddress.md +0 -184
- package/docs/interfaces/internal_.CustomerCredentials.md +0 -24
- package/docs/interfaces/internal_.CustomerGroup.md +0 -24
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.CustomerRequestOptions.md +0 -62
- package/docs/interfaces/internal_.DigitalItem.md +0 -312
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +0 -69
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +0 -148
- package/docs/interfaces/internal_.Discount.md +0 -24
- package/docs/interfaces/internal_.DisplaySettings.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +0 -31
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +0 -136
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +0 -143
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +0 -17
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +0 -95
- package/docs/interfaces/internal_.FlashMessage.md +0 -31
- package/docs/interfaces/internal_.FormField.md +0 -115
- package/docs/interfaces/internal_.FormFieldItem.md +0 -24
- package/docs/interfaces/internal_.FormFieldOptions.md +0 -31
- package/docs/interfaces/internal_.FormFields.md +0 -31
- package/docs/interfaces/internal_.GatewayOrderPayment.md +0 -110
- package/docs/interfaces/internal_.GiftCertificate.md +0 -45
- package/docs/interfaces/internal_.GiftCertificateItem.md +0 -80
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +0 -96
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +0 -95
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +0 -37
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +0 -38
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.HostedFormOptions.md +0 -116
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +0 -52
- package/docs/interfaces/internal_.HostedInputValidateResults.md +0 -24
- package/docs/interfaces/internal_.HostedInstrument.md +0 -24
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +0 -56
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +0 -24
- package/docs/interfaces/internal_.IbanElementOptions.md +0 -84
- package/docs/interfaces/internal_.IdealElementOptions.md +0 -72
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +0 -38
- package/docs/interfaces/internal_.InitializationStrategy.md +0 -23
- package/docs/interfaces/internal_.InlineElementStyles.md +0 -55
- package/docs/interfaces/internal_.InputDetail.md +0 -82
- package/docs/interfaces/internal_.InputDetail_2.md +0 -82
- package/docs/interfaces/internal_.InputStyles.md +0 -154
- package/docs/interfaces/internal_.Item.md +0 -24
- package/docs/interfaces/internal_.Item_2.md +0 -28
- package/docs/interfaces/internal_.Item_3.md +0 -28
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +0 -30
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +0 -30
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.LabelStyles.md +0 -78
- package/docs/interfaces/internal_.LanguageConfig.md +0 -59
- package/docs/interfaces/internal_.LineItemCategory.md +0 -17
- package/docs/interfaces/internal_.LineItemMap.md +0 -38
- package/docs/interfaces/internal_.LineItemOption.md +0 -38
- package/docs/interfaces/internal_.LineItemSocialData.md +0 -38
- package/docs/interfaces/internal_.LinkStyles.md +0 -92
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +0 -31
- package/docs/interfaces/internal_.Locales.md +0 -9
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +0 -19
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +0 -126
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +0 -59
- package/docs/interfaces/internal_.MonerisStylingProps.md +0 -82
- package/docs/interfaces/internal_.NonceGenerationError.md +0 -31
- package/docs/interfaces/internal_.NonceInstrument.md +0 -38
- package/docs/interfaces/internal_.Option_2.md +0 -24
- package/docs/interfaces/internal_.OptionsResponse.md +0 -79
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.Order.md +0 -199
- package/docs/interfaces/internal_.OrderConsignment.md +0 -17
- package/docs/interfaces/internal_.OrderPayment.md +0 -60
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +0 -41
- package/docs/interfaces/internal_.OrderRequestBody.md +0 -35
- package/docs/interfaces/internal_.OrderShippingConsignment.md +0 -220
- package/docs/interfaces/internal_.PasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.PayPalInstrument.md +0 -93
- package/docs/interfaces/internal_.PaymentMethod.md +0 -100
- package/docs/interfaces/internal_.PaymentMethodConfig.md +0 -122
- package/docs/interfaces/internal_.PaymentRequestOptions.md +0 -69
- package/docs/interfaces/internal_.PaymentSettings.md +0 -24
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -92
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +0 -30
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +0 -35
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +0 -38
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +0 -150
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +0 -188
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +0 -45
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +0 -24
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +0 -38
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +0 -48
- package/docs/interfaces/internal_.PhysicalItem.md +0 -313
- package/docs/interfaces/internal_.PickupMethod.md +0 -45
- package/docs/interfaces/internal_.PickupOptionResult.md +0 -17
- package/docs/interfaces/internal_.Promotion.md +0 -17
- package/docs/interfaces/internal_.Radius.md +0 -24
- package/docs/interfaces/internal_.Region.md +0 -24
- package/docs/interfaces/internal_.SearchArea.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +0 -24
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.ShippingOption.md +0 -66
- package/docs/interfaces/internal_.ShippingRequestOptions.md +0 -67
- package/docs/interfaces/internal_.ShopperConfig.md +0 -31
- package/docs/interfaces/internal_.ShopperCurrency.md +0 -96
- package/docs/interfaces/internal_.SignInEmail.md +0 -24
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +0 -24
- package/docs/interfaces/internal_.SpamProtectionOptions.md +0 -27
- package/docs/interfaces/internal_.SquareFormElement.md +0 -30
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +0 -133
- package/docs/interfaces/internal_.StepStyles.md +0 -122
- package/docs/interfaces/internal_.StepTracker.md +0 -66
- package/docs/interfaces/internal_.StepTrackerConfig.md +0 -17
- package/docs/interfaces/internal_.StoreConfig.md +0 -117
- package/docs/interfaces/internal_.StoreCurrency.md +0 -58
- package/docs/interfaces/internal_.StoreLinks.md +0 -59
- package/docs/interfaces/internal_.StoreProfile.md +0 -73
- package/docs/interfaces/internal_.StripeCustomerEvent.md +0 -76
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +0 -172
- package/docs/interfaces/internal_.StripeElementClasses.md +0 -65
- package/docs/interfaces/internal_.StripeElementStyle.md +0 -46
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +0 -289
- package/docs/interfaces/internal_.StripeEvent.md +0 -39
- package/docs/interfaces/internal_.StripeShippingEvent.md +0 -76
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +0 -94
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +0 -109
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.StyleOptions.md +0 -46
- package/docs/interfaces/internal_.StyleOptions_2.md +0 -46
- package/docs/interfaces/internal_.SubInputDetail.md +0 -64
- package/docs/interfaces/internal_.SubInputDetail_2.md +0 -64
- package/docs/interfaces/internal_.Subscriptions.md +0 -31
- package/docs/interfaces/internal_.Tax.md +0 -24
- package/docs/interfaces/internal_.TextInputStyles.md +0 -177
- package/docs/interfaces/internal_.ThreeDSecure.md +0 -52
- package/docs/interfaces/internal_.ThreeDSecureToken.md +0 -17
- package/docs/interfaces/internal_.TranslationData.md +0 -9
- package/docs/interfaces/internal_.Translations.md +0 -9
- package/docs/interfaces/internal_.UnknownObject.md +0 -9
- package/docs/interfaces/internal_.VaultedInstrument.md +0 -31
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.WechatState.md +0 -17
- package/docs/interfaces/internal_.WechatState_2.md +0 -17
- package/docs/interfaces/internal_.WithAccountCreation.md +0 -17
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +0 -17
- package/docs/interfaces/internal_.WithDocumentInstrument.md +0 -17
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +0 -24
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +0 -17
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / IndividualCardElementOptions
|
|
2
|
-
|
|
3
|
-
# Interface: IndividualCardElementOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).IndividualCardElementOptions
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [cardCvcElementOptions](internal_.IndividualCardElementOptions.md#cardcvcelementoptions)
|
|
12
|
-
- [cardExpiryElementOptions](internal_.IndividualCardElementOptions.md#cardexpiryelementoptions)
|
|
13
|
-
- [cardNumberElementOptions](internal_.IndividualCardElementOptions.md#cardnumberelementoptions)
|
|
14
|
-
- [zipCodeElementOptions](internal_.IndividualCardElementOptions.md#zipcodeelementoptions)
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
### cardCvcElementOptions
|
|
19
|
-
|
|
20
|
-
• **cardCvcElementOptions**: [`CardCvcElementOptions`](internal_.CardCvcElementOptions.md)
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### cardExpiryElementOptions
|
|
25
|
-
|
|
26
|
-
• **cardExpiryElementOptions**: [`CardExpiryElementOptions`](internal_.CardExpiryElementOptions.md)
|
|
27
|
-
|
|
28
|
-
___
|
|
29
|
-
|
|
30
|
-
### cardNumberElementOptions
|
|
31
|
-
|
|
32
|
-
• **cardNumberElementOptions**: [`CardNumberElementOptions`](internal_.CardNumberElementOptions.md)
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### zipCodeElementOptions
|
|
37
|
-
|
|
38
|
-
• `Optional` **zipCodeElementOptions**: [`ZipCodeElementOptions`](internal_.ZipCodeElementOptions.md)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / InitializationStrategy
|
|
2
|
-
|
|
3
|
-
# Interface: InitializationStrategy
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).InitializationStrategy
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- `Partial`<[`UnknownObject`](internal_.UnknownObject.md)\>
|
|
10
|
-
|
|
11
|
-
↳ **`InitializationStrategy`**
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [type](internal_.InitializationStrategy.md#type)
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### type
|
|
22
|
-
|
|
23
|
-
• **type**: `string`
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / InlineElementStyles
|
|
2
|
-
|
|
3
|
-
# Interface: InlineElementStyles
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).InlineElementStyles
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- **`InlineElementStyles`**
|
|
10
|
-
|
|
11
|
-
↳ [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
12
|
-
|
|
13
|
-
↳ [`LinkStyles`](internal_.LinkStyles.md)
|
|
14
|
-
|
|
15
|
-
↳ [`LabelStyles`](internal_.LabelStyles.md)
|
|
16
|
-
|
|
17
|
-
## Table of contents
|
|
18
|
-
|
|
19
|
-
### Properties
|
|
20
|
-
|
|
21
|
-
- [color](internal_.InlineElementStyles.md#color)
|
|
22
|
-
- [fontFamily](internal_.InlineElementStyles.md#fontfamily)
|
|
23
|
-
- [fontWeight](internal_.InlineElementStyles.md#fontweight)
|
|
24
|
-
- [letterSpacing](internal_.InlineElementStyles.md#letterspacing)
|
|
25
|
-
- [lineHeight](internal_.InlineElementStyles.md#lineheight)
|
|
26
|
-
|
|
27
|
-
## Properties
|
|
28
|
-
|
|
29
|
-
### color
|
|
30
|
-
|
|
31
|
-
• `Optional` **color**: `string`
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### fontFamily
|
|
36
|
-
|
|
37
|
-
• `Optional` **fontFamily**: `string`
|
|
38
|
-
|
|
39
|
-
___
|
|
40
|
-
|
|
41
|
-
### fontWeight
|
|
42
|
-
|
|
43
|
-
• `Optional` **fontWeight**: `string`
|
|
44
|
-
|
|
45
|
-
___
|
|
46
|
-
|
|
47
|
-
### letterSpacing
|
|
48
|
-
|
|
49
|
-
• `Optional` **letterSpacing**: `string`
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### lineHeight
|
|
54
|
-
|
|
55
|
-
• `Optional` **lineHeight**: `string`
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / InputDetail
|
|
2
|
-
|
|
3
|
-
# Interface: InputDetail
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).InputDetail
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [configuration](internal_.InputDetail.md#configuration)
|
|
12
|
-
- [details](internal_.InputDetail.md#details)
|
|
13
|
-
- [itemSearchUrl](internal_.InputDetail.md#itemsearchurl)
|
|
14
|
-
- [items](internal_.InputDetail.md#items)
|
|
15
|
-
- [key](internal_.InputDetail.md#key)
|
|
16
|
-
- [optional](internal_.InputDetail.md#optional)
|
|
17
|
-
- [type](internal_.InputDetail.md#type)
|
|
18
|
-
- [value](internal_.InputDetail.md#value)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### configuration
|
|
23
|
-
|
|
24
|
-
• `Optional` **configuration**: `object`
|
|
25
|
-
|
|
26
|
-
Configuration parameters for the required input.
|
|
27
|
-
|
|
28
|
-
___
|
|
29
|
-
|
|
30
|
-
### details
|
|
31
|
-
|
|
32
|
-
• `Optional` **details**: [`SubInputDetail`](internal_.SubInputDetail.md)[]
|
|
33
|
-
|
|
34
|
-
Input details can also be provided recursively.
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### itemSearchUrl
|
|
39
|
-
|
|
40
|
-
• `Optional` **itemSearchUrl**: `string`
|
|
41
|
-
|
|
42
|
-
In case of a select, the URL from which to query the items.
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### items
|
|
47
|
-
|
|
48
|
-
• `Optional` **items**: [`Item_2`](internal_.Item_2.md)[]
|
|
49
|
-
|
|
50
|
-
In case of a select, the items to choose from.
|
|
51
|
-
|
|
52
|
-
___
|
|
53
|
-
|
|
54
|
-
### key
|
|
55
|
-
|
|
56
|
-
• `Optional` **key**: `string`
|
|
57
|
-
|
|
58
|
-
The value to provide in the result.
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### optional
|
|
63
|
-
|
|
64
|
-
• `Optional` **optional**: `boolean`
|
|
65
|
-
|
|
66
|
-
True if this input value is optional.
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### type
|
|
71
|
-
|
|
72
|
-
• `Optional` **type**: `string`
|
|
73
|
-
|
|
74
|
-
The type of the required input.
|
|
75
|
-
|
|
76
|
-
___
|
|
77
|
-
|
|
78
|
-
### value
|
|
79
|
-
|
|
80
|
-
• `Optional` **value**: `string`
|
|
81
|
-
|
|
82
|
-
The value can be pre-filled, if available.
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / InputDetail\_2
|
|
2
|
-
|
|
3
|
-
# Interface: InputDetail\_2
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).InputDetail_2
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [configuration](internal_.InputDetail_2.md#configuration)
|
|
12
|
-
- [details](internal_.InputDetail_2.md#details)
|
|
13
|
-
- [itemSearchUrl](internal_.InputDetail_2.md#itemsearchurl)
|
|
14
|
-
- [items](internal_.InputDetail_2.md#items)
|
|
15
|
-
- [key](internal_.InputDetail_2.md#key)
|
|
16
|
-
- [optional](internal_.InputDetail_2.md#optional)
|
|
17
|
-
- [type](internal_.InputDetail_2.md#type)
|
|
18
|
-
- [value](internal_.InputDetail_2.md#value)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### configuration
|
|
23
|
-
|
|
24
|
-
• `Optional` **configuration**: `object`
|
|
25
|
-
|
|
26
|
-
Configuration parameters for the required input.
|
|
27
|
-
|
|
28
|
-
___
|
|
29
|
-
|
|
30
|
-
### details
|
|
31
|
-
|
|
32
|
-
• `Optional` **details**: [`SubInputDetail_2`](internal_.SubInputDetail_2.md)[]
|
|
33
|
-
|
|
34
|
-
Input details can also be provided recursively.
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### itemSearchUrl
|
|
39
|
-
|
|
40
|
-
• `Optional` **itemSearchUrl**: `string`
|
|
41
|
-
|
|
42
|
-
In case of a select, the URL from which to query the items.
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### items
|
|
47
|
-
|
|
48
|
-
• `Optional` **items**: [`Item_3`](internal_.Item_3.md)[]
|
|
49
|
-
|
|
50
|
-
In case of a select, the items to choose from.
|
|
51
|
-
|
|
52
|
-
___
|
|
53
|
-
|
|
54
|
-
### key
|
|
55
|
-
|
|
56
|
-
• `Optional` **key**: `string`
|
|
57
|
-
|
|
58
|
-
The value to provide in the result.
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### optional
|
|
63
|
-
|
|
64
|
-
• `Optional` **optional**: `boolean`
|
|
65
|
-
|
|
66
|
-
True if this input value is optional.
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### type
|
|
71
|
-
|
|
72
|
-
• `Optional` **type**: `string`
|
|
73
|
-
|
|
74
|
-
The type of the required input.
|
|
75
|
-
|
|
76
|
-
___
|
|
77
|
-
|
|
78
|
-
### value
|
|
79
|
-
|
|
80
|
-
• `Optional` **value**: `string`
|
|
81
|
-
|
|
82
|
-
The value can be pre-filled, if available.
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / InputStyles
|
|
2
|
-
|
|
3
|
-
# Interface: InputStyles
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).InputStyles
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
10
|
-
|
|
11
|
-
↳ **`InputStyles`**
|
|
12
|
-
|
|
13
|
-
↳↳ [`TextInputStyles`](internal_.TextInputStyles.md)
|
|
14
|
-
|
|
15
|
-
↳↳ [`CheckableInputStyles`](internal_.CheckableInputStyles.md)
|
|
16
|
-
|
|
17
|
-
## Table of contents
|
|
18
|
-
|
|
19
|
-
### Properties
|
|
20
|
-
|
|
21
|
-
- [active](internal_.InputStyles.md#active)
|
|
22
|
-
- [backgroundColor](internal_.InputStyles.md#backgroundcolor)
|
|
23
|
-
- [borderColor](internal_.InputStyles.md#bordercolor)
|
|
24
|
-
- [borderWidth](internal_.InputStyles.md#borderwidth)
|
|
25
|
-
- [boxShadow](internal_.InputStyles.md#boxshadow)
|
|
26
|
-
- [color](internal_.InputStyles.md#color)
|
|
27
|
-
- [disabled](internal_.InputStyles.md#disabled)
|
|
28
|
-
- [error](internal_.InputStyles.md#error)
|
|
29
|
-
- [focus](internal_.InputStyles.md#focus)
|
|
30
|
-
- [fontFamily](internal_.InputStyles.md#fontfamily)
|
|
31
|
-
- [fontWeight](internal_.InputStyles.md#fontweight)
|
|
32
|
-
- [hover](internal_.InputStyles.md#hover)
|
|
33
|
-
- [letterSpacing](internal_.InputStyles.md#letterspacing)
|
|
34
|
-
- [lineHeight](internal_.InputStyles.md#lineheight)
|
|
35
|
-
|
|
36
|
-
## Properties
|
|
37
|
-
|
|
38
|
-
### active
|
|
39
|
-
|
|
40
|
-
• `Optional` **active**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### backgroundColor
|
|
45
|
-
|
|
46
|
-
• `Optional` **backgroundColor**: `string`
|
|
47
|
-
|
|
48
|
-
#### Inherited from
|
|
49
|
-
|
|
50
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[backgroundColor](internal_.BlockElementStyles.md#backgroundcolor)
|
|
51
|
-
|
|
52
|
-
___
|
|
53
|
-
|
|
54
|
-
### borderColor
|
|
55
|
-
|
|
56
|
-
• `Optional` **borderColor**: `string`
|
|
57
|
-
|
|
58
|
-
#### Inherited from
|
|
59
|
-
|
|
60
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[borderColor](internal_.BlockElementStyles.md#bordercolor)
|
|
61
|
-
|
|
62
|
-
___
|
|
63
|
-
|
|
64
|
-
### borderWidth
|
|
65
|
-
|
|
66
|
-
• `Optional` **borderWidth**: `string`
|
|
67
|
-
|
|
68
|
-
#### Inherited from
|
|
69
|
-
|
|
70
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[borderWidth](internal_.BlockElementStyles.md#borderwidth)
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
### boxShadow
|
|
75
|
-
|
|
76
|
-
• `Optional` **boxShadow**: `string`
|
|
77
|
-
|
|
78
|
-
#### Inherited from
|
|
79
|
-
|
|
80
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[boxShadow](internal_.BlockElementStyles.md#boxshadow)
|
|
81
|
-
|
|
82
|
-
___
|
|
83
|
-
|
|
84
|
-
### color
|
|
85
|
-
|
|
86
|
-
• `Optional` **color**: `string`
|
|
87
|
-
|
|
88
|
-
#### Inherited from
|
|
89
|
-
|
|
90
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[color](internal_.BlockElementStyles.md#color)
|
|
91
|
-
|
|
92
|
-
___
|
|
93
|
-
|
|
94
|
-
### disabled
|
|
95
|
-
|
|
96
|
-
• `Optional` **disabled**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
97
|
-
|
|
98
|
-
___
|
|
99
|
-
|
|
100
|
-
### error
|
|
101
|
-
|
|
102
|
-
• `Optional` **error**: [`InputStyles`](internal_.InputStyles.md)
|
|
103
|
-
|
|
104
|
-
___
|
|
105
|
-
|
|
106
|
-
### focus
|
|
107
|
-
|
|
108
|
-
• `Optional` **focus**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
109
|
-
|
|
110
|
-
___
|
|
111
|
-
|
|
112
|
-
### fontFamily
|
|
113
|
-
|
|
114
|
-
• `Optional` **fontFamily**: `string`
|
|
115
|
-
|
|
116
|
-
#### Inherited from
|
|
117
|
-
|
|
118
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[fontFamily](internal_.BlockElementStyles.md#fontfamily)
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
|
-
### fontWeight
|
|
123
|
-
|
|
124
|
-
• `Optional` **fontWeight**: `string`
|
|
125
|
-
|
|
126
|
-
#### Inherited from
|
|
127
|
-
|
|
128
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[fontWeight](internal_.BlockElementStyles.md#fontweight)
|
|
129
|
-
|
|
130
|
-
___
|
|
131
|
-
|
|
132
|
-
### hover
|
|
133
|
-
|
|
134
|
-
• `Optional` **hover**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
135
|
-
|
|
136
|
-
___
|
|
137
|
-
|
|
138
|
-
### letterSpacing
|
|
139
|
-
|
|
140
|
-
• `Optional` **letterSpacing**: `string`
|
|
141
|
-
|
|
142
|
-
#### Inherited from
|
|
143
|
-
|
|
144
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[letterSpacing](internal_.BlockElementStyles.md#letterspacing)
|
|
145
|
-
|
|
146
|
-
___
|
|
147
|
-
|
|
148
|
-
### lineHeight
|
|
149
|
-
|
|
150
|
-
• `Optional` **lineHeight**: `string`
|
|
151
|
-
|
|
152
|
-
#### Inherited from
|
|
153
|
-
|
|
154
|
-
[BlockElementStyles](internal_.BlockElementStyles.md).[lineHeight](internal_.BlockElementStyles.md#lineheight)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / Item
|
|
2
|
-
|
|
3
|
-
# Interface: Item
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).Item
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [quantity](internal_.Item.md#quantity)
|
|
12
|
-
- [variantId](internal_.Item.md#variantid)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### quantity
|
|
17
|
-
|
|
18
|
-
• **quantity**: `number`
|
|
19
|
-
|
|
20
|
-
___
|
|
21
|
-
|
|
22
|
-
### variantId
|
|
23
|
-
|
|
24
|
-
• **variantId**: `number`
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / Item\_2
|
|
2
|
-
|
|
3
|
-
# Interface: Item\_2
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).Item_2
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [id](internal_.Item_2.md#id)
|
|
12
|
-
- [name](internal_.Item_2.md#name)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### id
|
|
17
|
-
|
|
18
|
-
• `Optional` **id**: `string`
|
|
19
|
-
|
|
20
|
-
The value to provide in the result.
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### name
|
|
25
|
-
|
|
26
|
-
• `Optional` **name**: `string`
|
|
27
|
-
|
|
28
|
-
The display name.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / Item\_3
|
|
2
|
-
|
|
3
|
-
# Interface: Item\_3
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).Item_3
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [id](internal_.Item_3.md#id)
|
|
12
|
-
- [name](internal_.Item_3.md#name)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### id
|
|
17
|
-
|
|
18
|
-
• `Optional` **id**: `string`
|
|
19
|
-
|
|
20
|
-
The value to provide in the result.
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### name
|
|
25
|
-
|
|
26
|
-
• `Optional` **name**: `string`
|
|
27
|
-
|
|
28
|
-
The display name.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / KlarnaLoadResponse
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaLoadResponse
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).KlarnaLoadResponse
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [error](internal_.KlarnaLoadResponse.md#error)
|
|
12
|
-
- [show\_form](internal_.KlarnaLoadResponse.md#show_form)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### error
|
|
17
|
-
|
|
18
|
-
• `Optional` **error**: `Object`
|
|
19
|
-
|
|
20
|
-
#### Type declaration
|
|
21
|
-
|
|
22
|
-
| Name | Type |
|
|
23
|
-
| :------ | :------ |
|
|
24
|
-
| `invalid_fields` | `string`[] |
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### show\_form
|
|
29
|
-
|
|
30
|
-
• **show\_form**: `boolean`
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / KlarnaLoadResponse\_2
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaLoadResponse\_2
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).KlarnaLoadResponse_2
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [error](internal_.KlarnaLoadResponse_2.md#error)
|
|
12
|
-
- [show\_form](internal_.KlarnaLoadResponse_2.md#show_form)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### error
|
|
17
|
-
|
|
18
|
-
• `Optional` **error**: `Object`
|
|
19
|
-
|
|
20
|
-
#### Type declaration
|
|
21
|
-
|
|
22
|
-
| Name | Type |
|
|
23
|
-
| :------ | :------ |
|
|
24
|
-
| `invalid_fields` | `string`[] |
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### show\_form
|
|
29
|
-
|
|
30
|
-
• **show\_form**: `boolean`
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / KlarnaPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: KlarnaPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).KlarnaPaymentInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize the Klarna payment method.
|
|
8
|
-
|
|
9
|
-
When Klarna is initialized, a widget will be inserted into the DOM. The
|
|
10
|
-
widget has a list of payment options for the customer to choose from.
|
|
11
|
-
|
|
12
|
-
```html
|
|
13
|
-
<!-- This is where the widget will be inserted -->
|
|
14
|
-
<div id="container"></div>
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
service.initializePayment({
|
|
19
|
-
methodId: 'klarna',
|
|
20
|
-
klarna: {
|
|
21
|
-
container: 'container'
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
An additional event callback can be registered.
|
|
27
|
-
|
|
28
|
-
```js
|
|
29
|
-
service.initializePayment({
|
|
30
|
-
methodId: 'klarnav2',
|
|
31
|
-
klarnav2: {
|
|
32
|
-
container: 'container',
|
|
33
|
-
onLoad(response) {
|
|
34
|
-
console.log(response);
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Table of contents
|
|
41
|
-
|
|
42
|
-
### Properties
|
|
43
|
-
|
|
44
|
-
- [container](internal_.KlarnaPaymentInitializeOptions.md#container)
|
|
45
|
-
|
|
46
|
-
### Methods
|
|
47
|
-
|
|
48
|
-
- [onLoad](internal_.KlarnaPaymentInitializeOptions.md#onload)
|
|
49
|
-
|
|
50
|
-
## Properties
|
|
51
|
-
|
|
52
|
-
### container
|
|
53
|
-
|
|
54
|
-
• **container**: `string`
|
|
55
|
-
|
|
56
|
-
The ID of a container which the payment widget should insert into.
|
|
57
|
-
|
|
58
|
-
## Methods
|
|
59
|
-
|
|
60
|
-
### onLoad
|
|
61
|
-
|
|
62
|
-
▸ `Optional` **onLoad**(`response`): `void`
|
|
63
|
-
|
|
64
|
-
A callback that gets called when the widget is loaded and ready to be
|
|
65
|
-
interacted with.
|
|
66
|
-
|
|
67
|
-
#### Parameters
|
|
68
|
-
|
|
69
|
-
| Name | Type | Description |
|
|
70
|
-
| :------ | :------ | :------ |
|
|
71
|
-
| `response` | [`KlarnaLoadResponse`](internal_.KlarnaLoadResponse.md) | The result of the initialization. It indicates whether or not the widget is loaded successfully. |
|
|
72
|
-
|
|
73
|
-
#### Returns
|
|
74
|
-
|
|
75
|
-
`void`
|