@bigcommerce/checkout-sdk 1.308.2 → 1.308.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +16 -158
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +54 -0
- package/docs/classes/internal_.CheckoutButtonInitializer.md +179 -0
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +54 -0
- package/docs/classes/internal_.StandardError.md +0 -4
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +31 -0
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +59 -0
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +38 -0
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +28 -0
- package/docs/enums/internal_.AmazonPayV2Placement.md +55 -0
- package/docs/enums/internal_.CheckoutButtonMethodType.md +164 -0
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +38 -0
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +45 -0
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +38 -0
- package/docs/enums/internal_.StyleButtonColor.md +45 -0
- package/docs/enums/internal_.StyleButtonLabel.md +45 -0
- package/docs/enums/internal_.StyleButtonLayout.md +24 -0
- package/docs/enums/internal_.StyleButtonShape.md +24 -0
- package/docs/interfaces/internal_.Address.md +0 -4
- package/docs/interfaces/internal_.AddressRequestBody.md +0 -2
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +82 -0
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +117 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +37 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +38 -0
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +139 -0
- package/docs/interfaces/internal_.AmazonPayV2Price.md +28 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +40 -0
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +291 -0
- package/docs/interfaces/internal_.BraintreeError.md +37 -0
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +122 -0
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +113 -0
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +56 -0
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +26 -0
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +24 -0
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +57 -0
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +24 -0
- package/docs/interfaces/{internal_.GooglePayCustomerInitializeOptions.md → internal_.GooglePayButtonInitializeOptions.md} +5 -16
- package/docs/interfaces/internal_.LineItem.md +8 -163
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +66 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +69 -0
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +61 -0
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +68 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +77 -0
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +58 -0
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +52 -0
- package/docs/interfaces/internal_.RequestOptions.md +1 -5
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +17 -0
- package/docs/modules/internal_.md +51 -515
- package/package.json +1 -1
- package/docs/classes/internal_.CartChangedError.md +0 -62
- package/docs/classes/internal_.CheckoutService.md +0 -1528
- package/docs/classes/internal_.CurrencyService.md +0 -56
- package/docs/classes/internal_.EmbeddedCheckout.md +0 -42
- package/docs/classes/internal_.LanguageService.md +0 -103
- package/docs/classes/internal_.RequestError.md +0 -108
- package/docs/enums/internal_.AdyenV2CardFields.md +0 -31
- package/docs/enums/internal_.AdyenV3CardFields.md +0 -31
- package/docs/enums/internal_.CheckoutIncludes.md +0 -31
- package/docs/enums/internal_.HostedFieldType.md +0 -52
- package/docs/enums/internal_.IconStyle.md +0 -24
- package/docs/enums/internal_.RadiusUnit.md +0 -24
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +0 -70
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +0 -68
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +0 -108
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +0 -108
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +0 -35
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +0 -42
- package/docs/interfaces/internal_.AdyenComponent.md +0 -74
- package/docs/interfaces/internal_.AdyenComponentEvents.md +0 -76
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +0 -76
- package/docs/interfaces/internal_.AdyenComponent_2.md +0 -74
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +0 -187
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +0 -19
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +0 -23
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +0 -35
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +0 -35
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +0 -99
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +0 -162
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +0 -59
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +0 -198
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +0 -137
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +0 -59
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +0 -67
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +0 -32
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +0 -102
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +0 -87
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +0 -26
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +0 -28
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +0 -27
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +0 -79
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.BankInstrument.md +0 -114
- package/docs/interfaces/internal_.Banner.md +0 -24
- package/docs/interfaces/internal_.BaseAccountInstrument.md +0 -93
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +0 -237
- package/docs/interfaces/internal_.BaseElementOptions.md +0 -28
- package/docs/interfaces/internal_.BaseElementOptions_2.md +0 -50
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +0 -69
- package/docs/interfaces/internal_.BaseInstrument.md +0 -60
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +0 -376
- package/docs/interfaces/internal_.BillingAddress.md +0 -184
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +0 -155
- package/docs/interfaces/internal_.BlockElementStyles.md +0 -107
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +0 -31
- package/docs/interfaces/internal_.BodlEventsPayload.md +0 -9
- package/docs/interfaces/internal_.BodlService.md +0 -172
- package/docs/interfaces/internal_.BodyStyles.md +0 -17
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +0 -96
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +0 -91
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +0 -53
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +0 -53
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.BrowserInfo.md +0 -52
- package/docs/interfaces/internal_.ButtonResponse.md +0 -21
- package/docs/interfaces/internal_.ButtonStyles.md +0 -143
- package/docs/interfaces/internal_.CardCvcElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.CardElementOptions.md +0 -93
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardInstrument.md +0 -117
- package/docs/interfaces/internal_.CardNumberElementOptions.md +0 -90
- package/docs/interfaces/internal_.CardPaymentMethodState.md +0 -62
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +0 -45
- package/docs/interfaces/internal_.CardState.md +0 -42
- package/docs/interfaces/internal_.CardStateErrors.md +0 -9
- package/docs/interfaces/internal_.CardStateErrors_2.md +0 -9
- package/docs/interfaces/internal_.CardState_2.md +0 -42
- package/docs/interfaces/internal_.Cart.md +0 -108
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.CheckableInputStyles.md +0 -177
- package/docs/interfaces/internal_.ChecklistStyles.md +0 -129
- package/docs/interfaces/internal_.Checkout.md +0 -204
- package/docs/interfaces/internal_.CheckoutParams.md +0 -17
- package/docs/interfaces/internal_.CheckoutPayment.md +0 -44
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +0 -17
- package/docs/interfaces/internal_.CheckoutRequestBody.md +0 -17
- package/docs/interfaces/internal_.CheckoutSelectors.md +0 -31
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +0 -38
- package/docs/interfaces/internal_.CheckoutSettings.md +0 -203
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +0 -638
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +0 -503
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +0 -760
- package/docs/interfaces/internal_.Consignment.md +0 -73
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +0 -38
- package/docs/interfaces/internal_.ConsignmentLineItem.md +0 -24
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +0 -17
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +0 -45
- package/docs/interfaces/internal_.Coordinates.md +0 -24
- package/docs/interfaces/internal_.Country.md +0 -45
- package/docs/interfaces/internal_.Coupon.md +0 -45
- package/docs/interfaces/internal_.CreditCardInstrument.md +0 -87
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +0 -31
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +0 -31
- package/docs/interfaces/internal_.CssProperties.md +0 -213
- package/docs/interfaces/internal_.CssProperties_2.md +0 -213
- package/docs/interfaces/internal_.Currency.md +0 -38
- package/docs/interfaces/internal_.CustomItem.md +0 -52
- package/docs/interfaces/internal_.Customer.md +0 -93
- package/docs/interfaces/internal_.CustomerAddress.md +0 -184
- package/docs/interfaces/internal_.CustomerCredentials.md +0 -24
- package/docs/interfaces/internal_.CustomerGroup.md +0 -24
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.CustomerRequestOptions.md +0 -62
- package/docs/interfaces/internal_.DigitalItem.md +0 -312
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +0 -69
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +0 -148
- package/docs/interfaces/internal_.Discount.md +0 -24
- package/docs/interfaces/internal_.DisplaySettings.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +0 -31
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +0 -136
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +0 -143
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +0 -17
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +0 -95
- package/docs/interfaces/internal_.FlashMessage.md +0 -31
- package/docs/interfaces/internal_.FormField.md +0 -115
- package/docs/interfaces/internal_.FormFieldItem.md +0 -24
- package/docs/interfaces/internal_.FormFieldOptions.md +0 -31
- package/docs/interfaces/internal_.FormFields.md +0 -31
- package/docs/interfaces/internal_.GatewayOrderPayment.md +0 -110
- package/docs/interfaces/internal_.GiftCertificate.md +0 -45
- package/docs/interfaces/internal_.GiftCertificateItem.md +0 -80
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +0 -96
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +0 -95
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +0 -37
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +0 -38
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.HostedFormOptions.md +0 -116
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +0 -52
- package/docs/interfaces/internal_.HostedInputValidateResults.md +0 -24
- package/docs/interfaces/internal_.HostedInstrument.md +0 -24
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +0 -56
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +0 -24
- package/docs/interfaces/internal_.IbanElementOptions.md +0 -84
- package/docs/interfaces/internal_.IdealElementOptions.md +0 -72
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +0 -38
- package/docs/interfaces/internal_.InitializationStrategy.md +0 -23
- package/docs/interfaces/internal_.InlineElementStyles.md +0 -55
- package/docs/interfaces/internal_.InputDetail.md +0 -82
- package/docs/interfaces/internal_.InputDetail_2.md +0 -82
- package/docs/interfaces/internal_.InputStyles.md +0 -154
- package/docs/interfaces/internal_.Item.md +0 -24
- package/docs/interfaces/internal_.Item_2.md +0 -28
- package/docs/interfaces/internal_.Item_3.md +0 -28
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +0 -30
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +0 -30
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.LabelStyles.md +0 -78
- package/docs/interfaces/internal_.LanguageConfig.md +0 -59
- package/docs/interfaces/internal_.LineItemCategory.md +0 -17
- package/docs/interfaces/internal_.LineItemMap.md +0 -38
- package/docs/interfaces/internal_.LineItemOption.md +0 -38
- package/docs/interfaces/internal_.LineItemSocialData.md +0 -38
- package/docs/interfaces/internal_.LinkStyles.md +0 -92
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +0 -31
- package/docs/interfaces/internal_.Locales.md +0 -9
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +0 -19
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +0 -126
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +0 -59
- package/docs/interfaces/internal_.MonerisStylingProps.md +0 -82
- package/docs/interfaces/internal_.NonceGenerationError.md +0 -31
- package/docs/interfaces/internal_.NonceInstrument.md +0 -38
- package/docs/interfaces/internal_.Option_2.md +0 -24
- package/docs/interfaces/internal_.OptionsResponse.md +0 -79
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.Order.md +0 -199
- package/docs/interfaces/internal_.OrderConsignment.md +0 -17
- package/docs/interfaces/internal_.OrderPayment.md +0 -60
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +0 -41
- package/docs/interfaces/internal_.OrderRequestBody.md +0 -35
- package/docs/interfaces/internal_.OrderShippingConsignment.md +0 -220
- package/docs/interfaces/internal_.PasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.PayPalInstrument.md +0 -93
- package/docs/interfaces/internal_.PaymentMethod.md +0 -100
- package/docs/interfaces/internal_.PaymentMethodConfig.md +0 -122
- package/docs/interfaces/internal_.PaymentRequestOptions.md +0 -69
- package/docs/interfaces/internal_.PaymentSettings.md +0 -24
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -92
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +0 -30
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +0 -35
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +0 -38
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +0 -150
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +0 -188
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +0 -45
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +0 -24
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +0 -38
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +0 -48
- package/docs/interfaces/internal_.PhysicalItem.md +0 -313
- package/docs/interfaces/internal_.PickupMethod.md +0 -45
- package/docs/interfaces/internal_.PickupOptionResult.md +0 -17
- package/docs/interfaces/internal_.Promotion.md +0 -17
- package/docs/interfaces/internal_.Radius.md +0 -24
- package/docs/interfaces/internal_.Region.md +0 -24
- package/docs/interfaces/internal_.SearchArea.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +0 -24
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.ShippingOption.md +0 -66
- package/docs/interfaces/internal_.ShippingRequestOptions.md +0 -67
- package/docs/interfaces/internal_.ShopperConfig.md +0 -31
- package/docs/interfaces/internal_.ShopperCurrency.md +0 -96
- package/docs/interfaces/internal_.SignInEmail.md +0 -24
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +0 -24
- package/docs/interfaces/internal_.SpamProtectionOptions.md +0 -27
- package/docs/interfaces/internal_.SquareFormElement.md +0 -30
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +0 -133
- package/docs/interfaces/internal_.StepStyles.md +0 -122
- package/docs/interfaces/internal_.StepTracker.md +0 -66
- package/docs/interfaces/internal_.StepTrackerConfig.md +0 -17
- package/docs/interfaces/internal_.StoreConfig.md +0 -117
- package/docs/interfaces/internal_.StoreCurrency.md +0 -58
- package/docs/interfaces/internal_.StoreLinks.md +0 -59
- package/docs/interfaces/internal_.StoreProfile.md +0 -73
- package/docs/interfaces/internal_.StripeCustomerEvent.md +0 -76
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +0 -172
- package/docs/interfaces/internal_.StripeElementClasses.md +0 -65
- package/docs/interfaces/internal_.StripeElementStyle.md +0 -46
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +0 -289
- package/docs/interfaces/internal_.StripeEvent.md +0 -39
- package/docs/interfaces/internal_.StripeShippingEvent.md +0 -76
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +0 -94
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +0 -109
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.StyleOptions.md +0 -46
- package/docs/interfaces/internal_.StyleOptions_2.md +0 -46
- package/docs/interfaces/internal_.SubInputDetail.md +0 -64
- package/docs/interfaces/internal_.SubInputDetail_2.md +0 -64
- package/docs/interfaces/internal_.Subscriptions.md +0 -31
- package/docs/interfaces/internal_.Tax.md +0 -24
- package/docs/interfaces/internal_.TextInputStyles.md +0 -177
- package/docs/interfaces/internal_.ThreeDSecure.md +0 -52
- package/docs/interfaces/internal_.ThreeDSecureToken.md +0 -17
- package/docs/interfaces/internal_.TranslationData.md +0 -9
- package/docs/interfaces/internal_.Translations.md +0 -9
- package/docs/interfaces/internal_.UnknownObject.md +0 -9
- package/docs/interfaces/internal_.VaultedInstrument.md +0 -31
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.WechatState.md +0 -17
- package/docs/interfaces/internal_.WechatState_2.md +0 -17
- package/docs/interfaces/internal_.WithAccountCreation.md +0 -17
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +0 -17
- package/docs/interfaces/internal_.WithDocumentInstrument.md +0 -17
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +0 -24
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +0 -17
|
@@ -1,760 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / CheckoutStoreStatusSelector
|
|
2
|
-
|
|
3
|
-
# Interface: CheckoutStoreStatusSelector
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).CheckoutStoreStatusSelector
|
|
6
|
-
|
|
7
|
-
Responsible for checking the statuses of various asynchronous actions related
|
|
8
|
-
to checkout.
|
|
9
|
-
|
|
10
|
-
This object has a set of getters that return true if an action is in
|
|
11
|
-
progress. For example, you can check whether a customer is submitting an
|
|
12
|
-
order and waiting for the request to complete.
|
|
13
|
-
|
|
14
|
-
## Table of contents
|
|
15
|
-
|
|
16
|
-
### Methods
|
|
17
|
-
|
|
18
|
-
- [isApplyingCoupon](internal_.CheckoutStoreStatusSelector.md#isapplyingcoupon)
|
|
19
|
-
- [isApplyingGiftCertificate](internal_.CheckoutStoreStatusSelector.md#isapplyinggiftcertificate)
|
|
20
|
-
- [isApplyingStoreCredit](internal_.CheckoutStoreStatusSelector.md#isapplyingstorecredit)
|
|
21
|
-
- [isContinuingAsGuest](internal_.CheckoutStoreStatusSelector.md#iscontinuingasguest)
|
|
22
|
-
- [isCreatingConsignments](internal_.CheckoutStoreStatusSelector.md#iscreatingconsignments)
|
|
23
|
-
- [isCreatingCustomerAccount](internal_.CheckoutStoreStatusSelector.md#iscreatingcustomeraccount)
|
|
24
|
-
- [isCreatingCustomerAddress](internal_.CheckoutStoreStatusSelector.md#iscreatingcustomeraddress)
|
|
25
|
-
- [isCustomerStepPending](internal_.CheckoutStoreStatusSelector.md#iscustomersteppending)
|
|
26
|
-
- [isDeletingConsignment](internal_.CheckoutStoreStatusSelector.md#isdeletingconsignment)
|
|
27
|
-
- [isDeletingInstrument](internal_.CheckoutStoreStatusSelector.md#isdeletinginstrument)
|
|
28
|
-
- [isExecutingPaymentMethodCheckout](internal_.CheckoutStoreStatusSelector.md#isexecutingpaymentmethodcheckout)
|
|
29
|
-
- [isExecutingSpamCheck](internal_.CheckoutStoreStatusSelector.md#isexecutingspamcheck)
|
|
30
|
-
- [isFinalizingOrder](internal_.CheckoutStoreStatusSelector.md#isfinalizingorder)
|
|
31
|
-
- [isInitializingCustomer](internal_.CheckoutStoreStatusSelector.md#isinitializingcustomer)
|
|
32
|
-
- [isInitializingPayment](internal_.CheckoutStoreStatusSelector.md#isinitializingpayment)
|
|
33
|
-
- [isInitializingShipping](internal_.CheckoutStoreStatusSelector.md#isinitializingshipping)
|
|
34
|
-
- [isLoadingBillingCountries](internal_.CheckoutStoreStatusSelector.md#isloadingbillingcountries)
|
|
35
|
-
- [isLoadingCart](internal_.CheckoutStoreStatusSelector.md#isloadingcart)
|
|
36
|
-
- [isLoadingCheckout](internal_.CheckoutStoreStatusSelector.md#isloadingcheckout)
|
|
37
|
-
- [isLoadingConfig](internal_.CheckoutStoreStatusSelector.md#isloadingconfig)
|
|
38
|
-
- [isLoadingInstruments](internal_.CheckoutStoreStatusSelector.md#isloadinginstruments)
|
|
39
|
-
- [isLoadingOrder](internal_.CheckoutStoreStatusSelector.md#isloadingorder)
|
|
40
|
-
- [isLoadingPaymentMethod](internal_.CheckoutStoreStatusSelector.md#isloadingpaymentmethod)
|
|
41
|
-
- [isLoadingPaymentMethods](internal_.CheckoutStoreStatusSelector.md#isloadingpaymentmethods)
|
|
42
|
-
- [isLoadingPickupOptions](internal_.CheckoutStoreStatusSelector.md#isloadingpickupoptions)
|
|
43
|
-
- [isLoadingShippingCountries](internal_.CheckoutStoreStatusSelector.md#isloadingshippingcountries)
|
|
44
|
-
- [isLoadingShippingOptions](internal_.CheckoutStoreStatusSelector.md#isloadingshippingoptions)
|
|
45
|
-
- [isPaymentStepPending](internal_.CheckoutStoreStatusSelector.md#ispaymentsteppending)
|
|
46
|
-
- [isPending](internal_.CheckoutStoreStatusSelector.md#ispending)
|
|
47
|
-
- [isRemovingCoupon](internal_.CheckoutStoreStatusSelector.md#isremovingcoupon)
|
|
48
|
-
- [isRemovingGiftCertificate](internal_.CheckoutStoreStatusSelector.md#isremovinggiftcertificate)
|
|
49
|
-
- [isSelectingShippingOption](internal_.CheckoutStoreStatusSelector.md#isselectingshippingoption)
|
|
50
|
-
- [isSendingSignInEmail](internal_.CheckoutStoreStatusSelector.md#issendingsigninemail)
|
|
51
|
-
- [isShippingStepPending](internal_.CheckoutStoreStatusSelector.md#isshippingsteppending)
|
|
52
|
-
- [isSigningIn](internal_.CheckoutStoreStatusSelector.md#issigningin)
|
|
53
|
-
- [isSigningOut](internal_.CheckoutStoreStatusSelector.md#issigningout)
|
|
54
|
-
- [isSubmittingOrder](internal_.CheckoutStoreStatusSelector.md#issubmittingorder)
|
|
55
|
-
- [isUpdatingBillingAddress](internal_.CheckoutStoreStatusSelector.md#isupdatingbillingaddress)
|
|
56
|
-
- [isUpdatingCheckout](internal_.CheckoutStoreStatusSelector.md#isupdatingcheckout)
|
|
57
|
-
- [isUpdatingConsignment](internal_.CheckoutStoreStatusSelector.md#isupdatingconsignment)
|
|
58
|
-
- [isUpdatingShippingAddress](internal_.CheckoutStoreStatusSelector.md#isupdatingshippingaddress)
|
|
59
|
-
- [isUpdatingSubscriptions](internal_.CheckoutStoreStatusSelector.md#isupdatingsubscriptions)
|
|
60
|
-
|
|
61
|
-
## Methods
|
|
62
|
-
|
|
63
|
-
### isApplyingCoupon
|
|
64
|
-
|
|
65
|
-
▸ **isApplyingCoupon**(): `boolean`
|
|
66
|
-
|
|
67
|
-
Checks whether the current customer is applying a coupon code.
|
|
68
|
-
|
|
69
|
-
#### Returns
|
|
70
|
-
|
|
71
|
-
`boolean`
|
|
72
|
-
|
|
73
|
-
True if applying a coupon code, otherwise false.
|
|
74
|
-
|
|
75
|
-
___
|
|
76
|
-
|
|
77
|
-
### isApplyingGiftCertificate
|
|
78
|
-
|
|
79
|
-
▸ **isApplyingGiftCertificate**(): `boolean`
|
|
80
|
-
|
|
81
|
-
Checks whether the current customer is applying a gift certificate.
|
|
82
|
-
|
|
83
|
-
#### Returns
|
|
84
|
-
|
|
85
|
-
`boolean`
|
|
86
|
-
|
|
87
|
-
True if applying a gift certificate, otherwise false.
|
|
88
|
-
|
|
89
|
-
___
|
|
90
|
-
|
|
91
|
-
### isApplyingStoreCredit
|
|
92
|
-
|
|
93
|
-
▸ **isApplyingStoreCredit**(): `boolean`
|
|
94
|
-
|
|
95
|
-
Checks whether the current customer is applying store credit.
|
|
96
|
-
|
|
97
|
-
#### Returns
|
|
98
|
-
|
|
99
|
-
`boolean`
|
|
100
|
-
|
|
101
|
-
True if applying store credit, otherwise false.
|
|
102
|
-
|
|
103
|
-
___
|
|
104
|
-
|
|
105
|
-
### isContinuingAsGuest
|
|
106
|
-
|
|
107
|
-
▸ **isContinuingAsGuest**(): `boolean`
|
|
108
|
-
|
|
109
|
-
Checks whether the shopper is continuing out as a guest.
|
|
110
|
-
|
|
111
|
-
#### Returns
|
|
112
|
-
|
|
113
|
-
`boolean`
|
|
114
|
-
|
|
115
|
-
True if continuing as guest, otherwise false.
|
|
116
|
-
|
|
117
|
-
___
|
|
118
|
-
|
|
119
|
-
### isCreatingConsignments
|
|
120
|
-
|
|
121
|
-
▸ **isCreatingConsignments**(): `boolean`
|
|
122
|
-
|
|
123
|
-
Checks whether a given/any consignment is being updated.
|
|
124
|
-
|
|
125
|
-
A consignment ID should be provided when checking for a specific consignment,
|
|
126
|
-
otherwise it will check for any consignment.
|
|
127
|
-
|
|
128
|
-
#### Returns
|
|
129
|
-
|
|
130
|
-
`boolean`
|
|
131
|
-
|
|
132
|
-
True if creating consignments, otherwise false.
|
|
133
|
-
|
|
134
|
-
___
|
|
135
|
-
|
|
136
|
-
### isCreatingCustomerAccount
|
|
137
|
-
|
|
138
|
-
▸ **isCreatingCustomerAccount**(): `boolean`
|
|
139
|
-
|
|
140
|
-
Checks whether a customer account is being created
|
|
141
|
-
|
|
142
|
-
#### Returns
|
|
143
|
-
|
|
144
|
-
`boolean`
|
|
145
|
-
|
|
146
|
-
True if creating, otherwise false.
|
|
147
|
-
|
|
148
|
-
___
|
|
149
|
-
|
|
150
|
-
### isCreatingCustomerAddress
|
|
151
|
-
|
|
152
|
-
▸ **isCreatingCustomerAddress**(): `boolean`
|
|
153
|
-
|
|
154
|
-
Checks whether a customer address is being created
|
|
155
|
-
|
|
156
|
-
#### Returns
|
|
157
|
-
|
|
158
|
-
`boolean`
|
|
159
|
-
|
|
160
|
-
True if creating, otherwise false.
|
|
161
|
-
|
|
162
|
-
___
|
|
163
|
-
|
|
164
|
-
### isCustomerStepPending
|
|
165
|
-
|
|
166
|
-
▸ **isCustomerStepPending**(): `boolean`
|
|
167
|
-
|
|
168
|
-
Checks whether the customer step of a checkout is in a pending state.
|
|
169
|
-
|
|
170
|
-
The customer step is considered to be pending if it is in the process of
|
|
171
|
-
initializing, signing in, signing out, and/or interacting with a customer
|
|
172
|
-
widget.
|
|
173
|
-
|
|
174
|
-
#### Returns
|
|
175
|
-
|
|
176
|
-
`boolean`
|
|
177
|
-
|
|
178
|
-
True if the customer step is pending, otherwise false.
|
|
179
|
-
|
|
180
|
-
___
|
|
181
|
-
|
|
182
|
-
### isDeletingConsignment
|
|
183
|
-
|
|
184
|
-
▸ **isDeletingConsignment**(`consignmentId?`): `boolean`
|
|
185
|
-
|
|
186
|
-
Checks whether a given/any consignment is being deleted.
|
|
187
|
-
|
|
188
|
-
A consignment ID should be provided when checking for a specific consignment,
|
|
189
|
-
otherwise it will check for any consignment.
|
|
190
|
-
|
|
191
|
-
#### Parameters
|
|
192
|
-
|
|
193
|
-
| Name | Type | Description |
|
|
194
|
-
| :------ | :------ | :------ |
|
|
195
|
-
| `consignmentId?` | `string` | The identifier of the consignment to be checked. |
|
|
196
|
-
|
|
197
|
-
#### Returns
|
|
198
|
-
|
|
199
|
-
`boolean`
|
|
200
|
-
|
|
201
|
-
True if deleting consignment(s), otherwise false.
|
|
202
|
-
|
|
203
|
-
___
|
|
204
|
-
|
|
205
|
-
### isDeletingInstrument
|
|
206
|
-
|
|
207
|
-
▸ **isDeletingInstrument**(`instrumentId?`): `boolean`
|
|
208
|
-
|
|
209
|
-
Checks whether the current customer is deleting a payment instrument.
|
|
210
|
-
|
|
211
|
-
#### Parameters
|
|
212
|
-
|
|
213
|
-
| Name | Type |
|
|
214
|
-
| :------ | :------ |
|
|
215
|
-
| `instrumentId?` | `string` |
|
|
216
|
-
|
|
217
|
-
#### Returns
|
|
218
|
-
|
|
219
|
-
`boolean`
|
|
220
|
-
|
|
221
|
-
True if deleting a payment instrument, otherwise false.
|
|
222
|
-
|
|
223
|
-
___
|
|
224
|
-
|
|
225
|
-
### isExecutingPaymentMethodCheckout
|
|
226
|
-
|
|
227
|
-
▸ **isExecutingPaymentMethodCheckout**(`methodId?`): `boolean`
|
|
228
|
-
|
|
229
|
-
Checks whether the current customer is executing payment method checkout.
|
|
230
|
-
|
|
231
|
-
If an ID is provided, the method also checks whether the customer is
|
|
232
|
-
executing payment method checkout using a specific customer method with the same ID.
|
|
233
|
-
|
|
234
|
-
#### Parameters
|
|
235
|
-
|
|
236
|
-
| Name | Type | Description |
|
|
237
|
-
| :------ | :------ | :------ |
|
|
238
|
-
| `methodId?` | `string` | The identifier of the method used for continuing the current customer. |
|
|
239
|
-
|
|
240
|
-
#### Returns
|
|
241
|
-
|
|
242
|
-
`boolean`
|
|
243
|
-
|
|
244
|
-
True if the customer is executing payment method checkout, otherwise false.
|
|
245
|
-
|
|
246
|
-
___
|
|
247
|
-
|
|
248
|
-
### isExecutingSpamCheck
|
|
249
|
-
|
|
250
|
-
▸ **isExecutingSpamCheck**(): `boolean`
|
|
251
|
-
|
|
252
|
-
Checks whether spam check is executing.
|
|
253
|
-
|
|
254
|
-
#### Returns
|
|
255
|
-
|
|
256
|
-
`boolean`
|
|
257
|
-
|
|
258
|
-
True if the current checkout is being updated, otherwise false.
|
|
259
|
-
|
|
260
|
-
___
|
|
261
|
-
|
|
262
|
-
### isFinalizingOrder
|
|
263
|
-
|
|
264
|
-
▸ **isFinalizingOrder**(): `boolean`
|
|
265
|
-
|
|
266
|
-
Checks whether the current order is finalizing.
|
|
267
|
-
|
|
268
|
-
#### Returns
|
|
269
|
-
|
|
270
|
-
`boolean`
|
|
271
|
-
|
|
272
|
-
True if the current order is finalizing, otherwise false.
|
|
273
|
-
|
|
274
|
-
___
|
|
275
|
-
|
|
276
|
-
### isInitializingCustomer
|
|
277
|
-
|
|
278
|
-
▸ **isInitializingCustomer**(`methodId?`): `boolean`
|
|
279
|
-
|
|
280
|
-
Checks whether the customer step is initializing.
|
|
281
|
-
|
|
282
|
-
If an ID is provided, the method also checks whether the customer step is
|
|
283
|
-
initializing using a specific customer method with the same ID.
|
|
284
|
-
|
|
285
|
-
#### Parameters
|
|
286
|
-
|
|
287
|
-
| Name | Type | Description |
|
|
288
|
-
| :------ | :------ | :------ |
|
|
289
|
-
| `methodId?` | `string` | The identifier of the method used for initializing the customer step of checkout. |
|
|
290
|
-
|
|
291
|
-
#### Returns
|
|
292
|
-
|
|
293
|
-
`boolean`
|
|
294
|
-
|
|
295
|
-
True if the customer step is initializing, otherwise false.
|
|
296
|
-
|
|
297
|
-
___
|
|
298
|
-
|
|
299
|
-
### isInitializingPayment
|
|
300
|
-
|
|
301
|
-
▸ **isInitializingPayment**(`methodId?`): `boolean`
|
|
302
|
-
|
|
303
|
-
Checks whether a specific or any payment method is initializing.
|
|
304
|
-
|
|
305
|
-
The method returns true if no ID is provided and at least one payment
|
|
306
|
-
method is initializing.
|
|
307
|
-
|
|
308
|
-
#### Parameters
|
|
309
|
-
|
|
310
|
-
| Name | Type | Description |
|
|
311
|
-
| :------ | :------ | :------ |
|
|
312
|
-
| `methodId?` | `string` | The identifier of the payment method to check. |
|
|
313
|
-
|
|
314
|
-
#### Returns
|
|
315
|
-
|
|
316
|
-
`boolean`
|
|
317
|
-
|
|
318
|
-
True if the payment method is initializing, otherwise false.
|
|
319
|
-
|
|
320
|
-
___
|
|
321
|
-
|
|
322
|
-
### isInitializingShipping
|
|
323
|
-
|
|
324
|
-
▸ **isInitializingShipping**(`methodId?`): `boolean`
|
|
325
|
-
|
|
326
|
-
Checks whether the shipping step of a checkout process is initializing.
|
|
327
|
-
|
|
328
|
-
If an identifier is provided, the method also checks whether the shipping
|
|
329
|
-
step is initializing using a specific shipping method with the same
|
|
330
|
-
identifier.
|
|
331
|
-
|
|
332
|
-
#### Parameters
|
|
333
|
-
|
|
334
|
-
| Name | Type | Description |
|
|
335
|
-
| :------ | :------ | :------ |
|
|
336
|
-
| `methodId?` | `string` | The identifer of the initialization method to check. |
|
|
337
|
-
|
|
338
|
-
#### Returns
|
|
339
|
-
|
|
340
|
-
`boolean`
|
|
341
|
-
|
|
342
|
-
True if the shipping step is initializing, otherwise false.
|
|
343
|
-
|
|
344
|
-
___
|
|
345
|
-
|
|
346
|
-
### isLoadingBillingCountries
|
|
347
|
-
|
|
348
|
-
▸ **isLoadingBillingCountries**(): `boolean`
|
|
349
|
-
|
|
350
|
-
Checks whether billing countries are loading.
|
|
351
|
-
|
|
352
|
-
#### Returns
|
|
353
|
-
|
|
354
|
-
`boolean`
|
|
355
|
-
|
|
356
|
-
True if billing countries are loading, otherwise false.
|
|
357
|
-
|
|
358
|
-
___
|
|
359
|
-
|
|
360
|
-
### isLoadingCart
|
|
361
|
-
|
|
362
|
-
▸ **isLoadingCart**(): `boolean`
|
|
363
|
-
|
|
364
|
-
Checks whether the current cart is loading.
|
|
365
|
-
|
|
366
|
-
#### Returns
|
|
367
|
-
|
|
368
|
-
`boolean`
|
|
369
|
-
|
|
370
|
-
True if the current cart is loading, otherwise false.
|
|
371
|
-
|
|
372
|
-
___
|
|
373
|
-
|
|
374
|
-
### isLoadingCheckout
|
|
375
|
-
|
|
376
|
-
▸ **isLoadingCheckout**(): `boolean`
|
|
377
|
-
|
|
378
|
-
Checks whether the current checkout is loading.
|
|
379
|
-
|
|
380
|
-
#### Returns
|
|
381
|
-
|
|
382
|
-
`boolean`
|
|
383
|
-
|
|
384
|
-
True if the current checkout is loading, otherwise false.
|
|
385
|
-
|
|
386
|
-
___
|
|
387
|
-
|
|
388
|
-
### isLoadingConfig
|
|
389
|
-
|
|
390
|
-
▸ **isLoadingConfig**(): `boolean`
|
|
391
|
-
|
|
392
|
-
Checks whether the checkout configuration of a store is loading.
|
|
393
|
-
|
|
394
|
-
#### Returns
|
|
395
|
-
|
|
396
|
-
`boolean`
|
|
397
|
-
|
|
398
|
-
True if the configuration is loading, otherwise false.
|
|
399
|
-
|
|
400
|
-
___
|
|
401
|
-
|
|
402
|
-
### isLoadingInstruments
|
|
403
|
-
|
|
404
|
-
▸ **isLoadingInstruments**(): `boolean`
|
|
405
|
-
|
|
406
|
-
Checks whether the current customer's payment instruments are loading.
|
|
407
|
-
|
|
408
|
-
#### Returns
|
|
409
|
-
|
|
410
|
-
`boolean`
|
|
411
|
-
|
|
412
|
-
True if payment instruments are loading, otherwise false.
|
|
413
|
-
|
|
414
|
-
___
|
|
415
|
-
|
|
416
|
-
### isLoadingOrder
|
|
417
|
-
|
|
418
|
-
▸ **isLoadingOrder**(): `boolean`
|
|
419
|
-
|
|
420
|
-
Checks whether the current order is loading.
|
|
421
|
-
|
|
422
|
-
#### Returns
|
|
423
|
-
|
|
424
|
-
`boolean`
|
|
425
|
-
|
|
426
|
-
True if the current order is loading, otherwise false.
|
|
427
|
-
|
|
428
|
-
___
|
|
429
|
-
|
|
430
|
-
### isLoadingPaymentMethod
|
|
431
|
-
|
|
432
|
-
▸ **isLoadingPaymentMethod**(`methodId?`): `boolean`
|
|
433
|
-
|
|
434
|
-
Checks whether a specific or any payment method is loading.
|
|
435
|
-
|
|
436
|
-
The method returns true if no ID is provided and at least one payment
|
|
437
|
-
method is loading.
|
|
438
|
-
|
|
439
|
-
#### Parameters
|
|
440
|
-
|
|
441
|
-
| Name | Type | Description |
|
|
442
|
-
| :------ | :------ | :------ |
|
|
443
|
-
| `methodId?` | `string` | The identifier of the payment method to check. |
|
|
444
|
-
|
|
445
|
-
#### Returns
|
|
446
|
-
|
|
447
|
-
`boolean`
|
|
448
|
-
|
|
449
|
-
True if the payment method is loading, otherwise false.
|
|
450
|
-
|
|
451
|
-
___
|
|
452
|
-
|
|
453
|
-
### isLoadingPaymentMethods
|
|
454
|
-
|
|
455
|
-
▸ **isLoadingPaymentMethods**(): `boolean`
|
|
456
|
-
|
|
457
|
-
Checks whether payment methods are loading.
|
|
458
|
-
|
|
459
|
-
#### Returns
|
|
460
|
-
|
|
461
|
-
`boolean`
|
|
462
|
-
|
|
463
|
-
True if payment methods are loading, otherwise false.
|
|
464
|
-
|
|
465
|
-
___
|
|
466
|
-
|
|
467
|
-
### isLoadingPickupOptions
|
|
468
|
-
|
|
469
|
-
▸ **isLoadingPickupOptions**(): `boolean`
|
|
470
|
-
|
|
471
|
-
Checks whether pickup options are loading.
|
|
472
|
-
|
|
473
|
-
#### Returns
|
|
474
|
-
|
|
475
|
-
`boolean`
|
|
476
|
-
|
|
477
|
-
True if pickup options are loading, otherwise false.
|
|
478
|
-
|
|
479
|
-
___
|
|
480
|
-
|
|
481
|
-
### isLoadingShippingCountries
|
|
482
|
-
|
|
483
|
-
▸ **isLoadingShippingCountries**(): `boolean`
|
|
484
|
-
|
|
485
|
-
Checks whether shipping countries are loading.
|
|
486
|
-
|
|
487
|
-
#### Returns
|
|
488
|
-
|
|
489
|
-
`boolean`
|
|
490
|
-
|
|
491
|
-
True if shipping countries are loading, otherwise false.
|
|
492
|
-
|
|
493
|
-
___
|
|
494
|
-
|
|
495
|
-
### isLoadingShippingOptions
|
|
496
|
-
|
|
497
|
-
▸ **isLoadingShippingOptions**(): `boolean`
|
|
498
|
-
|
|
499
|
-
Checks whether shipping options are loading.
|
|
500
|
-
|
|
501
|
-
#### Returns
|
|
502
|
-
|
|
503
|
-
`boolean`
|
|
504
|
-
|
|
505
|
-
True if shipping options are loading, otherwise false.
|
|
506
|
-
|
|
507
|
-
___
|
|
508
|
-
|
|
509
|
-
### isPaymentStepPending
|
|
510
|
-
|
|
511
|
-
▸ **isPaymentStepPending**(): `boolean`
|
|
512
|
-
|
|
513
|
-
Checks whether the payment step of a checkout is in a pending state.
|
|
514
|
-
|
|
515
|
-
The payment step is considered to be pending if it is in the process of
|
|
516
|
-
initializing, submitting an order, finalizing an order, and/or
|
|
517
|
-
interacting with a payment widget.
|
|
518
|
-
|
|
519
|
-
#### Returns
|
|
520
|
-
|
|
521
|
-
`boolean`
|
|
522
|
-
|
|
523
|
-
True if the payment step is pending, otherwise false.
|
|
524
|
-
|
|
525
|
-
___
|
|
526
|
-
|
|
527
|
-
### isPending
|
|
528
|
-
|
|
529
|
-
▸ **isPending**(): `boolean`
|
|
530
|
-
|
|
531
|
-
Checks whether any checkout action is pending.
|
|
532
|
-
|
|
533
|
-
#### Returns
|
|
534
|
-
|
|
535
|
-
`boolean`
|
|
536
|
-
|
|
537
|
-
True if there is a pending action, otherwise false.
|
|
538
|
-
|
|
539
|
-
___
|
|
540
|
-
|
|
541
|
-
### isRemovingCoupon
|
|
542
|
-
|
|
543
|
-
▸ **isRemovingCoupon**(): `boolean`
|
|
544
|
-
|
|
545
|
-
Checks whether the current customer is removing a coupon code.
|
|
546
|
-
|
|
547
|
-
#### Returns
|
|
548
|
-
|
|
549
|
-
`boolean`
|
|
550
|
-
|
|
551
|
-
True if removing a coupon code, otherwise false.
|
|
552
|
-
|
|
553
|
-
___
|
|
554
|
-
|
|
555
|
-
### isRemovingGiftCertificate
|
|
556
|
-
|
|
557
|
-
▸ **isRemovingGiftCertificate**(): `boolean`
|
|
558
|
-
|
|
559
|
-
Checks whether the current customer is removing a gift certificate.
|
|
560
|
-
|
|
561
|
-
#### Returns
|
|
562
|
-
|
|
563
|
-
`boolean`
|
|
564
|
-
|
|
565
|
-
True if removing a gift certificate, otherwise false.
|
|
566
|
-
|
|
567
|
-
___
|
|
568
|
-
|
|
569
|
-
### isSelectingShippingOption
|
|
570
|
-
|
|
571
|
-
▸ **isSelectingShippingOption**(`consignmentId?`): `boolean`
|
|
572
|
-
|
|
573
|
-
Checks whether a shipping option is being selected.
|
|
574
|
-
|
|
575
|
-
A consignment ID should be provided when checking if a shipping option
|
|
576
|
-
is being selected for a specific consignment, otherwise it will check
|
|
577
|
-
for all consignments.
|
|
578
|
-
|
|
579
|
-
#### Parameters
|
|
580
|
-
|
|
581
|
-
| Name | Type | Description |
|
|
582
|
-
| :------ | :------ | :------ |
|
|
583
|
-
| `consignmentId?` | `string` | The identifier of the consignment to be checked. |
|
|
584
|
-
|
|
585
|
-
#### Returns
|
|
586
|
-
|
|
587
|
-
`boolean`
|
|
588
|
-
|
|
589
|
-
True if selecting a shipping option, otherwise false.
|
|
590
|
-
|
|
591
|
-
___
|
|
592
|
-
|
|
593
|
-
### isSendingSignInEmail
|
|
594
|
-
|
|
595
|
-
▸ **isSendingSignInEmail**(): `boolean`
|
|
596
|
-
|
|
597
|
-
Checks whether a sign-in email is being sent.
|
|
598
|
-
|
|
599
|
-
#### Returns
|
|
600
|
-
|
|
601
|
-
`boolean`
|
|
602
|
-
|
|
603
|
-
True if sending a sign-in email, otherwise false
|
|
604
|
-
|
|
605
|
-
___
|
|
606
|
-
|
|
607
|
-
### isShippingStepPending
|
|
608
|
-
|
|
609
|
-
▸ **isShippingStepPending**(): `boolean`
|
|
610
|
-
|
|
611
|
-
Checks whether the shipping step of a checkout is in a pending state.
|
|
612
|
-
|
|
613
|
-
The shipping step is considered to be pending if it is in the process of
|
|
614
|
-
initializing, updating address, selecting a shipping option, and/or
|
|
615
|
-
interacting with a shipping widget.
|
|
616
|
-
|
|
617
|
-
#### Returns
|
|
618
|
-
|
|
619
|
-
`boolean`
|
|
620
|
-
|
|
621
|
-
True if the shipping step is pending, otherwise false.
|
|
622
|
-
|
|
623
|
-
___
|
|
624
|
-
|
|
625
|
-
### isSigningIn
|
|
626
|
-
|
|
627
|
-
▸ **isSigningIn**(`methodId?`): `boolean`
|
|
628
|
-
|
|
629
|
-
Checks whether the current customer is signing in.
|
|
630
|
-
|
|
631
|
-
If an ID is provided, the method also checks whether the customer is
|
|
632
|
-
signing in using a specific customer method with the same ID.
|
|
633
|
-
|
|
634
|
-
#### Parameters
|
|
635
|
-
|
|
636
|
-
| Name | Type | Description |
|
|
637
|
-
| :------ | :------ | :------ |
|
|
638
|
-
| `methodId?` | `string` | The identifier of the method used for signing in the current customer. |
|
|
639
|
-
|
|
640
|
-
#### Returns
|
|
641
|
-
|
|
642
|
-
`boolean`
|
|
643
|
-
|
|
644
|
-
True if the customer is signing in, otherwise false.
|
|
645
|
-
|
|
646
|
-
___
|
|
647
|
-
|
|
648
|
-
### isSigningOut
|
|
649
|
-
|
|
650
|
-
▸ **isSigningOut**(`methodId?`): `boolean`
|
|
651
|
-
|
|
652
|
-
Checks whether the current customer is signing out.
|
|
653
|
-
|
|
654
|
-
If an ID is provided, the method also checks whether the customer is
|
|
655
|
-
signing out using a specific customer method with the same ID.
|
|
656
|
-
|
|
657
|
-
#### Parameters
|
|
658
|
-
|
|
659
|
-
| Name | Type | Description |
|
|
660
|
-
| :------ | :------ | :------ |
|
|
661
|
-
| `methodId?` | `string` | The identifier of the method used for signing out the current customer. |
|
|
662
|
-
|
|
663
|
-
#### Returns
|
|
664
|
-
|
|
665
|
-
`boolean`
|
|
666
|
-
|
|
667
|
-
True if the customer is signing out, otherwise false.
|
|
668
|
-
|
|
669
|
-
___
|
|
670
|
-
|
|
671
|
-
### isSubmittingOrder
|
|
672
|
-
|
|
673
|
-
▸ **isSubmittingOrder**(): `boolean`
|
|
674
|
-
|
|
675
|
-
Checks whether the current order is submitting.
|
|
676
|
-
|
|
677
|
-
#### Returns
|
|
678
|
-
|
|
679
|
-
`boolean`
|
|
680
|
-
|
|
681
|
-
True if the current order is submitting, otherwise false.
|
|
682
|
-
|
|
683
|
-
___
|
|
684
|
-
|
|
685
|
-
### isUpdatingBillingAddress
|
|
686
|
-
|
|
687
|
-
▸ **isUpdatingBillingAddress**(): `boolean`
|
|
688
|
-
|
|
689
|
-
Checks whether the billing address is being updated.
|
|
690
|
-
|
|
691
|
-
#### Returns
|
|
692
|
-
|
|
693
|
-
`boolean`
|
|
694
|
-
|
|
695
|
-
True if updating their billing address, otherwise false.
|
|
696
|
-
|
|
697
|
-
___
|
|
698
|
-
|
|
699
|
-
### isUpdatingCheckout
|
|
700
|
-
|
|
701
|
-
▸ **isUpdatingCheckout**(): `boolean`
|
|
702
|
-
|
|
703
|
-
Checks whether the current checkout is being updated.
|
|
704
|
-
|
|
705
|
-
#### Returns
|
|
706
|
-
|
|
707
|
-
`boolean`
|
|
708
|
-
|
|
709
|
-
True if the current checkout is being updated, otherwise false.
|
|
710
|
-
|
|
711
|
-
___
|
|
712
|
-
|
|
713
|
-
### isUpdatingConsignment
|
|
714
|
-
|
|
715
|
-
▸ **isUpdatingConsignment**(`consignmentId?`): `boolean`
|
|
716
|
-
|
|
717
|
-
Checks whether a given/any consignment is being updated.
|
|
718
|
-
|
|
719
|
-
A consignment ID should be provided when checking for a specific consignment,
|
|
720
|
-
otherwise it will check for any consignment.
|
|
721
|
-
|
|
722
|
-
#### Parameters
|
|
723
|
-
|
|
724
|
-
| Name | Type | Description |
|
|
725
|
-
| :------ | :------ | :------ |
|
|
726
|
-
| `consignmentId?` | `string` | The identifier of the consignment to be checked. |
|
|
727
|
-
|
|
728
|
-
#### Returns
|
|
729
|
-
|
|
730
|
-
`boolean`
|
|
731
|
-
|
|
732
|
-
True if updating consignment(s), otherwise false.
|
|
733
|
-
|
|
734
|
-
___
|
|
735
|
-
|
|
736
|
-
### isUpdatingShippingAddress
|
|
737
|
-
|
|
738
|
-
▸ **isUpdatingShippingAddress**(): `boolean`
|
|
739
|
-
|
|
740
|
-
Checks the shipping address is being updated.
|
|
741
|
-
|
|
742
|
-
#### Returns
|
|
743
|
-
|
|
744
|
-
`boolean`
|
|
745
|
-
|
|
746
|
-
True if updating their shipping address, otherwise false.
|
|
747
|
-
|
|
748
|
-
___
|
|
749
|
-
|
|
750
|
-
### isUpdatingSubscriptions
|
|
751
|
-
|
|
752
|
-
▸ **isUpdatingSubscriptions**(): `boolean`
|
|
753
|
-
|
|
754
|
-
Checks whether the subscriptions are being updated.
|
|
755
|
-
|
|
756
|
-
#### Returns
|
|
757
|
-
|
|
758
|
-
`boolean`
|
|
759
|
-
|
|
760
|
-
True if updating subscriptions, otherwise false.
|