@bigcommerce/checkout-sdk 1.271.2 → 1.271.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 +2 -0
- package/dist/checkout-button.d.ts +671 -651
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +7275 -763
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/embedded-checkout.d.ts +242 -218
- package/dist/internal-mappers.d.ts +762 -763
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +756 -126
- package/docs/classes/CartChangedError.md +76 -0
- package/docs/classes/CheckoutButtonErrorSelector.md +52 -0
- package/docs/classes/CheckoutButtonInitializer.md +177 -0
- package/docs/classes/CheckoutButtonStatusSelector.md +52 -0
- package/docs/classes/CheckoutService.md +1645 -0
- package/docs/classes/CurrencyService.md +54 -0
- package/docs/classes/EmbeddedCheckout.md +40 -0
- package/docs/classes/LanguageService.md +101 -0
- package/docs/classes/RequestError.md +106 -0
- package/docs/classes/StandardError.md +71 -0
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +57 -0
- package/docs/enums/AmazonPayV2LedgerCurrency.md +36 -0
- package/docs/enums/AmazonPayV2PayOptions.md +26 -0
- package/docs/enums/AmazonPayV2Placement.md +53 -0
- package/docs/enums/BraintreeFormFieldType.md +50 -0
- package/docs/enums/ButtonColor.md +29 -0
- package/docs/enums/ButtonType.md +22 -0
- package/docs/enums/CheckoutButtonMethodType.md +141 -0
- package/docs/enums/CheckoutIncludes.md +29 -0
- package/docs/enums/EmbeddedCheckoutEventType.md +50 -0
- package/docs/enums/HostedFieldType.md +50 -0
- package/docs/enums/HostedInputEventType.md +85 -0
- package/docs/enums/IconStyle.md +22 -0
- package/docs/enums/PaypalButtonStyleColorOption.md +36 -0
- package/docs/enums/PaypalButtonStyleLabelOption.md +43 -0
- package/docs/enums/PaypalButtonStyleLayoutOption.md +22 -0
- package/docs/enums/PaypalButtonStyleShapeOption.md +22 -0
- package/docs/enums/PaypalButtonStyleSizeOption.md +36 -0
- package/docs/enums/PaypalCommerceFormFieldType.md +50 -0
- package/docs/enums/RadiusUnit.md +22 -0
- package/docs/enums/StyleButtonColor.md +43 -0
- package/docs/enums/StyleButtonLabel.md +43 -0
- package/docs/enums/StyleButtonLayout.md +22 -0
- package/docs/enums/StyleButtonShape.md +22 -0
- package/docs/interfaces/Address.md +164 -0
- package/docs/interfaces/AddressRequestBody.md +100 -0
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +68 -0
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +66 -0
- package/docs/interfaces/AdyenAdditionalActionOptions.md +106 -0
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +106 -0
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +33 -0
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +33 -0
- package/docs/interfaces/AdyenComponent.md +72 -0
- package/docs/interfaces/AdyenComponentEvents.md +74 -0
- package/docs/interfaces/AdyenComponentEvents_2.md +74 -0
- package/docs/interfaces/AdyenComponent_2.md +72 -0
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +185 -0
- package/docs/interfaces/AdyenIdealComponentOptions.md +17 -0
- package/docs/interfaces/AdyenPaymentMethodState.md +21 -0
- package/docs/interfaces/AdyenPaymentMethodState_2.md +15 -0
- package/docs/interfaces/AdyenPlaceholderData.md +33 -0
- package/docs/interfaces/AdyenPlaceholderData_2.md +33 -0
- package/docs/interfaces/AdyenThreeDS2Options.md +97 -0
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +161 -0
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +185 -0
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +135 -0
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +65 -0
- package/docs/interfaces/AmazonPayOrderReference.md +30 -0
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +100 -0
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +85 -0
- package/docs/interfaces/AmazonPayV2ButtonParams.md +71 -0
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +35 -0
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +24 -0
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +39 -0
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +26 -0
- package/docs/interfaces/AmazonPayWidgetError.md +25 -0
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +38 -0
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +77 -0
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/BankInstrument.md +112 -0
- package/docs/interfaces/Banner.md +22 -0
- package/docs/interfaces/BaseAccountInstrument.md +91 -0
- package/docs/interfaces/BaseElementOptions.md +17 -0
- package/docs/interfaces/BaseElementOptions_2.md +48 -0
- package/docs/interfaces/BaseIndividualElementOptions.md +67 -0
- package/docs/interfaces/BaseInstrument.md +58 -0
- package/docs/interfaces/BillingAddress.md +182 -0
- package/docs/interfaces/BillingAddressRequestBody.md +153 -0
- package/docs/interfaces/BlockElementStyles.md +105 -0
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +72 -0
- package/docs/interfaces/BlueSnapV2StyleProps.md +29 -0
- package/docs/interfaces/BodyStyles.md +15 -0
- package/docs/interfaces/BoltCustomerInitializeOptions.md +30 -0
- package/docs/interfaces/BoltPaymentInitializeOptions.md +94 -0
- package/docs/interfaces/BraintreeError.md +35 -0
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +15 -0
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +15 -0
- package/docs/interfaces/BraintreeFormFieldOptions.md +35 -0
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +29 -0
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +29 -0
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +33 -0
- package/docs/interfaces/BraintreeFormFieldsMap.md +36 -0
- package/docs/interfaces/BraintreeFormOptions.md +110 -0
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +101 -0
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +96 -0
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +87 -0
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +54 -0
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +22 -0
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +51 -0
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +27 -0
- package/docs/interfaces/BraintreeVerifyPayload.md +51 -0
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +35 -0
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +70 -0
- package/docs/interfaces/BrowserInfo.md +50 -0
- package/docs/interfaces/ButtonResponse.md +19 -0
- package/docs/interfaces/ButtonStyles.md +141 -0
- package/docs/interfaces/CardCvcElementOptions.md +72 -0
- package/docs/interfaces/CardDataPaymentMethodState.md +15 -0
- package/docs/interfaces/CardDataPaymentMethodState_2.md +15 -0
- package/docs/interfaces/CardElementOptions.md +91 -0
- package/docs/interfaces/CardExpiryElementOptions.md +72 -0
- package/docs/interfaces/CardInstrument.md +115 -0
- package/docs/interfaces/CardNumberElementOptions.md +88 -0
- package/docs/interfaces/CardPaymentMethodState.md +60 -0
- package/docs/interfaces/CardPaymentMethodState_2.md +43 -0
- package/docs/interfaces/CardState.md +40 -0
- package/docs/interfaces/CardStateErrors.md +7 -0
- package/docs/interfaces/CardStateErrors_2.md +7 -0
- package/docs/interfaces/CardState_2.md +40 -0
- package/docs/interfaces/Cart.md +99 -0
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +15 -0
- package/docs/interfaces/ChasePayInitializeOptions.md +98 -0
- package/docs/interfaces/CheckableInputStyles.md +175 -0
- package/docs/interfaces/ChecklistStyles.md +127 -0
- package/docs/interfaces/Checkout.md +195 -0
- package/docs/interfaces/CheckoutButtonInitializeOptions.md +244 -0
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +22 -0
- package/docs/interfaces/CheckoutButtonOptions.md +55 -0
- package/docs/interfaces/CheckoutButtonSelectors.md +22 -0
- package/docs/interfaces/CheckoutParams.md +15 -0
- package/docs/interfaces/CheckoutPayment.md +42 -0
- package/docs/interfaces/CheckoutRequestBody.md +15 -0
- package/docs/interfaces/CheckoutSelectors.md +29 -0
- package/docs/interfaces/CheckoutServiceOptions.md +36 -0
- package/docs/interfaces/CheckoutSettings.md +201 -0
- package/docs/interfaces/CheckoutStoreErrorSelector.md +636 -0
- package/docs/interfaces/CheckoutStoreSelector.md +501 -0
- package/docs/interfaces/CheckoutStoreStatusSelector.md +758 -0
- package/docs/interfaces/Consignment.md +71 -0
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +29 -0
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +29 -0
- package/docs/interfaces/ConsignmentCreateRequestBody.md +36 -0
- package/docs/interfaces/ConsignmentLineItem.md +22 -0
- package/docs/interfaces/ConsignmentPickupOption.md +15 -0
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +43 -0
- package/docs/interfaces/Coordinates.md +22 -0
- package/docs/interfaces/Country.md +43 -0
- package/docs/interfaces/Coupon.md +43 -0
- package/docs/interfaces/CreditCardInstrument.md +85 -0
- package/docs/interfaces/CreditCardPaymentInitializeOptions.md +91 -0
- package/docs/interfaces/CreditCardPlaceHolder.md +29 -0
- package/docs/interfaces/CreditCardPlaceHolder_2.md +29 -0
- package/docs/interfaces/CssProperties.md +211 -0
- package/docs/interfaces/CssProperties_2.md +211 -0
- package/docs/interfaces/Currency.md +36 -0
- package/docs/interfaces/CustomError.md +43 -0
- package/docs/interfaces/CustomItem.md +50 -0
- package/docs/interfaces/Customer.md +84 -0
- package/docs/interfaces/CustomerAccountRequestBody.md +50 -0
- package/docs/interfaces/CustomerAddress.md +182 -0
- package/docs/interfaces/CustomerCredentials.md +22 -0
- package/docs/interfaces/CustomerGroup.md +22 -0
- package/docs/interfaces/CustomerInitializeOptions.md +221 -0
- package/docs/interfaces/CustomerPasswordRequirements.md +36 -0
- package/docs/interfaces/CustomerRequestOptions.md +60 -0
- package/docs/interfaces/DigitalItem.md +310 -0
- package/docs/interfaces/DigitalRiverElementClasses.md +67 -0
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +146 -0
- package/docs/interfaces/Discount.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutError.md +29 -0
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +109 -0
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutOptions.md +134 -0
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutStyles.md +141 -0
- package/docs/interfaces/EmbeddedContentOptions.md +15 -0
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +76 -0
- package/docs/interfaces/FlashMessage.md +29 -0
- package/docs/interfaces/FormField.md +113 -0
- package/docs/interfaces/FormFieldItem.md +22 -0
- package/docs/interfaces/FormFieldOptions.md +29 -0
- package/docs/interfaces/FormFields.md +29 -0
- package/docs/interfaces/GatewayOrderPayment.md +108 -0
- package/docs/interfaces/GiftCertificate.md +43 -0
- package/docs/interfaces/GiftCertificateItem.md +78 -0
- package/docs/interfaces/GiftCertificateOrderPayment.md +94 -0
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +31 -0
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +42 -0
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +93 -0
- package/docs/interfaces/HostedCardFieldOptions.md +35 -0
- package/docs/interfaces/HostedCardFieldOptionsMap.md +36 -0
- package/docs/interfaces/HostedFieldStylesMap.md +29 -0
- package/docs/interfaces/HostedFormOptions.md +114 -0
- package/docs/interfaces/HostedInputBlurEvent.md +28 -0
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +28 -0
- package/docs/interfaces/HostedInputEnterEvent.md +28 -0
- package/docs/interfaces/HostedInputFocusEvent.md +28 -0
- package/docs/interfaces/HostedInputValidateErrorData.md +29 -0
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +50 -0
- package/docs/interfaces/HostedInputValidateEvent.md +22 -0
- package/docs/interfaces/HostedInputValidateResults.md +22 -0
- package/docs/interfaces/HostedInstrument.md +22 -0
- package/docs/interfaces/HostedStoredCardFieldOptions.md +54 -0
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +22 -0
- package/docs/interfaces/IbanElementOptions.md +82 -0
- package/docs/interfaces/IdealElementOptions.md +70 -0
- package/docs/interfaces/IndividualCardElementOptions.md +36 -0
- package/docs/interfaces/InitializationStrategy.md +21 -0
- package/docs/interfaces/InlineElementStyles.md +53 -0
- package/docs/interfaces/InputDetail.md +80 -0
- package/docs/interfaces/InputDetail_2.md +80 -0
- package/docs/interfaces/InputStyles.md +152 -0
- package/docs/interfaces/Item.md +22 -0
- package/docs/interfaces/Item_2.md +26 -0
- package/docs/interfaces/Item_3.md +26 -0
- package/docs/interfaces/KlarnaLoadResponse.md +28 -0
- package/docs/interfaces/KlarnaLoadResponse_2.md +28 -0
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +73 -0
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +73 -0
- package/docs/interfaces/LabelStyles.md +76 -0
- package/docs/interfaces/LanguageConfig.md +57 -0
- package/docs/interfaces/LineItem.md +191 -0
- package/docs/interfaces/LineItemCategory.md +15 -0
- package/docs/interfaces/LineItemMap.md +36 -0
- package/docs/interfaces/LineItemOption.md +36 -0
- package/docs/interfaces/LineItemSocialData.md +36 -0
- package/docs/interfaces/LinkStyles.md +90 -0
- package/docs/interfaces/LoadingIndicatorStyles.md +29 -0
- package/docs/interfaces/Locales.md +7 -0
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +35 -0
- package/docs/interfaces/MolliePaymentInitializeOptions.md +96 -0
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +57 -0
- package/docs/interfaces/MonerisStylingProps.md +80 -0
- package/docs/interfaces/NonceGenerationError.md +29 -0
- package/docs/interfaces/NonceInstrument.md +36 -0
- package/docs/interfaces/Option.md +22 -0
- package/docs/interfaces/OptionsResponse.md +77 -0
- package/docs/interfaces/OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/Order.md +190 -0
- package/docs/interfaces/OrderConsignment.md +15 -0
- package/docs/interfaces/OrderPayment.md +58 -0
- package/docs/interfaces/OrderPaymentRequestBody.md +39 -0
- package/docs/interfaces/OrderRequestBody.md +33 -0
- package/docs/interfaces/OrderShippingConsignment.md +218 -0
- package/docs/interfaces/PasswordRequirements.md +36 -0
- package/docs/interfaces/PayPalInstrument.md +91 -0
- package/docs/interfaces/PaymentInitializeOptions.md +406 -0
- package/docs/interfaces/PaymentMethod.md +98 -0
- package/docs/interfaces/PaymentMethodConfig.md +120 -0
- package/docs/interfaces/PaymentRequestOptions.md +67 -0
- package/docs/interfaces/PaymentSettings.md +22 -0
- package/docs/interfaces/PaypalButtonInitializeOptions.md +76 -0
- package/docs/interfaces/PaypalButtonStyleOptions.md +64 -0
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +50 -0
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +35 -0
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +26 -0
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +90 -0
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +15 -0
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +15 -0
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +28 -0
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +29 -0
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +29 -0
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +33 -0
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +36 -0
- package/docs/interfaces/PaypalCommerceFormOptions.md +148 -0
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +186 -0
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +43 -0
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +22 -0
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +26 -0
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +36 -0
- package/docs/interfaces/PaypalFieldsStyleOptions.md +46 -0
- package/docs/interfaces/PhysicalItem.md +311 -0
- package/docs/interfaces/PickupMethod.md +43 -0
- package/docs/interfaces/PickupOptionRequestBody.md +22 -0
- package/docs/interfaces/PickupOptionResult.md +15 -0
- package/docs/interfaces/Promotion.md +15 -0
- package/docs/interfaces/Radius.md +22 -0
- package/docs/interfaces/Region.md +22 -0
- package/docs/interfaces/RequestOptions.md +48 -0
- package/docs/interfaces/SearchArea.md +22 -0
- package/docs/interfaces/SepaPlaceHolder.md +22 -0
- package/docs/interfaces/SepaPlaceHolder_2.md +22 -0
- package/docs/interfaces/ShippingInitializeOptions.md +88 -0
- package/docs/interfaces/ShippingOption.md +64 -0
- package/docs/interfaces/ShippingRequestOptions.md +65 -0
- package/docs/interfaces/ShopperConfig.md +29 -0
- package/docs/interfaces/ShopperCurrency.md +94 -0
- package/docs/interfaces/SignInEmail.md +22 -0
- package/docs/interfaces/SignInEmailRequestBody.md +22 -0
- package/docs/interfaces/SpamProtectionOptions.md +25 -0
- package/docs/interfaces/SquareFormElement.md +28 -0
- package/docs/interfaces/SquarePaymentInitializeOptions.md +131 -0
- package/docs/interfaces/StepStyles.md +120 -0
- package/docs/interfaces/StepTracker.md +64 -0
- package/docs/interfaces/StepTrackerConfig.md +15 -0
- package/docs/interfaces/StoreConfig.md +109 -0
- package/docs/interfaces/StoreCurrency.md +56 -0
- package/docs/interfaces/StoreLinks.md +57 -0
- package/docs/interfaces/StoreProfile.md +71 -0
- package/docs/interfaces/StripeElementCSSProperties.md +170 -0
- package/docs/interfaces/StripeElementClasses.md +63 -0
- package/docs/interfaces/StripeElementStyle.md +44 -0
- package/docs/interfaces/StripeElementStyleVariant.md +285 -0
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +70 -0
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +76 -0
- package/docs/interfaces/StyleOptions.md +44 -0
- package/docs/interfaces/StyleOptions_2.md +44 -0
- package/docs/interfaces/SubInputDetail.md +62 -0
- package/docs/interfaces/SubInputDetail_2.md +62 -0
- package/docs/interfaces/Subscriptions.md +29 -0
- package/docs/interfaces/Tax.md +22 -0
- package/docs/interfaces/TextInputStyles.md +175 -0
- package/docs/interfaces/ThreeDSecure.md +50 -0
- package/docs/interfaces/ThreeDSecureToken.md +15 -0
- package/docs/interfaces/TranslationData.md +7 -0
- package/docs/interfaces/Translations.md +7 -0
- package/docs/interfaces/UnknownObject.md +7 -0
- package/docs/interfaces/VaultedInstrument.md +29 -0
- package/docs/interfaces/WechatDataPaymentMethodState.md +15 -0
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +15 -0
- package/docs/interfaces/WechatState.md +15 -0
- package/docs/interfaces/WechatState_2.md +15 -0
- package/docs/interfaces/WithAccountCreation.md +15 -0
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +22 -0
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +22 -0
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +15 -0
- package/docs/interfaces/WithDocumentInstrument.md +15 -0
- package/docs/interfaces/WithMollieIssuerInstrument.md +22 -0
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +30 -0
- package/docs/interfaces/ZipCodeElementOptions.md +15 -0
- package/package.json +2 -2
- package/docs/classes/CacheKeyResolver.md +0 -58
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreePaypalButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [messagingContainerId](BraintreePaypalButtonInitializeOptions.md#messagingcontainerid)
|
|
10
|
+
- [shippingAddress](BraintreePaypalButtonInitializeOptions.md#shippingaddress)
|
|
11
|
+
- [style](BraintreePaypalButtonInitializeOptions.md#style)
|
|
12
|
+
|
|
13
|
+
### Methods
|
|
14
|
+
|
|
15
|
+
- [onAuthorizeError](BraintreePaypalButtonInitializeOptions.md#onauthorizeerror)
|
|
16
|
+
- [onError](BraintreePaypalButtonInitializeOptions.md#onerror)
|
|
17
|
+
- [onPaymentError](BraintreePaypalButtonInitializeOptions.md#onpaymenterror)
|
|
18
|
+
|
|
19
|
+
## Properties
|
|
20
|
+
|
|
21
|
+
### messagingContainerId
|
|
22
|
+
|
|
23
|
+
• `Optional` **messagingContainerId**: `string`
|
|
24
|
+
|
|
25
|
+
The ID of a container which the messaging should be inserted.
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### shippingAddress
|
|
30
|
+
|
|
31
|
+
• `Optional` **shippingAddress**: ``null`` \| [`Address`](Address.md)
|
|
32
|
+
|
|
33
|
+
Address to be used for shipping.
|
|
34
|
+
If not provided, it will use the first saved address from the active customer.
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### style
|
|
39
|
+
|
|
40
|
+
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](PaypalButtonStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"`` \| ``"height"``\>
|
|
41
|
+
|
|
42
|
+
A set of styling options for the checkout button.
|
|
43
|
+
|
|
44
|
+
## Methods
|
|
45
|
+
|
|
46
|
+
### onAuthorizeError
|
|
47
|
+
|
|
48
|
+
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
49
|
+
|
|
50
|
+
A callback that gets called if unable to authorize and tokenize payment.
|
|
51
|
+
|
|
52
|
+
#### Parameters
|
|
53
|
+
|
|
54
|
+
| Name | Type | Description |
|
|
55
|
+
| :------ | :------ | :------ |
|
|
56
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
57
|
+
|
|
58
|
+
#### Returns
|
|
59
|
+
|
|
60
|
+
`void`
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### onError
|
|
65
|
+
|
|
66
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
67
|
+
|
|
68
|
+
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
69
|
+
|
|
70
|
+
#### Parameters
|
|
71
|
+
|
|
72
|
+
| Name | Type | Description |
|
|
73
|
+
| :------ | :------ | :------ |
|
|
74
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
75
|
+
|
|
76
|
+
#### Returns
|
|
77
|
+
|
|
78
|
+
`void`
|
|
79
|
+
|
|
80
|
+
___
|
|
81
|
+
|
|
82
|
+
### onPaymentError
|
|
83
|
+
|
|
84
|
+
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
85
|
+
|
|
86
|
+
A callback that gets called if unable to submit payment.
|
|
87
|
+
|
|
88
|
+
#### Parameters
|
|
89
|
+
|
|
90
|
+
| Name | Type | Description |
|
|
91
|
+
| :------ | :------ | :------ |
|
|
92
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
93
|
+
|
|
94
|
+
#### Returns
|
|
95
|
+
|
|
96
|
+
`void`
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalCreditButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreePaypalCreditButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [shippingAddress](BraintreePaypalCreditButtonInitializeOptions.md#shippingaddress)
|
|
10
|
+
- [style](BraintreePaypalCreditButtonInitializeOptions.md#style)
|
|
11
|
+
|
|
12
|
+
### Methods
|
|
13
|
+
|
|
14
|
+
- [onAuthorizeError](BraintreePaypalCreditButtonInitializeOptions.md#onauthorizeerror)
|
|
15
|
+
- [onError](BraintreePaypalCreditButtonInitializeOptions.md#onerror)
|
|
16
|
+
- [onPaymentError](BraintreePaypalCreditButtonInitializeOptions.md#onpaymenterror)
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### shippingAddress
|
|
21
|
+
|
|
22
|
+
• `Optional` **shippingAddress**: ``null`` \| [`Address`](Address.md)
|
|
23
|
+
|
|
24
|
+
Address to be used for shipping.
|
|
25
|
+
If not provided, it will use the first saved address from the active customer.
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### style
|
|
30
|
+
|
|
31
|
+
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](PaypalButtonStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"`` \| ``"height"``\>
|
|
32
|
+
|
|
33
|
+
A set of styling options for the checkout button.
|
|
34
|
+
|
|
35
|
+
## Methods
|
|
36
|
+
|
|
37
|
+
### onAuthorizeError
|
|
38
|
+
|
|
39
|
+
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
40
|
+
|
|
41
|
+
A callback that gets called if unable to authorize and tokenize payment.
|
|
42
|
+
|
|
43
|
+
#### Parameters
|
|
44
|
+
|
|
45
|
+
| Name | Type | Description |
|
|
46
|
+
| :------ | :------ | :------ |
|
|
47
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
48
|
+
|
|
49
|
+
#### Returns
|
|
50
|
+
|
|
51
|
+
`void`
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### onError
|
|
56
|
+
|
|
57
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
58
|
+
|
|
59
|
+
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
60
|
+
|
|
61
|
+
#### Parameters
|
|
62
|
+
|
|
63
|
+
| Name | Type | Description |
|
|
64
|
+
| :------ | :------ | :------ |
|
|
65
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
66
|
+
|
|
67
|
+
#### Returns
|
|
68
|
+
|
|
69
|
+
`void`
|
|
70
|
+
|
|
71
|
+
___
|
|
72
|
+
|
|
73
|
+
### onPaymentError
|
|
74
|
+
|
|
75
|
+
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
76
|
+
|
|
77
|
+
A callback that gets called if unable to submit payment.
|
|
78
|
+
|
|
79
|
+
#### Parameters
|
|
80
|
+
|
|
81
|
+
| Name | Type | Description |
|
|
82
|
+
| :------ | :------ | :------ |
|
|
83
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
84
|
+
|
|
85
|
+
#### Returns
|
|
86
|
+
|
|
87
|
+
`void`
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeStoredCardFieldOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeStoredCardFieldOptions
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
|
|
8
|
+
|
|
9
|
+
↳ **`BraintreeStoredCardFieldOptions`**
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
- [accessibilityLabel](BraintreeStoredCardFieldOptions.md#accessibilitylabel)
|
|
16
|
+
- [containerId](BraintreeStoredCardFieldOptions.md#containerid)
|
|
17
|
+
- [instrumentId](BraintreeStoredCardFieldOptions.md#instrumentid)
|
|
18
|
+
- [placeholder](BraintreeStoredCardFieldOptions.md#placeholder)
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
### accessibilityLabel
|
|
23
|
+
|
|
24
|
+
• `Optional` **accessibilityLabel**: `string`
|
|
25
|
+
|
|
26
|
+
#### Inherited from
|
|
27
|
+
|
|
28
|
+
[BraintreeFormFieldOptions](BraintreeFormFieldOptions.md).[accessibilityLabel](BraintreeFormFieldOptions.md#accessibilitylabel)
|
|
29
|
+
|
|
30
|
+
___
|
|
31
|
+
|
|
32
|
+
### containerId
|
|
33
|
+
|
|
34
|
+
• **containerId**: `string`
|
|
35
|
+
|
|
36
|
+
#### Inherited from
|
|
37
|
+
|
|
38
|
+
[BraintreeFormFieldOptions](BraintreeFormFieldOptions.md).[containerId](BraintreeFormFieldOptions.md#containerid)
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### instrumentId
|
|
43
|
+
|
|
44
|
+
• **instrumentId**: `string`
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### placeholder
|
|
49
|
+
|
|
50
|
+
• `Optional` **placeholder**: `string`
|
|
51
|
+
|
|
52
|
+
#### Inherited from
|
|
53
|
+
|
|
54
|
+
[BraintreeFormFieldOptions](BraintreeFormFieldOptions.md).[placeholder](BraintreeFormFieldOptions.md#placeholder)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeStoredCardFieldsMap
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeStoredCardFieldsMap
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [cardCodeVerification](BraintreeStoredCardFieldsMap.md#cardcodeverification)
|
|
10
|
+
- [cardNumberVerification](BraintreeStoredCardFieldsMap.md#cardnumberverification)
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### cardCodeVerification
|
|
15
|
+
|
|
16
|
+
• `Optional` **cardCodeVerification**: [`BraintreeStoredCardFieldOptions`](BraintreeStoredCardFieldOptions.md)
|
|
17
|
+
|
|
18
|
+
___
|
|
19
|
+
|
|
20
|
+
### cardNumberVerification
|
|
21
|
+
|
|
22
|
+
• `Optional` **cardNumberVerification**: [`BraintreeStoredCardFieldOptions`](BraintreeStoredCardFieldOptions.md)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeThreeDSecureOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeThreeDSecureOptions
|
|
4
|
+
|
|
5
|
+
A set of options that are required to support 3D Secure authentication flow.
|
|
6
|
+
|
|
7
|
+
If the customer uses a credit card that has 3D Secure enabled, they will be
|
|
8
|
+
asked to verify their identity when they pay. The verification is done
|
|
9
|
+
through a web page via an iframe provided by the card issuer.
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Methods
|
|
14
|
+
|
|
15
|
+
- [addFrame](BraintreeThreeDSecureOptions.md#addframe)
|
|
16
|
+
- [removeFrame](BraintreeThreeDSecureOptions.md#removeframe)
|
|
17
|
+
|
|
18
|
+
## Methods
|
|
19
|
+
|
|
20
|
+
### addFrame
|
|
21
|
+
|
|
22
|
+
▸ **addFrame**(`error`, `iframe`, `cancel`): `void`
|
|
23
|
+
|
|
24
|
+
A callback that gets called when the iframe is ready to be added to the
|
|
25
|
+
current page. It is responsible for determining where the iframe should
|
|
26
|
+
be inserted in the DOM.
|
|
27
|
+
|
|
28
|
+
#### Parameters
|
|
29
|
+
|
|
30
|
+
| Name | Type | Description |
|
|
31
|
+
| :------ | :------ | :------ |
|
|
32
|
+
| `error` | `undefined` \| `Error` | Any error raised during the verification process; undefined if there is none. |
|
|
33
|
+
| `iframe` | `HTMLIFrameElement` | The iframe element containing the verification web page provided by the card issuer. |
|
|
34
|
+
| `cancel` | () => `undefined` \| `Promise`<[`BraintreeVerifyPayload`](BraintreeVerifyPayload.md)\> | A function, when called, will cancel the verification process and remove the iframe. |
|
|
35
|
+
|
|
36
|
+
#### Returns
|
|
37
|
+
|
|
38
|
+
`void`
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### removeFrame
|
|
43
|
+
|
|
44
|
+
▸ **removeFrame**(): `void`
|
|
45
|
+
|
|
46
|
+
A callback that gets called when the iframe is about to be removed from
|
|
47
|
+
the current page.
|
|
48
|
+
|
|
49
|
+
#### Returns
|
|
50
|
+
|
|
51
|
+
`void`
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVenmoButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeVenmoButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Methods
|
|
8
|
+
|
|
9
|
+
- [onError](BraintreeVenmoButtonInitializeOptions.md#onerror)
|
|
10
|
+
|
|
11
|
+
## Methods
|
|
12
|
+
|
|
13
|
+
### onError
|
|
14
|
+
|
|
15
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
16
|
+
|
|
17
|
+
A callback that gets called on any error.
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
| Name | Type | Description |
|
|
22
|
+
| :------ | :------ | :------ |
|
|
23
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
`void`
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVerifyPayload
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeVerifyPayload
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [description](BraintreeVerifyPayload.md#description)
|
|
10
|
+
- [details](BraintreeVerifyPayload.md#details)
|
|
11
|
+
- [liabilityShiftPossible](BraintreeVerifyPayload.md#liabilityshiftpossible)
|
|
12
|
+
- [liabilityShifted](BraintreeVerifyPayload.md#liabilityshifted)
|
|
13
|
+
- [nonce](BraintreeVerifyPayload.md#nonce)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### description
|
|
18
|
+
|
|
19
|
+
• **description**: `string`
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### details
|
|
24
|
+
|
|
25
|
+
• **details**: `Object`
|
|
26
|
+
|
|
27
|
+
#### Type declaration
|
|
28
|
+
|
|
29
|
+
| Name | Type |
|
|
30
|
+
| :------ | :------ |
|
|
31
|
+
| `cardType` | `string` |
|
|
32
|
+
| `lastFour` | `string` |
|
|
33
|
+
| `lastTwo` | `string` |
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### liabilityShiftPossible
|
|
38
|
+
|
|
39
|
+
• **liabilityShiftPossible**: `boolean`
|
|
40
|
+
|
|
41
|
+
___
|
|
42
|
+
|
|
43
|
+
### liabilityShifted
|
|
44
|
+
|
|
45
|
+
• **liabilityShifted**: `boolean`
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### nonce
|
|
50
|
+
|
|
51
|
+
• **nonce**: `string`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVisaCheckoutCustomerInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeVisaCheckoutCustomerInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [container](BraintreeVisaCheckoutCustomerInitializeOptions.md#container)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [onError](BraintreeVisaCheckoutCustomerInitializeOptions.md#onerror)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### container
|
|
18
|
+
|
|
19
|
+
• **container**: `string`
|
|
20
|
+
|
|
21
|
+
## Methods
|
|
22
|
+
|
|
23
|
+
### onError
|
|
24
|
+
|
|
25
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
26
|
+
|
|
27
|
+
#### Parameters
|
|
28
|
+
|
|
29
|
+
| Name | Type |
|
|
30
|
+
| :------ | :------ |
|
|
31
|
+
| `error` | `Error` |
|
|
32
|
+
|
|
33
|
+
#### Returns
|
|
34
|
+
|
|
35
|
+
`void`
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVisaCheckoutPaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeVisaCheckoutPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
A set of options that are required to initialize the Visa Checkout payment
|
|
6
|
+
method provided by Braintree.
|
|
7
|
+
|
|
8
|
+
If the customer chooses to pay with Visa Checkout, they will be asked to
|
|
9
|
+
enter their payment details via a modal. You can hook into events emitted by
|
|
10
|
+
the modal by providing the callbacks listed below.
|
|
11
|
+
|
|
12
|
+
```js
|
|
13
|
+
service.initializePayment({
|
|
14
|
+
methodId: 'braintreevisacheckout',
|
|
15
|
+
});
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Additional event callbacks can be registered.
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
service.initializePayment({
|
|
22
|
+
methodId: 'braintreevisacheckout',
|
|
23
|
+
braintreevisacheckout: {
|
|
24
|
+
onError(error) {
|
|
25
|
+
console.log(error);
|
|
26
|
+
},
|
|
27
|
+
onPaymentSelect() {
|
|
28
|
+
console.log('Selected');
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Table of contents
|
|
35
|
+
|
|
36
|
+
### Methods
|
|
37
|
+
|
|
38
|
+
- [onError](BraintreeVisaCheckoutPaymentInitializeOptions.md#onerror)
|
|
39
|
+
- [onPaymentSelect](BraintreeVisaCheckoutPaymentInitializeOptions.md#onpaymentselect)
|
|
40
|
+
|
|
41
|
+
## Methods
|
|
42
|
+
|
|
43
|
+
### onError
|
|
44
|
+
|
|
45
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
46
|
+
|
|
47
|
+
A callback that gets called when Visa Checkout fails to initialize or
|
|
48
|
+
selects a payment option.
|
|
49
|
+
|
|
50
|
+
#### Parameters
|
|
51
|
+
|
|
52
|
+
| Name | Type | Description |
|
|
53
|
+
| :------ | :------ | :------ |
|
|
54
|
+
| `error` | `Error` | The error object describing the failure. |
|
|
55
|
+
|
|
56
|
+
#### Returns
|
|
57
|
+
|
|
58
|
+
`void`
|
|
59
|
+
|
|
60
|
+
___
|
|
61
|
+
|
|
62
|
+
### onPaymentSelect
|
|
63
|
+
|
|
64
|
+
▸ `Optional` **onPaymentSelect**(): `void`
|
|
65
|
+
|
|
66
|
+
A callback that gets called when the customer selects a payment option.
|
|
67
|
+
|
|
68
|
+
#### Returns
|
|
69
|
+
|
|
70
|
+
`void`
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BrowserInfo
|
|
2
|
+
|
|
3
|
+
# Interface: BrowserInfo
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [color_depth](BrowserInfo.md#color_depth)
|
|
10
|
+
- [java_enabled](BrowserInfo.md#java_enabled)
|
|
11
|
+
- [language](BrowserInfo.md#language)
|
|
12
|
+
- [screen_height](BrowserInfo.md#screen_height)
|
|
13
|
+
- [screen_width](BrowserInfo.md#screen_width)
|
|
14
|
+
- [time_zone_offset](BrowserInfo.md#time_zone_offset)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### color\_depth
|
|
19
|
+
|
|
20
|
+
• **color\_depth**: `number`
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### java\_enabled
|
|
25
|
+
|
|
26
|
+
• **java\_enabled**: `boolean`
|
|
27
|
+
|
|
28
|
+
___
|
|
29
|
+
|
|
30
|
+
### language
|
|
31
|
+
|
|
32
|
+
• **language**: `string`
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### screen\_height
|
|
37
|
+
|
|
38
|
+
• **screen\_height**: `number`
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### screen\_width
|
|
43
|
+
|
|
44
|
+
• **screen\_width**: `number`
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### time\_zone\_offset
|
|
49
|
+
|
|
50
|
+
• **time\_zone\_offset**: `string`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / ButtonResponse
|
|
2
|
+
|
|
3
|
+
# Interface: ButtonResponse
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [type](ButtonResponse.md#type)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### type
|
|
14
|
+
|
|
15
|
+
• **type**: `string`
|
|
16
|
+
|
|
17
|
+
https://docs.digitalriver.com/digital-river-api/payment-integrations-1/drop-in/drop-in-integration-guide#customizing-the-text-of-the-drop-in-button
|
|
18
|
+
The text of the Drop-in button is customizable. You can either display pre-configured text or you can specify a unique text
|
|
19
|
+
Examples type: "payNow" || type: "buyNow" || type: "completeOrder" || type: "submitOrder"
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / ButtonStyles
|
|
2
|
+
|
|
3
|
+
# Interface: ButtonStyles
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`BlockElementStyles`](BlockElementStyles.md)
|
|
8
|
+
|
|
9
|
+
↳ **`ButtonStyles`**
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
- [active](ButtonStyles.md#active)
|
|
16
|
+
- [backgroundColor](ButtonStyles.md#backgroundcolor)
|
|
17
|
+
- [borderColor](ButtonStyles.md#bordercolor)
|
|
18
|
+
- [borderWidth](ButtonStyles.md#borderwidth)
|
|
19
|
+
- [boxShadow](ButtonStyles.md#boxshadow)
|
|
20
|
+
- [color](ButtonStyles.md#color)
|
|
21
|
+
- [disabled](ButtonStyles.md#disabled)
|
|
22
|
+
- [focus](ButtonStyles.md#focus)
|
|
23
|
+
- [fontFamily](ButtonStyles.md#fontfamily)
|
|
24
|
+
- [fontWeight](ButtonStyles.md#fontweight)
|
|
25
|
+
- [hover](ButtonStyles.md#hover)
|
|
26
|
+
- [letterSpacing](ButtonStyles.md#letterspacing)
|
|
27
|
+
- [lineHeight](ButtonStyles.md#lineheight)
|
|
28
|
+
|
|
29
|
+
## Properties
|
|
30
|
+
|
|
31
|
+
### active
|
|
32
|
+
|
|
33
|
+
• `Optional` **active**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### backgroundColor
|
|
38
|
+
|
|
39
|
+
• `Optional` **backgroundColor**: `string`
|
|
40
|
+
|
|
41
|
+
#### Inherited from
|
|
42
|
+
|
|
43
|
+
[BlockElementStyles](BlockElementStyles.md).[backgroundColor](BlockElementStyles.md#backgroundcolor)
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### borderColor
|
|
48
|
+
|
|
49
|
+
• `Optional` **borderColor**: `string`
|
|
50
|
+
|
|
51
|
+
#### Inherited from
|
|
52
|
+
|
|
53
|
+
[BlockElementStyles](BlockElementStyles.md).[borderColor](BlockElementStyles.md#bordercolor)
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### borderWidth
|
|
58
|
+
|
|
59
|
+
• `Optional` **borderWidth**: `string`
|
|
60
|
+
|
|
61
|
+
#### Inherited from
|
|
62
|
+
|
|
63
|
+
[BlockElementStyles](BlockElementStyles.md).[borderWidth](BlockElementStyles.md#borderwidth)
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### boxShadow
|
|
68
|
+
|
|
69
|
+
• `Optional` **boxShadow**: `string`
|
|
70
|
+
|
|
71
|
+
#### Inherited from
|
|
72
|
+
|
|
73
|
+
[BlockElementStyles](BlockElementStyles.md).[boxShadow](BlockElementStyles.md#boxshadow)
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### color
|
|
78
|
+
|
|
79
|
+
• `Optional` **color**: `string`
|
|
80
|
+
|
|
81
|
+
#### Inherited from
|
|
82
|
+
|
|
83
|
+
[BlockElementStyles](BlockElementStyles.md).[color](BlockElementStyles.md#color)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### disabled
|
|
88
|
+
|
|
89
|
+
• `Optional` **disabled**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### focus
|
|
94
|
+
|
|
95
|
+
• `Optional` **focus**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
96
|
+
|
|
97
|
+
___
|
|
98
|
+
|
|
99
|
+
### fontFamily
|
|
100
|
+
|
|
101
|
+
• `Optional` **fontFamily**: `string`
|
|
102
|
+
|
|
103
|
+
#### Inherited from
|
|
104
|
+
|
|
105
|
+
[BlockElementStyles](BlockElementStyles.md).[fontFamily](BlockElementStyles.md#fontfamily)
|
|
106
|
+
|
|
107
|
+
___
|
|
108
|
+
|
|
109
|
+
### fontWeight
|
|
110
|
+
|
|
111
|
+
• `Optional` **fontWeight**: `string`
|
|
112
|
+
|
|
113
|
+
#### Inherited from
|
|
114
|
+
|
|
115
|
+
[BlockElementStyles](BlockElementStyles.md).[fontWeight](BlockElementStyles.md#fontweight)
|
|
116
|
+
|
|
117
|
+
___
|
|
118
|
+
|
|
119
|
+
### hover
|
|
120
|
+
|
|
121
|
+
• `Optional` **hover**: [`BlockElementStyles`](BlockElementStyles.md)
|
|
122
|
+
|
|
123
|
+
___
|
|
124
|
+
|
|
125
|
+
### letterSpacing
|
|
126
|
+
|
|
127
|
+
• `Optional` **letterSpacing**: `string`
|
|
128
|
+
|
|
129
|
+
#### Inherited from
|
|
130
|
+
|
|
131
|
+
[BlockElementStyles](BlockElementStyles.md).[letterSpacing](BlockElementStyles.md#letterspacing)
|
|
132
|
+
|
|
133
|
+
___
|
|
134
|
+
|
|
135
|
+
### lineHeight
|
|
136
|
+
|
|
137
|
+
• `Optional` **lineHeight**: `string`
|
|
138
|
+
|
|
139
|
+
#### Inherited from
|
|
140
|
+
|
|
141
|
+
[BlockElementStyles](BlockElementStyles.md).[lineHeight](BlockElementStyles.md#lineheight)
|