@bigcommerce/checkout-sdk 1.271.1 → 1.271.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.d.ts +651 -730
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +763 -7438
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/dist/embedded-checkout.d.ts +218 -242
- package/dist/internal-mappers.d.ts +763 -762
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +126 -811
- package/docs/classes/CacheKeyResolver.md +58 -0
- package/package.json +2 -2
- package/docs/classes/CartChangedError.md +0 -76
- package/docs/classes/CheckoutButtonErrorSelector.md +0 -52
- package/docs/classes/CheckoutButtonInitializer.md +0 -177
- package/docs/classes/CheckoutButtonStatusSelector.md +0 -52
- package/docs/classes/CheckoutService.md +0 -1645
- package/docs/classes/CurrencyService.md +0 -54
- package/docs/classes/EmbeddedCheckout.md +0 -40
- package/docs/classes/LanguageService.md +0 -101
- package/docs/classes/RequestError.md +0 -106
- package/docs/classes/StandardError.md +0 -71
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +0 -57
- package/docs/enums/AmazonPayV2LedgerCurrency.md +0 -36
- package/docs/enums/AmazonPayV2PayOptions.md +0 -26
- package/docs/enums/AmazonPayV2Placement.md +0 -53
- package/docs/enums/BraintreeFormFieldType.md +0 -50
- package/docs/enums/ButtonColor.md +0 -29
- package/docs/enums/ButtonType.md +0 -22
- package/docs/enums/CheckoutButtonMethodType.md +0 -141
- package/docs/enums/CheckoutIncludes.md +0 -29
- package/docs/enums/EmbeddedCheckoutEventType.md +0 -50
- package/docs/enums/HostedFieldType.md +0 -50
- package/docs/enums/HostedInputEventType.md +0 -85
- package/docs/enums/IconStyle.md +0 -22
- package/docs/enums/PaypalButtonStyleColorOption.md +0 -36
- package/docs/enums/PaypalButtonStyleLabelOption.md +0 -43
- package/docs/enums/PaypalButtonStyleLayoutOption.md +0 -22
- package/docs/enums/PaypalButtonStyleShapeOption.md +0 -22
- package/docs/enums/PaypalButtonStyleSizeOption.md +0 -36
- package/docs/enums/PaypalCommerceFormFieldType.md +0 -50
- package/docs/enums/RadiusUnit.md +0 -22
- package/docs/enums/StyleButtonColor.md +0 -43
- package/docs/enums/StyleButtonLabel.md +0 -43
- package/docs/enums/StyleButtonLayout.md +0 -22
- package/docs/enums/StyleButtonShape.md +0 -22
- package/docs/interfaces/Address.md +0 -164
- package/docs/interfaces/AddressRequestBody.md +0 -100
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +0 -68
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +0 -66
- package/docs/interfaces/AdyenAdditionalActionOptions.md +0 -106
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +0 -106
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +0 -33
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +0 -33
- package/docs/interfaces/AdyenComponent.md +0 -72
- package/docs/interfaces/AdyenComponentEvents.md +0 -74
- package/docs/interfaces/AdyenComponentEvents_2.md +0 -74
- package/docs/interfaces/AdyenComponent_2.md +0 -72
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenIdealComponentOptions.md +0 -17
- package/docs/interfaces/AdyenPaymentMethodState.md +0 -21
- package/docs/interfaces/AdyenPaymentMethodState_2.md +0 -15
- package/docs/interfaces/AdyenPlaceholderData.md +0 -33
- package/docs/interfaces/AdyenPlaceholderData_2.md +0 -33
- package/docs/interfaces/AdyenThreeDS2Options.md +0 -97
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +0 -161
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +0 -135
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +0 -65
- package/docs/interfaces/AmazonPayOrderReference.md +0 -30
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +0 -100
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +0 -85
- package/docs/interfaces/AmazonPayV2ButtonParams.md +0 -71
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +0 -35
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +0 -24
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +0 -39
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +0 -26
- package/docs/interfaces/AmazonPayWidgetError.md +0 -25
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +0 -38
- package/docs/interfaces/ApplePayButtonInitializeOptions_2.md +0 -38
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +0 -77
- package/docs/interfaces/ApplePayCustomerInitializeOptions_2.md +0 -77
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/ApplePayPaymentInitializeOptions_2.md +0 -40
- package/docs/interfaces/BankInstrument.md +0 -112
- package/docs/interfaces/Banner.md +0 -22
- package/docs/interfaces/BaseAccountInstrument.md +0 -91
- package/docs/interfaces/BaseElementOptions.md +0 -17
- package/docs/interfaces/BaseElementOptions_2.md +0 -48
- package/docs/interfaces/BaseIndividualElementOptions.md +0 -67
- package/docs/interfaces/BaseInstrument.md +0 -58
- package/docs/interfaces/BillingAddress.md +0 -182
- package/docs/interfaces/BillingAddressRequestBody.md +0 -153
- package/docs/interfaces/BlockElementStyles.md +0 -105
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +0 -72
- package/docs/interfaces/BlueSnapV2StyleProps.md +0 -29
- package/docs/interfaces/BodyStyles.md +0 -15
- package/docs/interfaces/BoltCustomerInitializeOptions.md +0 -30
- package/docs/interfaces/BoltPaymentInitializeOptions.md +0 -94
- package/docs/interfaces/BraintreeError.md +0 -35
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldOptions.md +0 -35
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/BraintreeFormFieldsMap.md +0 -36
- package/docs/interfaces/BraintreeFormOptions.md +0 -110
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +0 -101
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +0 -96
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +0 -87
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +0 -51
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +0 -27
- package/docs/interfaces/BraintreeVerifyPayload.md +0 -51
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -35
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/BrowserInfo.md +0 -50
- package/docs/interfaces/ButtonResponse.md +0 -19
- package/docs/interfaces/ButtonStyles.md +0 -141
- package/docs/interfaces/CardCvcElementOptions.md +0 -72
- package/docs/interfaces/CardDataPaymentMethodState.md +0 -15
- package/docs/interfaces/CardDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/CardElementOptions.md +0 -91
- package/docs/interfaces/CardExpiryElementOptions.md +0 -72
- package/docs/interfaces/CardInstrument.md +0 -115
- package/docs/interfaces/CardNumberElementOptions.md +0 -88
- package/docs/interfaces/CardPaymentMethodState.md +0 -60
- package/docs/interfaces/CardPaymentMethodState_2.md +0 -43
- package/docs/interfaces/CardState.md +0 -40
- package/docs/interfaces/CardStateErrors.md +0 -7
- package/docs/interfaces/CardStateErrors_2.md +0 -7
- package/docs/interfaces/CardState_2.md +0 -40
- package/docs/interfaces/Cart.md +0 -99
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/ChasePayInitializeOptions.md +0 -98
- package/docs/interfaces/CheckableInputStyles.md +0 -175
- package/docs/interfaces/ChecklistStyles.md +0 -127
- package/docs/interfaces/Checkout.md +0 -195
- package/docs/interfaces/CheckoutButtonInitializeOptions_3.md +0 -68
- package/docs/interfaces/CheckoutButtonInitializeOptions_4.md +0 -244
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +0 -22
- package/docs/interfaces/CheckoutButtonOptions.md +0 -55
- package/docs/interfaces/CheckoutButtonOptions_2.md +0 -55
- package/docs/interfaces/CheckoutButtonSelectors.md +0 -22
- package/docs/interfaces/CheckoutParams.md +0 -15
- package/docs/interfaces/CheckoutPayment.md +0 -42
- package/docs/interfaces/CheckoutRequestBody.md +0 -15
- package/docs/interfaces/CheckoutSelectors.md +0 -29
- package/docs/interfaces/CheckoutServiceOptions.md +0 -36
- package/docs/interfaces/CheckoutSettings.md +0 -201
- package/docs/interfaces/CheckoutStoreErrorSelector.md +0 -636
- package/docs/interfaces/CheckoutStoreSelector.md +0 -501
- package/docs/interfaces/CheckoutStoreStatusSelector.md +0 -758
- package/docs/interfaces/Consignment.md +0 -71
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -29
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -29
- package/docs/interfaces/ConsignmentCreateRequestBody.md +0 -36
- package/docs/interfaces/ConsignmentLineItem.md +0 -22
- package/docs/interfaces/ConsignmentPickupOption.md +0 -15
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +0 -43
- package/docs/interfaces/Coordinates.md +0 -22
- package/docs/interfaces/Country.md +0 -43
- package/docs/interfaces/Coupon.md +0 -43
- package/docs/interfaces/CreditCardInstrument.md +0 -85
- package/docs/interfaces/CreditCardPaymentInitializeOptions.md +0 -91
- package/docs/interfaces/CreditCardPlaceHolder.md +0 -29
- package/docs/interfaces/CreditCardPlaceHolder_2.md +0 -29
- package/docs/interfaces/CssProperties.md +0 -211
- package/docs/interfaces/CssProperties_2.md +0 -211
- package/docs/interfaces/Currency.md +0 -36
- package/docs/interfaces/CustomError.md +0 -43
- package/docs/interfaces/CustomItem.md +0 -50
- package/docs/interfaces/Customer.md +0 -84
- package/docs/interfaces/CustomerAccountRequestBody.md +0 -50
- package/docs/interfaces/CustomerAddress.md +0 -182
- package/docs/interfaces/CustomerCredentials.md +0 -22
- package/docs/interfaces/CustomerGroup.md +0 -22
- package/docs/interfaces/CustomerInitializeOptions_3.md +0 -29
- package/docs/interfaces/CustomerInitializeOptions_4.md +0 -221
- package/docs/interfaces/CustomerPasswordRequirements.md +0 -36
- package/docs/interfaces/CustomerRequestOptions.md +0 -23
- package/docs/interfaces/CustomerRequestOptions_2.md +0 -60
- package/docs/interfaces/DigitalItem.md +0 -310
- package/docs/interfaces/DigitalRiverElementClasses.md +0 -67
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +0 -146
- package/docs/interfaces/Discount.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutError.md +0 -29
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +0 -109
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutOptions.md +0 -134
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutStyles.md +0 -141
- package/docs/interfaces/EmbeddedContentOptions.md +0 -15
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +0 -76
- package/docs/interfaces/FlashMessage.md +0 -29
- package/docs/interfaces/FormField.md +0 -113
- package/docs/interfaces/FormFieldItem.md +0 -22
- package/docs/interfaces/FormFieldOptions.md +0 -29
- package/docs/interfaces/FormFields.md +0 -29
- package/docs/interfaces/GatewayOrderPayment.md +0 -108
- package/docs/interfaces/GiftCertificate.md +0 -43
- package/docs/interfaces/GiftCertificateItem.md +0 -78
- package/docs/interfaces/GiftCertificateOrderPayment.md +0 -94
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +0 -31
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +0 -42
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +0 -93
- package/docs/interfaces/HostedCardFieldOptions.md +0 -35
- package/docs/interfaces/HostedCardFieldOptionsMap.md +0 -36
- package/docs/interfaces/HostedFieldStylesMap.md +0 -29
- package/docs/interfaces/HostedFormOptions.md +0 -114
- package/docs/interfaces/HostedInputBlurEvent.md +0 -28
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +0 -28
- package/docs/interfaces/HostedInputEnterEvent.md +0 -28
- package/docs/interfaces/HostedInputFocusEvent.md +0 -28
- package/docs/interfaces/HostedInputValidateErrorData.md +0 -29
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +0 -50
- package/docs/interfaces/HostedInputValidateEvent.md +0 -22
- package/docs/interfaces/HostedInputValidateResults.md +0 -22
- package/docs/interfaces/HostedInstrument.md +0 -22
- package/docs/interfaces/HostedStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +0 -22
- package/docs/interfaces/IbanElementOptions.md +0 -82
- package/docs/interfaces/IdealElementOptions.md +0 -70
- package/docs/interfaces/IndividualCardElementOptions.md +0 -36
- package/docs/interfaces/InitializationStrategy.md +0 -21
- package/docs/interfaces/InlineElementStyles.md +0 -53
- package/docs/interfaces/InputDetail.md +0 -80
- package/docs/interfaces/InputDetail_2.md +0 -80
- package/docs/interfaces/InputStyles.md +0 -152
- package/docs/interfaces/Item.md +0 -22
- package/docs/interfaces/Item_2.md +0 -26
- package/docs/interfaces/Item_3.md +0 -26
- package/docs/interfaces/KlarnaLoadResponse.md +0 -28
- package/docs/interfaces/KlarnaLoadResponse_2.md +0 -28
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +0 -73
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +0 -73
- package/docs/interfaces/LabelStyles.md +0 -76
- package/docs/interfaces/LanguageConfig.md +0 -57
- package/docs/interfaces/LineItem.md +0 -191
- package/docs/interfaces/LineItemCategory.md +0 -15
- package/docs/interfaces/LineItemMap.md +0 -36
- package/docs/interfaces/LineItemOption.md +0 -36
- package/docs/interfaces/LineItemSocialData.md +0 -36
- package/docs/interfaces/LinkStyles.md +0 -90
- package/docs/interfaces/LoadingIndicatorStyles.md +0 -29
- package/docs/interfaces/Locales.md +0 -7
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +0 -35
- package/docs/interfaces/MolliePaymentInitializeOptions.md +0 -96
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +0 -57
- package/docs/interfaces/MonerisStylingProps.md +0 -80
- package/docs/interfaces/NonceGenerationError.md +0 -29
- package/docs/interfaces/NonceInstrument.md +0 -36
- package/docs/interfaces/Option.md +0 -22
- package/docs/interfaces/OptionsResponse.md +0 -77
- package/docs/interfaces/OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/Order.md +0 -190
- package/docs/interfaces/OrderConsignment.md +0 -15
- package/docs/interfaces/OrderPayment.md +0 -58
- package/docs/interfaces/OrderPaymentRequestBody.md +0 -39
- package/docs/interfaces/OrderRequestBody.md +0 -33
- package/docs/interfaces/OrderShippingConsignment.md +0 -218
- package/docs/interfaces/PasswordRequirements.md +0 -36
- package/docs/interfaces/PayPalInstrument.md +0 -91
- package/docs/interfaces/PaymentInitializeOptions_3.md +0 -74
- package/docs/interfaces/PaymentInitializeOptions_4.md +0 -406
- package/docs/interfaces/PaymentMethod.md +0 -98
- package/docs/interfaces/PaymentMethodConfig.md +0 -120
- package/docs/interfaces/PaymentRequestOptions.md +0 -67
- package/docs/interfaces/PaymentRequestOptions_2.md +0 -67
- package/docs/interfaces/PaymentSettings.md +0 -22
- package/docs/interfaces/PaypalButtonInitializeOptions.md +0 -76
- package/docs/interfaces/PaypalButtonStyleOptions.md +0 -64
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +0 -50
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +0 -35
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -90
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +0 -28
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +0 -36
- package/docs/interfaces/PaypalCommerceFormOptions.md +0 -148
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +0 -186
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +0 -43
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +0 -36
- package/docs/interfaces/PaypalFieldsStyleOptions.md +0 -46
- package/docs/interfaces/PhysicalItem.md +0 -311
- package/docs/interfaces/PickupMethod.md +0 -43
- package/docs/interfaces/PickupOptionRequestBody.md +0 -22
- package/docs/interfaces/PickupOptionResult.md +0 -15
- package/docs/interfaces/Promotion.md +0 -15
- package/docs/interfaces/Radius.md +0 -22
- package/docs/interfaces/Region.md +0 -22
- package/docs/interfaces/RequestOptions.md +0 -48
- package/docs/interfaces/RequestOptions_2.md +0 -44
- package/docs/interfaces/SearchArea.md +0 -22
- package/docs/interfaces/SepaPlaceHolder.md +0 -22
- package/docs/interfaces/SepaPlaceHolder_2.md +0 -22
- package/docs/interfaces/ShippingInitializeOptions.md +0 -88
- package/docs/interfaces/ShippingOption.md +0 -64
- package/docs/interfaces/ShippingRequestOptions.md +0 -65
- package/docs/interfaces/ShopperConfig.md +0 -29
- package/docs/interfaces/ShopperCurrency.md +0 -94
- package/docs/interfaces/SignInEmail.md +0 -22
- package/docs/interfaces/SignInEmailRequestBody.md +0 -22
- package/docs/interfaces/SpamProtectionOptions.md +0 -25
- package/docs/interfaces/SquareFormElement.md +0 -28
- package/docs/interfaces/SquarePaymentInitializeOptions.md +0 -131
- package/docs/interfaces/StepStyles.md +0 -120
- package/docs/interfaces/StepTracker.md +0 -64
- package/docs/interfaces/StepTrackerConfig.md +0 -15
- package/docs/interfaces/StoreConfig.md +0 -109
- package/docs/interfaces/StoreCurrency.md +0 -56
- package/docs/interfaces/StoreLinks.md +0 -57
- package/docs/interfaces/StoreProfile.md +0 -71
- package/docs/interfaces/StripeElementCSSProperties.md +0 -170
- package/docs/interfaces/StripeElementClasses.md +0 -63
- package/docs/interfaces/StripeElementStyle.md +0 -44
- package/docs/interfaces/StripeElementStyleVariant.md +0 -285
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +0 -76
- package/docs/interfaces/StyleOptions.md +0 -44
- package/docs/interfaces/StyleOptions_2.md +0 -44
- package/docs/interfaces/SubInputDetail.md +0 -62
- package/docs/interfaces/SubInputDetail_2.md +0 -62
- package/docs/interfaces/Subscriptions.md +0 -29
- package/docs/interfaces/Tax.md +0 -22
- package/docs/interfaces/TextInputStyles.md +0 -175
- package/docs/interfaces/ThreeDSecure.md +0 -50
- package/docs/interfaces/ThreeDSecureToken.md +0 -15
- package/docs/interfaces/TranslationData.md +0 -7
- package/docs/interfaces/Translations.md +0 -7
- package/docs/interfaces/UnknownObject.md +0 -7
- package/docs/interfaces/VaultedInstrument.md +0 -29
- package/docs/interfaces/WechatDataPaymentMethodState.md +0 -15
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/WechatState.md +0 -15
- package/docs/interfaces/WechatState_2.md +0 -15
- package/docs/interfaces/WithAccountCreation.md +0 -15
- package/docs/interfaces/WithApplePayButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +0 -15
- package/docs/interfaces/WithDocumentInstrument.md +0 -15
- package/docs/interfaces/WithMollieIssuerInstrument.md +0 -22
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +0 -30
- package/docs/interfaces/ZipCodeElementOptions.md +0 -15
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CacheKeyResolver
|
|
2
|
+
|
|
3
|
+
# Class: CacheKeyResolver
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Constructors
|
|
8
|
+
|
|
9
|
+
- [constructor](CacheKeyResolver.md#constructor)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [getKey](CacheKeyResolver.md#getkey)
|
|
14
|
+
- [getUsedCount](CacheKeyResolver.md#getusedcount)
|
|
15
|
+
|
|
16
|
+
## Constructors
|
|
17
|
+
|
|
18
|
+
### constructor
|
|
19
|
+
|
|
20
|
+
• **new CacheKeyResolver**(`options?`)
|
|
21
|
+
|
|
22
|
+
#### Parameters
|
|
23
|
+
|
|
24
|
+
| Name | Type |
|
|
25
|
+
| :------ | :------ |
|
|
26
|
+
| `options?` | `CacheKeyResolverOptions` |
|
|
27
|
+
|
|
28
|
+
## Methods
|
|
29
|
+
|
|
30
|
+
### getKey
|
|
31
|
+
|
|
32
|
+
▸ **getKey**(...`args`): `string`
|
|
33
|
+
|
|
34
|
+
#### Parameters
|
|
35
|
+
|
|
36
|
+
| Name | Type |
|
|
37
|
+
| :------ | :------ |
|
|
38
|
+
| `...args` | `any`[] |
|
|
39
|
+
|
|
40
|
+
#### Returns
|
|
41
|
+
|
|
42
|
+
`string`
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### getUsedCount
|
|
47
|
+
|
|
48
|
+
▸ **getUsedCount**(...`args`): `number`
|
|
49
|
+
|
|
50
|
+
#### Parameters
|
|
51
|
+
|
|
52
|
+
| Name | Type |
|
|
53
|
+
| :------ | :------ |
|
|
54
|
+
| `...args` | `any`[] |
|
|
55
|
+
|
|
56
|
+
#### Returns
|
|
57
|
+
|
|
58
|
+
`number`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigcommerce/checkout-sdk",
|
|
3
|
-
"version": "1.271.
|
|
3
|
+
"version": "1.271.2",
|
|
4
4
|
"description": "BigCommerce Checkout JavaScript SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/checkout-sdk.js",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@babel/core": "^7.6.2",
|
|
78
78
|
"@babel/preset-env": "^7.6.2",
|
|
79
79
|
"@bigcommerce/eslint-config": "^1.0.1",
|
|
80
|
-
"@microsoft/api-extractor": "^
|
|
80
|
+
"@microsoft/api-extractor": "^7.28.6",
|
|
81
81
|
"@nrwl/cli": "^13.10.3",
|
|
82
82
|
"@nrwl/devkit": "^13.10.3",
|
|
83
83
|
"@nrwl/eslint-plugin-nx": "^13.10.3",
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / CartChangedError
|
|
2
|
-
|
|
3
|
-
# Class: CartChangedError
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`StandardError`](StandardError.md)
|
|
8
|
-
|
|
9
|
-
↳ **`CartChangedError`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Constructors
|
|
14
|
-
|
|
15
|
-
- [constructor](CartChangedError.md#constructor)
|
|
16
|
-
|
|
17
|
-
### Properties
|
|
18
|
-
|
|
19
|
-
- [data](CartChangedError.md#data)
|
|
20
|
-
- [name](CartChangedError.md#name)
|
|
21
|
-
- [type](CartChangedError.md#type)
|
|
22
|
-
|
|
23
|
-
## Constructors
|
|
24
|
-
|
|
25
|
-
### constructor
|
|
26
|
-
|
|
27
|
-
• **new CartChangedError**(`previous`, `updated`)
|
|
28
|
-
|
|
29
|
-
#### Parameters
|
|
30
|
-
|
|
31
|
-
| Name | Type |
|
|
32
|
-
| :------ | :------ |
|
|
33
|
-
| `previous` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
34
|
-
| `updated` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
35
|
-
|
|
36
|
-
#### Overrides
|
|
37
|
-
|
|
38
|
-
[StandardError](StandardError.md).[constructor](StandardError.md#constructor)
|
|
39
|
-
|
|
40
|
-
## Properties
|
|
41
|
-
|
|
42
|
-
### data
|
|
43
|
-
|
|
44
|
-
• **data**: `Object`
|
|
45
|
-
|
|
46
|
-
**`alpha`**
|
|
47
|
-
Please note that this option is currently in an early stage of
|
|
48
|
-
development. Therefore the API is unstable and not ready for public
|
|
49
|
-
consumption.
|
|
50
|
-
|
|
51
|
-
#### Type declaration
|
|
52
|
-
|
|
53
|
-
| Name | Type |
|
|
54
|
-
| :------ | :------ |
|
|
55
|
-
| `previous` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
56
|
-
| `updated` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
57
|
-
|
|
58
|
-
___
|
|
59
|
-
|
|
60
|
-
### name
|
|
61
|
-
|
|
62
|
-
• **name**: `string`
|
|
63
|
-
|
|
64
|
-
#### Inherited from
|
|
65
|
-
|
|
66
|
-
[StandardError](StandardError.md).[name](StandardError.md#name)
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### type
|
|
71
|
-
|
|
72
|
-
• **type**: `string`
|
|
73
|
-
|
|
74
|
-
#### Inherited from
|
|
75
|
-
|
|
76
|
-
[StandardError](StandardError.md).[type](StandardError.md#type)
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonErrorSelector
|
|
2
|
-
|
|
3
|
-
# Class: CheckoutButtonErrorSelector
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Constructors
|
|
8
|
-
|
|
9
|
-
- [constructor](CheckoutButtonErrorSelector.md#constructor)
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [getDeinitializeButtonError](CheckoutButtonErrorSelector.md#getdeinitializebuttonerror)
|
|
14
|
-
- [getInitializeButtonError](CheckoutButtonErrorSelector.md#getinitializebuttonerror)
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### constructor
|
|
19
|
-
|
|
20
|
-
• **new CheckoutButtonErrorSelector**()
|
|
21
|
-
|
|
22
|
-
## Methods
|
|
23
|
-
|
|
24
|
-
### getDeinitializeButtonError
|
|
25
|
-
|
|
26
|
-
▸ **getDeinitializeButtonError**(`methodId?`): `undefined` \| `Error`
|
|
27
|
-
|
|
28
|
-
#### Parameters
|
|
29
|
-
|
|
30
|
-
| Name | Type |
|
|
31
|
-
| :------ | :------ |
|
|
32
|
-
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
33
|
-
|
|
34
|
-
#### Returns
|
|
35
|
-
|
|
36
|
-
`undefined` \| `Error`
|
|
37
|
-
|
|
38
|
-
___
|
|
39
|
-
|
|
40
|
-
### getInitializeButtonError
|
|
41
|
-
|
|
42
|
-
▸ **getInitializeButtonError**(`methodId?`): `undefined` \| `Error`
|
|
43
|
-
|
|
44
|
-
#### Parameters
|
|
45
|
-
|
|
46
|
-
| Name | Type |
|
|
47
|
-
| :------ | :------ |
|
|
48
|
-
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
49
|
-
|
|
50
|
-
#### Returns
|
|
51
|
-
|
|
52
|
-
`undefined` \| `Error`
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonInitializer
|
|
2
|
-
|
|
3
|
-
# Class: CheckoutButtonInitializer
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Constructors
|
|
8
|
-
|
|
9
|
-
- [constructor](CheckoutButtonInitializer.md#constructor)
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [deinitializeButton](CheckoutButtonInitializer.md#deinitializebutton)
|
|
14
|
-
- [getState](CheckoutButtonInitializer.md#getstate)
|
|
15
|
-
- [initializeButton](CheckoutButtonInitializer.md#initializebutton)
|
|
16
|
-
- [subscribe](CheckoutButtonInitializer.md#subscribe)
|
|
17
|
-
|
|
18
|
-
## Constructors
|
|
19
|
-
|
|
20
|
-
### constructor
|
|
21
|
-
|
|
22
|
-
• **new CheckoutButtonInitializer**()
|
|
23
|
-
|
|
24
|
-
## Methods
|
|
25
|
-
|
|
26
|
-
### deinitializeButton
|
|
27
|
-
|
|
28
|
-
▸ **deinitializeButton**(`options`): `Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
29
|
-
|
|
30
|
-
De-initializes the checkout button by performing any necessary clean-ups.
|
|
31
|
-
|
|
32
|
-
```js
|
|
33
|
-
await service.deinitializeButton({
|
|
34
|
-
methodId: 'braintreepaypal',
|
|
35
|
-
});
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
#### Parameters
|
|
39
|
-
|
|
40
|
-
| Name | Type | Description |
|
|
41
|
-
| :------ | :------ | :------ |
|
|
42
|
-
| `options` | [`CheckoutButtonOptions_2`](../interfaces/CheckoutButtonOptions_2.md) | Options for deinitializing the checkout button. |
|
|
43
|
-
|
|
44
|
-
#### Returns
|
|
45
|
-
|
|
46
|
-
`Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
47
|
-
|
|
48
|
-
A promise that resolves to the current state.
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### getState
|
|
53
|
-
|
|
54
|
-
▸ **getState**(): [`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)
|
|
55
|
-
|
|
56
|
-
Returns a snapshot of the current state.
|
|
57
|
-
|
|
58
|
-
The method returns a new instance every time there is a change in the
|
|
59
|
-
state. You can query the state by calling any of its getter methods.
|
|
60
|
-
|
|
61
|
-
```js
|
|
62
|
-
const state = service.getState();
|
|
63
|
-
|
|
64
|
-
console.log(state.errors.getInitializeButtonError());
|
|
65
|
-
console.log(state.statuses.isInitializingButton());
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
#### Returns
|
|
69
|
-
|
|
70
|
-
[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)
|
|
71
|
-
|
|
72
|
-
The current customer's checkout state
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### initializeButton
|
|
77
|
-
|
|
78
|
-
▸ **initializeButton**(`options`): `Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
79
|
-
|
|
80
|
-
Initializes the checkout button of a payment method.
|
|
81
|
-
|
|
82
|
-
When the checkout button is initialized, it will be inserted into the DOM,
|
|
83
|
-
ready to be interacted with by the customer.
|
|
84
|
-
|
|
85
|
-
```js
|
|
86
|
-
initializer.initializeButton({
|
|
87
|
-
methodId: 'braintreepaypal',
|
|
88
|
-
containerId: 'checkoutButton',
|
|
89
|
-
braintreepaypal: {
|
|
90
|
-
},
|
|
91
|
-
});
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
#### Parameters
|
|
95
|
-
|
|
96
|
-
| Name | Type | Description |
|
|
97
|
-
| :------ | :------ | :------ |
|
|
98
|
-
| `options` | [`CheckoutButtonInitializeOptions`](../README.md#checkoutbuttoninitializeoptions) | Options for initializing the checkout button. |
|
|
99
|
-
|
|
100
|
-
#### Returns
|
|
101
|
-
|
|
102
|
-
`Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
103
|
-
|
|
104
|
-
A promise that resolves to the current state.
|
|
105
|
-
|
|
106
|
-
___
|
|
107
|
-
|
|
108
|
-
### subscribe
|
|
109
|
-
|
|
110
|
-
▸ **subscribe**(`subscriber`, ...`filters`): () => `void`
|
|
111
|
-
|
|
112
|
-
Subscribes to any changes to the current state.
|
|
113
|
-
|
|
114
|
-
The method registers a callback function and executes it every time there
|
|
115
|
-
is a change in the current state.
|
|
116
|
-
|
|
117
|
-
```js
|
|
118
|
-
service.subscribe(state => {
|
|
119
|
-
console.log(state.statuses.isInitializingButton());
|
|
120
|
-
});
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
The method can be configured to notify subscribers only regarding
|
|
124
|
-
relevant changes, by providing a filter function.
|
|
125
|
-
|
|
126
|
-
```js
|
|
127
|
-
const filter = state => state.errors.getInitializeButtonError();
|
|
128
|
-
|
|
129
|
-
// Only trigger the subscriber when the cart changes.
|
|
130
|
-
service.subscribe(state => {
|
|
131
|
-
console.log(state.errors.getInitializeButtonError())
|
|
132
|
-
}, filter);
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
#### Parameters
|
|
136
|
-
|
|
137
|
-
| Name | Type | Description |
|
|
138
|
-
| :------ | :------ | :------ |
|
|
139
|
-
| `subscriber` | (`state`: [`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)) => `void` | The function to subscribe to state changes. |
|
|
140
|
-
| `...filters` | (`state`: [`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)) => `any`[] | One or more functions to filter out irrelevant state changes. If more than one function is provided, the subscriber will only be triggered if all conditions are met. |
|
|
141
|
-
|
|
142
|
-
#### Returns
|
|
143
|
-
|
|
144
|
-
`fn`
|
|
145
|
-
|
|
146
|
-
A function, if called, will unsubscribe the subscriber.
|
|
147
|
-
|
|
148
|
-
▸ (): `void`
|
|
149
|
-
|
|
150
|
-
Subscribes to any changes to the current state.
|
|
151
|
-
|
|
152
|
-
The method registers a callback function and executes it every time there
|
|
153
|
-
is a change in the current state.
|
|
154
|
-
|
|
155
|
-
```js
|
|
156
|
-
service.subscribe(state => {
|
|
157
|
-
console.log(state.statuses.isInitializingButton());
|
|
158
|
-
});
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
The method can be configured to notify subscribers only regarding
|
|
162
|
-
relevant changes, by providing a filter function.
|
|
163
|
-
|
|
164
|
-
```js
|
|
165
|
-
const filter = state => state.errors.getInitializeButtonError();
|
|
166
|
-
|
|
167
|
-
// Only trigger the subscriber when the cart changes.
|
|
168
|
-
service.subscribe(state => {
|
|
169
|
-
console.log(state.errors.getInitializeButtonError())
|
|
170
|
-
}, filter);
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
##### Returns
|
|
174
|
-
|
|
175
|
-
`void`
|
|
176
|
-
|
|
177
|
-
A function, if called, will unsubscribe the subscriber.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonStatusSelector
|
|
2
|
-
|
|
3
|
-
# Class: CheckoutButtonStatusSelector
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Constructors
|
|
8
|
-
|
|
9
|
-
- [constructor](CheckoutButtonStatusSelector.md#constructor)
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [isDeinitializingButton](CheckoutButtonStatusSelector.md#isdeinitializingbutton)
|
|
14
|
-
- [isInitializingButton](CheckoutButtonStatusSelector.md#isinitializingbutton)
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### constructor
|
|
19
|
-
|
|
20
|
-
• **new CheckoutButtonStatusSelector**()
|
|
21
|
-
|
|
22
|
-
## Methods
|
|
23
|
-
|
|
24
|
-
### isDeinitializingButton
|
|
25
|
-
|
|
26
|
-
▸ **isDeinitializingButton**(`methodId?`): `boolean`
|
|
27
|
-
|
|
28
|
-
#### Parameters
|
|
29
|
-
|
|
30
|
-
| Name | Type |
|
|
31
|
-
| :------ | :------ |
|
|
32
|
-
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
33
|
-
|
|
34
|
-
#### Returns
|
|
35
|
-
|
|
36
|
-
`boolean`
|
|
37
|
-
|
|
38
|
-
___
|
|
39
|
-
|
|
40
|
-
### isInitializingButton
|
|
41
|
-
|
|
42
|
-
▸ **isInitializingButton**(`methodId?`): `boolean`
|
|
43
|
-
|
|
44
|
-
#### Parameters
|
|
45
|
-
|
|
46
|
-
| Name | Type |
|
|
47
|
-
| :------ | :------ |
|
|
48
|
-
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
49
|
-
|
|
50
|
-
#### Returns
|
|
51
|
-
|
|
52
|
-
`boolean`
|