@bigcommerce/checkout-sdk 1.308.1 → 1.308.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +158 -16
- package/docs/classes/internal_.CartChangedError.md +62 -0
- package/docs/classes/internal_.CheckoutService.md +1528 -0
- package/docs/classes/internal_.CurrencyService.md +56 -0
- package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
- package/docs/classes/internal_.LanguageService.md +103 -0
- package/docs/classes/internal_.RequestError.md +108 -0
- package/docs/classes/internal_.StandardError.md +4 -0
- package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
- package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
- package/docs/enums/internal_.CheckoutIncludes.md +31 -0
- package/docs/enums/internal_.HostedFieldType.md +52 -0
- package/docs/enums/internal_.IconStyle.md +24 -0
- package/docs/enums/internal_.RadiusUnit.md +24 -0
- package/docs/interfaces/internal_.Address.md +4 -0
- package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
- package/docs/interfaces/internal_.AdyenComponent.md +74 -0
- package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
- package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.BankInstrument.md +114 -0
- package/docs/interfaces/internal_.Banner.md +24 -0
- package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
- package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
- package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
- package/docs/interfaces/internal_.BaseInstrument.md +60 -0
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
- package/docs/interfaces/internal_.BillingAddress.md +184 -0
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
- package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
- package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
- package/docs/interfaces/internal_.BodlService.md +172 -0
- package/docs/interfaces/internal_.BodyStyles.md +17 -0
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.BrowserInfo.md +52 -0
- package/docs/interfaces/internal_.ButtonResponse.md +21 -0
- package/docs/interfaces/internal_.ButtonStyles.md +143 -0
- package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.CardElementOptions.md +93 -0
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardInstrument.md +117 -0
- package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
- package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
- package/docs/interfaces/internal_.CardState.md +42 -0
- package/docs/interfaces/internal_.CardStateErrors.md +9 -0
- package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
- package/docs/interfaces/internal_.CardState_2.md +42 -0
- package/docs/interfaces/internal_.Cart.md +108 -0
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
- package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
- package/docs/interfaces/internal_.Checkout.md +204 -0
- package/docs/interfaces/internal_.CheckoutParams.md +17 -0
- package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
- package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
- package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
- package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
- package/docs/interfaces/internal_.Consignment.md +73 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
- package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
- package/docs/interfaces/internal_.Coordinates.md +24 -0
- package/docs/interfaces/internal_.Country.md +45 -0
- package/docs/interfaces/internal_.Coupon.md +45 -0
- package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
- package/docs/interfaces/internal_.CssProperties.md +213 -0
- package/docs/interfaces/internal_.CssProperties_2.md +213 -0
- package/docs/interfaces/internal_.Currency.md +38 -0
- package/docs/interfaces/internal_.CustomItem.md +52 -0
- package/docs/interfaces/internal_.Customer.md +93 -0
- package/docs/interfaces/internal_.CustomerAddress.md +184 -0
- package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
- package/docs/interfaces/internal_.CustomerGroup.md +24 -0
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
- package/docs/interfaces/internal_.DigitalItem.md +312 -0
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
- package/docs/interfaces/internal_.Discount.md +24 -0
- package/docs/interfaces/internal_.DisplaySettings.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
- package/docs/interfaces/internal_.FlashMessage.md +31 -0
- package/docs/interfaces/internal_.FormField.md +115 -0
- package/docs/interfaces/internal_.FormFieldItem.md +24 -0
- package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
- package/docs/interfaces/internal_.FormFields.md +31 -0
- package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
- package/docs/interfaces/internal_.GiftCertificate.md +45 -0
- package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
- package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
- package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
- package/docs/interfaces/internal_.HostedInstrument.md +24 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
- package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
- package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
- package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
- package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
- package/docs/interfaces/internal_.InputDetail.md +82 -0
- package/docs/interfaces/internal_.InputDetail_2.md +82 -0
- package/docs/interfaces/internal_.InputStyles.md +154 -0
- package/docs/interfaces/internal_.Item.md +24 -0
- package/docs/interfaces/internal_.Item_2.md +28 -0
- package/docs/interfaces/internal_.Item_3.md +28 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.LabelStyles.md +78 -0
- package/docs/interfaces/internal_.LanguageConfig.md +59 -0
- package/docs/interfaces/internal_.LineItem.md +163 -8
- package/docs/interfaces/internal_.LineItemCategory.md +17 -0
- package/docs/interfaces/internal_.LineItemMap.md +38 -0
- package/docs/interfaces/internal_.LineItemOption.md +38 -0
- package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
- package/docs/interfaces/internal_.LinkStyles.md +92 -0
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
- package/docs/interfaces/internal_.Locales.md +9 -0
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
- package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
- package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
- package/docs/interfaces/internal_.NonceInstrument.md +38 -0
- package/docs/interfaces/internal_.Option_2.md +24 -0
- package/docs/interfaces/internal_.OptionsResponse.md +79 -0
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.Order.md +199 -0
- package/docs/interfaces/internal_.OrderConsignment.md +17 -0
- package/docs/interfaces/internal_.OrderPayment.md +60 -0
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
- package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
- package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
- package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
- package/docs/interfaces/internal_.PaymentMethod.md +100 -0
- package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
- package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
- package/docs/interfaces/internal_.PaymentSettings.md +24 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
- package/docs/interfaces/internal_.PhysicalItem.md +313 -0
- package/docs/interfaces/internal_.PickupMethod.md +45 -0
- package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
- package/docs/interfaces/internal_.Promotion.md +17 -0
- package/docs/interfaces/internal_.Radius.md +24 -0
- package/docs/interfaces/internal_.Region.md +24 -0
- package/docs/interfaces/internal_.RequestOptions.md +5 -1
- package/docs/interfaces/internal_.SearchArea.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.ShippingOption.md +66 -0
- package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
- package/docs/interfaces/internal_.ShopperConfig.md +31 -0
- package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
- package/docs/interfaces/internal_.SignInEmail.md +24 -0
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
- package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
- package/docs/interfaces/internal_.SquareFormElement.md +30 -0
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
- package/docs/interfaces/internal_.StepStyles.md +122 -0
- package/docs/interfaces/internal_.StepTracker.md +66 -0
- package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
- package/docs/interfaces/internal_.StoreConfig.md +117 -0
- package/docs/interfaces/internal_.StoreCurrency.md +58 -0
- package/docs/interfaces/internal_.StoreLinks.md +59 -0
- package/docs/interfaces/internal_.StoreProfile.md +73 -0
- package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
- package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
- package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
- package/docs/interfaces/internal_.StripeEvent.md +39 -0
- package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.StyleOptions.md +46 -0
- package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
- package/docs/interfaces/internal_.SubInputDetail.md +64 -0
- package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
- package/docs/interfaces/internal_.Subscriptions.md +31 -0
- package/docs/interfaces/internal_.Tax.md +24 -0
- package/docs/interfaces/internal_.TextInputStyles.md +177 -0
- package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
- package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
- package/docs/interfaces/internal_.TranslationData.md +9 -0
- package/docs/interfaces/internal_.Translations.md +9 -0
- package/docs/interfaces/internal_.UnknownObject.md +9 -0
- package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.WechatState.md +17 -0
- package/docs/interfaces/internal_.WechatState_2.md +17 -0
- package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
- package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
- package/docs/modules/internal_.md +515 -51
- package/package.json +1 -1
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
- package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
- package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
- package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
- package/docs/enums/internal_.StyleButtonColor.md +0 -45
- package/docs/enums/internal_.StyleButtonLabel.md +0 -45
- package/docs/enums/internal_.StyleButtonLayout.md +0 -24
- package/docs/enums/internal_.StyleButtonShape.md +0 -24
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
- package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
- package/docs/interfaces/internal_.BraintreeError.md +0 -37
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / DigitalRiverPaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: DigitalRiverPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).DigitalRiverPaymentInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the DigitalRiver payment method.
|
|
8
|
+
|
|
9
|
+
When DigitalRiver is initialized, a widget will be inserted into the DOM. The widget has a list of payment options for the customer to choose from.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<!-- This is where the widget will be inserted -->
|
|
13
|
+
<div id="container"></div>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
service.initializePayment({
|
|
18
|
+
methodId: 'digitalriver',
|
|
19
|
+
digitalriver: {
|
|
20
|
+
containerId: 'digitalriver-component-field',
|
|
21
|
+
// Callback for submitting payment form that gets called when a buyer approves DR payment
|
|
22
|
+
onSubmitForm: () => {
|
|
23
|
+
// Example function
|
|
24
|
+
this.submitOrder(
|
|
25
|
+
{
|
|
26
|
+
payment: {methodId: 'digitalriver',}
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
},
|
|
30
|
+
onError: (error) => {
|
|
31
|
+
console.log(error);
|
|
32
|
+
},
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Additional options can be passed in to customize the components and register
|
|
38
|
+
event callbacks.
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
service.initializePayment({
|
|
42
|
+
methodId: 'digitalriver',
|
|
43
|
+
digitalriver: {
|
|
44
|
+
containerId: 'digitalriver-component-field',
|
|
45
|
+
configuration: {
|
|
46
|
+
flow: 'checkout',
|
|
47
|
+
showSavePaymentAgreement: false,
|
|
48
|
+
showComplianceSection: true,
|
|
49
|
+
button: {
|
|
50
|
+
type: 'submitOrder',
|
|
51
|
+
},
|
|
52
|
+
usage: 'unscheduled',
|
|
53
|
+
showTermsOfSaleDisclosure: true,
|
|
54
|
+
paymentMethodConfiguration: {
|
|
55
|
+
classes: {
|
|
56
|
+
// these classes are to control styles on BC side
|
|
57
|
+
base: 'form-input optimizedCheckout-form-input'
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
// Callback for submitting payment form that gets called when a buyer approves DR payment
|
|
62
|
+
onSubmitForm: () => {
|
|
63
|
+
// Example function
|
|
64
|
+
this.submitOrder(
|
|
65
|
+
{
|
|
66
|
+
payment: {methodId: 'digitalriver',}
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
},
|
|
70
|
+
onError: (error) => {
|
|
71
|
+
console.log(error);
|
|
72
|
+
},
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Table of contents
|
|
78
|
+
|
|
79
|
+
### Properties
|
|
80
|
+
|
|
81
|
+
- [configuration](internal_.DigitalRiverPaymentInitializeOptions.md#configuration)
|
|
82
|
+
- [containerId](internal_.DigitalRiverPaymentInitializeOptions.md#containerid)
|
|
83
|
+
|
|
84
|
+
### Methods
|
|
85
|
+
|
|
86
|
+
- [onError](internal_.DigitalRiverPaymentInitializeOptions.md#onerror)
|
|
87
|
+
- [onRenderButton](internal_.DigitalRiverPaymentInitializeOptions.md#onrenderbutton)
|
|
88
|
+
- [onSubmitForm](internal_.DigitalRiverPaymentInitializeOptions.md#onsubmitform)
|
|
89
|
+
|
|
90
|
+
## Properties
|
|
91
|
+
|
|
92
|
+
### configuration
|
|
93
|
+
|
|
94
|
+
• **configuration**: [`OptionsResponse`](internal_.OptionsResponse.md)
|
|
95
|
+
|
|
96
|
+
Create a Configuration object for Drop-in that contains both required and optional values.
|
|
97
|
+
https://docs.digitalriver.com/digital-river-api/payment-integrations-1/drop-in/drop-in-integration-guide#step-5-configure-hydrate
|
|
98
|
+
|
|
99
|
+
___
|
|
100
|
+
|
|
101
|
+
### containerId
|
|
102
|
+
|
|
103
|
+
• **containerId**: `string`
|
|
104
|
+
|
|
105
|
+
The ID of a container which the Digital River drop in component should be mounted
|
|
106
|
+
|
|
107
|
+
## Methods
|
|
108
|
+
|
|
109
|
+
### onError
|
|
110
|
+
|
|
111
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
112
|
+
|
|
113
|
+
Callback that gets triggered when an error happens when submitting payment form and contains an object with codes and error messages
|
|
114
|
+
|
|
115
|
+
#### Parameters
|
|
116
|
+
|
|
117
|
+
| Name | Type |
|
|
118
|
+
| :------ | :------ |
|
|
119
|
+
| `error` | `Error` |
|
|
120
|
+
|
|
121
|
+
#### Returns
|
|
122
|
+
|
|
123
|
+
`void`
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### onRenderButton
|
|
128
|
+
|
|
129
|
+
▸ `Optional` **onRenderButton**(): `void`
|
|
130
|
+
|
|
131
|
+
Callback used to hide the standard submit button which is rendered right after the payment providers.
|
|
132
|
+
|
|
133
|
+
#### Returns
|
|
134
|
+
|
|
135
|
+
`void`
|
|
136
|
+
|
|
137
|
+
___
|
|
138
|
+
|
|
139
|
+
### onSubmitForm
|
|
140
|
+
|
|
141
|
+
▸ **onSubmitForm**(): `void`
|
|
142
|
+
|
|
143
|
+
Callback for submitting payment form that gets called
|
|
144
|
+
when buyer pay with DigitalRiver.
|
|
145
|
+
|
|
146
|
+
#### Returns
|
|
147
|
+
|
|
148
|
+
`void`
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / Discount
|
|
2
|
+
|
|
3
|
+
# Interface: Discount
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).Discount
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [discountedAmount](internal_.Discount.md#discountedamount)
|
|
12
|
+
- [id](internal_.Discount.md#id)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### discountedAmount
|
|
17
|
+
|
|
18
|
+
• **discountedAmount**: `number`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### id
|
|
23
|
+
|
|
24
|
+
• **id**: `string`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / DisplaySettings
|
|
2
|
+
|
|
3
|
+
# Interface: DisplaySettings
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).DisplaySettings
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [hidePriceFromGuests](internal_.DisplaySettings.md#hidepricefromguests)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### hidePriceFromGuests
|
|
16
|
+
|
|
17
|
+
• **hidePriceFromGuests**: `boolean`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutCompleteEvent
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutCompleteEvent
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutCompleteEvent
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [type](internal_.EmbeddedCheckoutCompleteEvent.md#type)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
• **type**: [`CheckoutComplete`](../modules/internal_.md#checkoutcomplete)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutError
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutError
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutError
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [message](internal_.EmbeddedCheckoutError.md#message)
|
|
12
|
+
- [subtype](internal_.EmbeddedCheckoutError.md#subtype)
|
|
13
|
+
- [type](internal_.EmbeddedCheckoutError.md#type)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### message
|
|
18
|
+
|
|
19
|
+
• **message**: `string`
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### subtype
|
|
24
|
+
|
|
25
|
+
• `Optional` **subtype**: `string`
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### type
|
|
30
|
+
|
|
31
|
+
• `Optional` **type**: `string`
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutErrorEvent
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutErrorEvent
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutErrorEvent
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [payload](internal_.EmbeddedCheckoutErrorEvent.md#payload)
|
|
12
|
+
- [type](internal_.EmbeddedCheckoutErrorEvent.md#type)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### payload
|
|
17
|
+
|
|
18
|
+
• **payload**: [`EmbeddedCheckoutError`](internal_.EmbeddedCheckoutError.md)
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### type
|
|
23
|
+
|
|
24
|
+
• **type**: [`CheckoutError`](../modules/internal_.md#checkouterror)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutFrameErrorEvent
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutFrameErrorEvent
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutFrameErrorEvent
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [payload](internal_.EmbeddedCheckoutFrameErrorEvent.md#payload)
|
|
12
|
+
- [type](internal_.EmbeddedCheckoutFrameErrorEvent.md#type)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### payload
|
|
17
|
+
|
|
18
|
+
• **payload**: [`EmbeddedCheckoutError`](internal_.EmbeddedCheckoutError.md)
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### type
|
|
23
|
+
|
|
24
|
+
• **type**: [`FrameError`](../modules/internal_.md#frameerror)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutFrameLoadedEvent
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutFrameLoadedEvent
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutFrameLoadedEvent
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [payload](internal_.EmbeddedCheckoutFrameLoadedEvent.md#payload)
|
|
12
|
+
- [type](internal_.EmbeddedCheckoutFrameLoadedEvent.md#type)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### payload
|
|
17
|
+
|
|
18
|
+
• `Optional` **payload**: [`EmbeddedContentOptions`](internal_.EmbeddedContentOptions.md)
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### type
|
|
23
|
+
|
|
24
|
+
• **type**: [`FrameLoaded`](../modules/internal_.md#frameloaded)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutLoadedEvent
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutLoadedEvent
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutLoadedEvent
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [type](internal_.EmbeddedCheckoutLoadedEvent.md#type)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
• **type**: [`CheckoutLoaded`](../modules/internal_.md#checkoutloaded)
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutOptions
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [containerId](internal_.EmbeddedCheckoutOptions.md#containerid)
|
|
12
|
+
- [styles](internal_.EmbeddedCheckoutOptions.md#styles)
|
|
13
|
+
- [url](internal_.EmbeddedCheckoutOptions.md#url)
|
|
14
|
+
|
|
15
|
+
### Methods
|
|
16
|
+
|
|
17
|
+
- [onComplete](internal_.EmbeddedCheckoutOptions.md#oncomplete)
|
|
18
|
+
- [onError](internal_.EmbeddedCheckoutOptions.md#onerror)
|
|
19
|
+
- [onFrameError](internal_.EmbeddedCheckoutOptions.md#onframeerror)
|
|
20
|
+
- [onFrameLoad](internal_.EmbeddedCheckoutOptions.md#onframeload)
|
|
21
|
+
- [onLoad](internal_.EmbeddedCheckoutOptions.md#onload)
|
|
22
|
+
- [onSignOut](internal_.EmbeddedCheckoutOptions.md#onsignout)
|
|
23
|
+
|
|
24
|
+
## Properties
|
|
25
|
+
|
|
26
|
+
### containerId
|
|
27
|
+
|
|
28
|
+
• **containerId**: `string`
|
|
29
|
+
|
|
30
|
+
___
|
|
31
|
+
|
|
32
|
+
### styles
|
|
33
|
+
|
|
34
|
+
• `Optional` **styles**: [`EmbeddedCheckoutStyles`](internal_.EmbeddedCheckoutStyles.md)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### url
|
|
39
|
+
|
|
40
|
+
• **url**: `string`
|
|
41
|
+
|
|
42
|
+
## Methods
|
|
43
|
+
|
|
44
|
+
### onComplete
|
|
45
|
+
|
|
46
|
+
▸ `Optional` **onComplete**(`event`): `void`
|
|
47
|
+
|
|
48
|
+
#### Parameters
|
|
49
|
+
|
|
50
|
+
| Name | Type |
|
|
51
|
+
| :------ | :------ |
|
|
52
|
+
| `event` | [`EmbeddedCheckoutCompleteEvent`](internal_.EmbeddedCheckoutCompleteEvent.md) |
|
|
53
|
+
|
|
54
|
+
#### Returns
|
|
55
|
+
|
|
56
|
+
`void`
|
|
57
|
+
|
|
58
|
+
___
|
|
59
|
+
|
|
60
|
+
### onError
|
|
61
|
+
|
|
62
|
+
▸ `Optional` **onError**(`event`): `void`
|
|
63
|
+
|
|
64
|
+
#### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type |
|
|
67
|
+
| :------ | :------ |
|
|
68
|
+
| `event` | [`EmbeddedCheckoutErrorEvent`](internal_.EmbeddedCheckoutErrorEvent.md) |
|
|
69
|
+
|
|
70
|
+
#### Returns
|
|
71
|
+
|
|
72
|
+
`void`
|
|
73
|
+
|
|
74
|
+
___
|
|
75
|
+
|
|
76
|
+
### onFrameError
|
|
77
|
+
|
|
78
|
+
▸ `Optional` **onFrameError**(`event`): `void`
|
|
79
|
+
|
|
80
|
+
#### Parameters
|
|
81
|
+
|
|
82
|
+
| Name | Type |
|
|
83
|
+
| :------ | :------ |
|
|
84
|
+
| `event` | [`EmbeddedCheckoutFrameErrorEvent`](internal_.EmbeddedCheckoutFrameErrorEvent.md) |
|
|
85
|
+
|
|
86
|
+
#### Returns
|
|
87
|
+
|
|
88
|
+
`void`
|
|
89
|
+
|
|
90
|
+
___
|
|
91
|
+
|
|
92
|
+
### onFrameLoad
|
|
93
|
+
|
|
94
|
+
▸ `Optional` **onFrameLoad**(`event`): `void`
|
|
95
|
+
|
|
96
|
+
#### Parameters
|
|
97
|
+
|
|
98
|
+
| Name | Type |
|
|
99
|
+
| :------ | :------ |
|
|
100
|
+
| `event` | [`EmbeddedCheckoutFrameLoadedEvent`](internal_.EmbeddedCheckoutFrameLoadedEvent.md) |
|
|
101
|
+
|
|
102
|
+
#### Returns
|
|
103
|
+
|
|
104
|
+
`void`
|
|
105
|
+
|
|
106
|
+
___
|
|
107
|
+
|
|
108
|
+
### onLoad
|
|
109
|
+
|
|
110
|
+
▸ `Optional` **onLoad**(`event`): `void`
|
|
111
|
+
|
|
112
|
+
#### Parameters
|
|
113
|
+
|
|
114
|
+
| Name | Type |
|
|
115
|
+
| :------ | :------ |
|
|
116
|
+
| `event` | [`EmbeddedCheckoutLoadedEvent`](internal_.EmbeddedCheckoutLoadedEvent.md) |
|
|
117
|
+
|
|
118
|
+
#### Returns
|
|
119
|
+
|
|
120
|
+
`void`
|
|
121
|
+
|
|
122
|
+
___
|
|
123
|
+
|
|
124
|
+
### onSignOut
|
|
125
|
+
|
|
126
|
+
▸ `Optional` **onSignOut**(`event`): `void`
|
|
127
|
+
|
|
128
|
+
#### Parameters
|
|
129
|
+
|
|
130
|
+
| Name | Type |
|
|
131
|
+
| :------ | :------ |
|
|
132
|
+
| `event` | [`EmbeddedCheckoutSignedOutEvent`](internal_.EmbeddedCheckoutSignedOutEvent.md) |
|
|
133
|
+
|
|
134
|
+
#### Returns
|
|
135
|
+
|
|
136
|
+
`void`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutSignedOutEvent
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutSignedOutEvent
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutSignedOutEvent
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [type](internal_.EmbeddedCheckoutSignedOutEvent.md#type)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
• **type**: [`SignedOut`](../modules/internal_.md#signedout)
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedCheckoutStyles
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedCheckoutStyles
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedCheckoutStyles
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [body](internal_.EmbeddedCheckoutStyles.md#body)
|
|
12
|
+
- [button](internal_.EmbeddedCheckoutStyles.md#button)
|
|
13
|
+
- [checkbox](internal_.EmbeddedCheckoutStyles.md#checkbox)
|
|
14
|
+
- [checklist](internal_.EmbeddedCheckoutStyles.md#checklist)
|
|
15
|
+
- [discountBanner](internal_.EmbeddedCheckoutStyles.md#discountbanner)
|
|
16
|
+
- [heading](internal_.EmbeddedCheckoutStyles.md#heading)
|
|
17
|
+
- [input](internal_.EmbeddedCheckoutStyles.md#input)
|
|
18
|
+
- [label](internal_.EmbeddedCheckoutStyles.md#label)
|
|
19
|
+
- [link](internal_.EmbeddedCheckoutStyles.md#link)
|
|
20
|
+
- [loadingBanner](internal_.EmbeddedCheckoutStyles.md#loadingbanner)
|
|
21
|
+
- [loadingIndicator](internal_.EmbeddedCheckoutStyles.md#loadingindicator)
|
|
22
|
+
- [orderSummary](internal_.EmbeddedCheckoutStyles.md#ordersummary)
|
|
23
|
+
- [radio](internal_.EmbeddedCheckoutStyles.md#radio)
|
|
24
|
+
- [secondaryButton](internal_.EmbeddedCheckoutStyles.md#secondarybutton)
|
|
25
|
+
- [secondaryHeading](internal_.EmbeddedCheckoutStyles.md#secondaryheading)
|
|
26
|
+
- [secondaryText](internal_.EmbeddedCheckoutStyles.md#secondarytext)
|
|
27
|
+
- [select](internal_.EmbeddedCheckoutStyles.md#select)
|
|
28
|
+
- [step](internal_.EmbeddedCheckoutStyles.md#step)
|
|
29
|
+
- [text](internal_.EmbeddedCheckoutStyles.md#text)
|
|
30
|
+
|
|
31
|
+
## Properties
|
|
32
|
+
|
|
33
|
+
### body
|
|
34
|
+
|
|
35
|
+
• `Optional` **body**: [`BodyStyles`](internal_.BodyStyles.md)
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### button
|
|
40
|
+
|
|
41
|
+
• `Optional` **button**: [`ButtonStyles`](internal_.ButtonStyles.md)
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### checkbox
|
|
46
|
+
|
|
47
|
+
• `Optional` **checkbox**: [`CheckableInputStyles`](internal_.CheckableInputStyles.md)
|
|
48
|
+
|
|
49
|
+
___
|
|
50
|
+
|
|
51
|
+
### checklist
|
|
52
|
+
|
|
53
|
+
• `Optional` **checklist**: [`ChecklistStyles`](internal_.ChecklistStyles.md)
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### discountBanner
|
|
58
|
+
|
|
59
|
+
• `Optional` **discountBanner**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
63
|
+
### heading
|
|
64
|
+
|
|
65
|
+
• `Optional` **heading**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
66
|
+
|
|
67
|
+
___
|
|
68
|
+
|
|
69
|
+
### input
|
|
70
|
+
|
|
71
|
+
• `Optional` **input**: [`TextInputStyles`](internal_.TextInputStyles.md)
|
|
72
|
+
|
|
73
|
+
___
|
|
74
|
+
|
|
75
|
+
### label
|
|
76
|
+
|
|
77
|
+
• `Optional` **label**: [`LabelStyles`](internal_.LabelStyles.md)
|
|
78
|
+
|
|
79
|
+
___
|
|
80
|
+
|
|
81
|
+
### link
|
|
82
|
+
|
|
83
|
+
• `Optional` **link**: [`LinkStyles`](internal_.LinkStyles.md)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### loadingBanner
|
|
88
|
+
|
|
89
|
+
• `Optional` **loadingBanner**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### loadingIndicator
|
|
94
|
+
|
|
95
|
+
• `Optional` **loadingIndicator**: [`LoadingIndicatorStyles`](internal_.LoadingIndicatorStyles.md)
|
|
96
|
+
|
|
97
|
+
___
|
|
98
|
+
|
|
99
|
+
### orderSummary
|
|
100
|
+
|
|
101
|
+
• `Optional` **orderSummary**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
102
|
+
|
|
103
|
+
___
|
|
104
|
+
|
|
105
|
+
### radio
|
|
106
|
+
|
|
107
|
+
• `Optional` **radio**: [`CheckableInputStyles`](internal_.CheckableInputStyles.md)
|
|
108
|
+
|
|
109
|
+
___
|
|
110
|
+
|
|
111
|
+
### secondaryButton
|
|
112
|
+
|
|
113
|
+
• `Optional` **secondaryButton**: [`ButtonStyles`](internal_.ButtonStyles.md)
|
|
114
|
+
|
|
115
|
+
___
|
|
116
|
+
|
|
117
|
+
### secondaryHeading
|
|
118
|
+
|
|
119
|
+
• `Optional` **secondaryHeading**: [`BlockElementStyles`](internal_.BlockElementStyles.md)
|
|
120
|
+
|
|
121
|
+
___
|
|
122
|
+
|
|
123
|
+
### secondaryText
|
|
124
|
+
|
|
125
|
+
• `Optional` **secondaryText**: [`InlineElementStyles`](internal_.InlineElementStyles.md)
|
|
126
|
+
|
|
127
|
+
___
|
|
128
|
+
|
|
129
|
+
### select
|
|
130
|
+
|
|
131
|
+
• `Optional` **select**: [`InputStyles`](internal_.InputStyles.md)
|
|
132
|
+
|
|
133
|
+
___
|
|
134
|
+
|
|
135
|
+
### step
|
|
136
|
+
|
|
137
|
+
• `Optional` **step**: [`StepStyles`](internal_.StepStyles.md)
|
|
138
|
+
|
|
139
|
+
___
|
|
140
|
+
|
|
141
|
+
### text
|
|
142
|
+
|
|
143
|
+
• `Optional` **text**: [`InlineElementStyles`](internal_.InlineElementStyles.md)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / EmbeddedContentOptions
|
|
2
|
+
|
|
3
|
+
# Interface: EmbeddedContentOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).EmbeddedContentOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [contentId](internal_.EmbeddedContentOptions.md#contentid)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### contentId
|
|
16
|
+
|
|
17
|
+
• `Optional` **contentId**: `string`
|