@bigcommerce/checkout-sdk 1.308.1 → 1.308.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +158 -16
- package/docs/classes/internal_.CartChangedError.md +62 -0
- package/docs/classes/internal_.CheckoutService.md +1528 -0
- package/docs/classes/internal_.CurrencyService.md +56 -0
- package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
- package/docs/classes/internal_.LanguageService.md +103 -0
- package/docs/classes/internal_.RequestError.md +108 -0
- package/docs/classes/internal_.StandardError.md +4 -0
- package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
- package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
- package/docs/enums/internal_.CheckoutIncludes.md +31 -0
- package/docs/enums/internal_.HostedFieldType.md +52 -0
- package/docs/enums/internal_.IconStyle.md +24 -0
- package/docs/enums/internal_.RadiusUnit.md +24 -0
- package/docs/interfaces/internal_.Address.md +4 -0
- package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
- package/docs/interfaces/internal_.AdyenComponent.md +74 -0
- package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
- package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.BankInstrument.md +114 -0
- package/docs/interfaces/internal_.Banner.md +24 -0
- package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
- package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
- package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
- package/docs/interfaces/internal_.BaseInstrument.md +60 -0
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
- package/docs/interfaces/internal_.BillingAddress.md +184 -0
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
- package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
- package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
- package/docs/interfaces/internal_.BodlService.md +172 -0
- package/docs/interfaces/internal_.BodyStyles.md +17 -0
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.BrowserInfo.md +52 -0
- package/docs/interfaces/internal_.ButtonResponse.md +21 -0
- package/docs/interfaces/internal_.ButtonStyles.md +143 -0
- package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.CardElementOptions.md +93 -0
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardInstrument.md +117 -0
- package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
- package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
- package/docs/interfaces/internal_.CardState.md +42 -0
- package/docs/interfaces/internal_.CardStateErrors.md +9 -0
- package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
- package/docs/interfaces/internal_.CardState_2.md +42 -0
- package/docs/interfaces/internal_.Cart.md +108 -0
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
- package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
- package/docs/interfaces/internal_.Checkout.md +204 -0
- package/docs/interfaces/internal_.CheckoutParams.md +17 -0
- package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
- package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
- package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
- package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
- package/docs/interfaces/internal_.Consignment.md +73 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
- package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
- package/docs/interfaces/internal_.Coordinates.md +24 -0
- package/docs/interfaces/internal_.Country.md +45 -0
- package/docs/interfaces/internal_.Coupon.md +45 -0
- package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
- package/docs/interfaces/internal_.CssProperties.md +213 -0
- package/docs/interfaces/internal_.CssProperties_2.md +213 -0
- package/docs/interfaces/internal_.Currency.md +38 -0
- package/docs/interfaces/internal_.CustomItem.md +52 -0
- package/docs/interfaces/internal_.Customer.md +93 -0
- package/docs/interfaces/internal_.CustomerAddress.md +184 -0
- package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
- package/docs/interfaces/internal_.CustomerGroup.md +24 -0
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
- package/docs/interfaces/internal_.DigitalItem.md +312 -0
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
- package/docs/interfaces/internal_.Discount.md +24 -0
- package/docs/interfaces/internal_.DisplaySettings.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
- package/docs/interfaces/internal_.FlashMessage.md +31 -0
- package/docs/interfaces/internal_.FormField.md +115 -0
- package/docs/interfaces/internal_.FormFieldItem.md +24 -0
- package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
- package/docs/interfaces/internal_.FormFields.md +31 -0
- package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
- package/docs/interfaces/internal_.GiftCertificate.md +45 -0
- package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
- package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
- package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
- package/docs/interfaces/internal_.HostedInstrument.md +24 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
- package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
- package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
- package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
- package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
- package/docs/interfaces/internal_.InputDetail.md +82 -0
- package/docs/interfaces/internal_.InputDetail_2.md +82 -0
- package/docs/interfaces/internal_.InputStyles.md +154 -0
- package/docs/interfaces/internal_.Item.md +24 -0
- package/docs/interfaces/internal_.Item_2.md +28 -0
- package/docs/interfaces/internal_.Item_3.md +28 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.LabelStyles.md +78 -0
- package/docs/interfaces/internal_.LanguageConfig.md +59 -0
- package/docs/interfaces/internal_.LineItem.md +163 -8
- package/docs/interfaces/internal_.LineItemCategory.md +17 -0
- package/docs/interfaces/internal_.LineItemMap.md +38 -0
- package/docs/interfaces/internal_.LineItemOption.md +38 -0
- package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
- package/docs/interfaces/internal_.LinkStyles.md +92 -0
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
- package/docs/interfaces/internal_.Locales.md +9 -0
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
- package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
- package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
- package/docs/interfaces/internal_.NonceInstrument.md +38 -0
- package/docs/interfaces/internal_.Option_2.md +24 -0
- package/docs/interfaces/internal_.OptionsResponse.md +79 -0
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.Order.md +199 -0
- package/docs/interfaces/internal_.OrderConsignment.md +17 -0
- package/docs/interfaces/internal_.OrderPayment.md +60 -0
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
- package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
- package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
- package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
- package/docs/interfaces/internal_.PaymentMethod.md +100 -0
- package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
- package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
- package/docs/interfaces/internal_.PaymentSettings.md +24 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
- package/docs/interfaces/internal_.PhysicalItem.md +313 -0
- package/docs/interfaces/internal_.PickupMethod.md +45 -0
- package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
- package/docs/interfaces/internal_.Promotion.md +17 -0
- package/docs/interfaces/internal_.Radius.md +24 -0
- package/docs/interfaces/internal_.Region.md +24 -0
- package/docs/interfaces/internal_.RequestOptions.md +5 -1
- package/docs/interfaces/internal_.SearchArea.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.ShippingOption.md +66 -0
- package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
- package/docs/interfaces/internal_.ShopperConfig.md +31 -0
- package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
- package/docs/interfaces/internal_.SignInEmail.md +24 -0
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
- package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
- package/docs/interfaces/internal_.SquareFormElement.md +30 -0
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
- package/docs/interfaces/internal_.StepStyles.md +122 -0
- package/docs/interfaces/internal_.StepTracker.md +66 -0
- package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
- package/docs/interfaces/internal_.StoreConfig.md +117 -0
- package/docs/interfaces/internal_.StoreCurrency.md +58 -0
- package/docs/interfaces/internal_.StoreLinks.md +59 -0
- package/docs/interfaces/internal_.StoreProfile.md +73 -0
- package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
- package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
- package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
- package/docs/interfaces/internal_.StripeEvent.md +39 -0
- package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.StyleOptions.md +46 -0
- package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
- package/docs/interfaces/internal_.SubInputDetail.md +64 -0
- package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
- package/docs/interfaces/internal_.Subscriptions.md +31 -0
- package/docs/interfaces/internal_.Tax.md +24 -0
- package/docs/interfaces/internal_.TextInputStyles.md +177 -0
- package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
- package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
- package/docs/interfaces/internal_.TranslationData.md +9 -0
- package/docs/interfaces/internal_.Translations.md +9 -0
- package/docs/interfaces/internal_.UnknownObject.md +9 -0
- package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.WechatState.md +17 -0
- package/docs/interfaces/internal_.WechatState_2.md +17 -0
- package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
- package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
- package/docs/modules/internal_.md +515 -51
- package/package.json +1 -1
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
- package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
- package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
- package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
- package/docs/enums/internal_.StyleButtonColor.md +0 -45
- package/docs/enums/internal_.StyleButtonLabel.md +0 -45
- package/docs/enums/internal_.StyleButtonLayout.md +0 -24
- package/docs/enums/internal_.StyleButtonShape.md +0 -24
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
- package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
- package/docs/interfaces/internal_.BraintreeError.md +0 -37
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
|
@@ -0,0 +1,638 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / CheckoutStoreErrorSelector
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutStoreErrorSelector
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).CheckoutStoreErrorSelector
|
|
6
|
+
|
|
7
|
+
Responsible for getting the error of any asynchronous checkout action, if
|
|
8
|
+
there is any.
|
|
9
|
+
|
|
10
|
+
This object has a set of getters that would return an error if an action is
|
|
11
|
+
not executed successfully. For example, if you are unable to submit an order,
|
|
12
|
+
you can use this object to retrieve the reason for the failure.
|
|
13
|
+
|
|
14
|
+
## Table of contents
|
|
15
|
+
|
|
16
|
+
### Methods
|
|
17
|
+
|
|
18
|
+
- [getApplyCouponError](internal_.CheckoutStoreErrorSelector.md#getapplycouponerror)
|
|
19
|
+
- [getApplyGiftCertificateError](internal_.CheckoutStoreErrorSelector.md#getapplygiftcertificateerror)
|
|
20
|
+
- [getApplyStoreCreditError](internal_.CheckoutStoreErrorSelector.md#getapplystorecrediterror)
|
|
21
|
+
- [getContinueAsGuestError](internal_.CheckoutStoreErrorSelector.md#getcontinueasguesterror)
|
|
22
|
+
- [getCreateConsignmentsError](internal_.CheckoutStoreErrorSelector.md#getcreateconsignmentserror)
|
|
23
|
+
- [getCreateCustomerAccountError](internal_.CheckoutStoreErrorSelector.md#getcreatecustomeraccounterror)
|
|
24
|
+
- [getCreateCustomerAddressError](internal_.CheckoutStoreErrorSelector.md#getcreatecustomeraddresserror)
|
|
25
|
+
- [getDeleteConsignmentError](internal_.CheckoutStoreErrorSelector.md#getdeleteconsignmenterror)
|
|
26
|
+
- [getDeleteInstrumentError](internal_.CheckoutStoreErrorSelector.md#getdeleteinstrumenterror)
|
|
27
|
+
- [getError](internal_.CheckoutStoreErrorSelector.md#geterror)
|
|
28
|
+
- [getFinalizeOrderError](internal_.CheckoutStoreErrorSelector.md#getfinalizeordererror)
|
|
29
|
+
- [getInitializeCustomerError](internal_.CheckoutStoreErrorSelector.md#getinitializecustomererror)
|
|
30
|
+
- [getInitializePaymentError](internal_.CheckoutStoreErrorSelector.md#getinitializepaymenterror)
|
|
31
|
+
- [getInitializeShippingError](internal_.CheckoutStoreErrorSelector.md#getinitializeshippingerror)
|
|
32
|
+
- [getLoadBillingCountriesError](internal_.CheckoutStoreErrorSelector.md#getloadbillingcountrieserror)
|
|
33
|
+
- [getLoadCartError](internal_.CheckoutStoreErrorSelector.md#getloadcarterror)
|
|
34
|
+
- [getLoadCheckoutError](internal_.CheckoutStoreErrorSelector.md#getloadcheckouterror)
|
|
35
|
+
- [getLoadConfigError](internal_.CheckoutStoreErrorSelector.md#getloadconfigerror)
|
|
36
|
+
- [getLoadInstrumentsError](internal_.CheckoutStoreErrorSelector.md#getloadinstrumentserror)
|
|
37
|
+
- [getLoadOrderError](internal_.CheckoutStoreErrorSelector.md#getloadordererror)
|
|
38
|
+
- [getLoadPaymentMethodError](internal_.CheckoutStoreErrorSelector.md#getloadpaymentmethoderror)
|
|
39
|
+
- [getLoadPaymentMethodsError](internal_.CheckoutStoreErrorSelector.md#getloadpaymentmethodserror)
|
|
40
|
+
- [getLoadShippingCountriesError](internal_.CheckoutStoreErrorSelector.md#getloadshippingcountrieserror)
|
|
41
|
+
- [getLoadShippingOptionsError](internal_.CheckoutStoreErrorSelector.md#getloadshippingoptionserror)
|
|
42
|
+
- [getPickupOptionsError](internal_.CheckoutStoreErrorSelector.md#getpickupoptionserror)
|
|
43
|
+
- [getRemoveCouponError](internal_.CheckoutStoreErrorSelector.md#getremovecouponerror)
|
|
44
|
+
- [getRemoveGiftCertificateError](internal_.CheckoutStoreErrorSelector.md#getremovegiftcertificateerror)
|
|
45
|
+
- [getSelectShippingOptionError](internal_.CheckoutStoreErrorSelector.md#getselectshippingoptionerror)
|
|
46
|
+
- [getSignInEmailError](internal_.CheckoutStoreErrorSelector.md#getsigninemailerror)
|
|
47
|
+
- [getSignInError](internal_.CheckoutStoreErrorSelector.md#getsigninerror)
|
|
48
|
+
- [getSignOutError](internal_.CheckoutStoreErrorSelector.md#getsignouterror)
|
|
49
|
+
- [getSubmitOrderError](internal_.CheckoutStoreErrorSelector.md#getsubmitordererror)
|
|
50
|
+
- [getUpdateBillingAddressError](internal_.CheckoutStoreErrorSelector.md#getupdatebillingaddresserror)
|
|
51
|
+
- [getUpdateCheckoutError](internal_.CheckoutStoreErrorSelector.md#getupdatecheckouterror)
|
|
52
|
+
- [getUpdateConsignmentError](internal_.CheckoutStoreErrorSelector.md#getupdateconsignmenterror)
|
|
53
|
+
- [getUpdateShippingAddressError](internal_.CheckoutStoreErrorSelector.md#getupdateshippingaddresserror)
|
|
54
|
+
- [getUpdateSubscriptionsError](internal_.CheckoutStoreErrorSelector.md#getupdatesubscriptionserror)
|
|
55
|
+
|
|
56
|
+
## Methods
|
|
57
|
+
|
|
58
|
+
### getApplyCouponError
|
|
59
|
+
|
|
60
|
+
▸ **getApplyCouponError**(): `undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
61
|
+
|
|
62
|
+
Returns an error if unable to apply a coupon code.
|
|
63
|
+
|
|
64
|
+
#### Returns
|
|
65
|
+
|
|
66
|
+
`undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
67
|
+
|
|
68
|
+
The error object if unable to apply, otherwise undefined.
|
|
69
|
+
|
|
70
|
+
___
|
|
71
|
+
|
|
72
|
+
### getApplyGiftCertificateError
|
|
73
|
+
|
|
74
|
+
▸ **getApplyGiftCertificateError**(): `undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
75
|
+
|
|
76
|
+
Returns an error if unable to apply a gift certificate.
|
|
77
|
+
|
|
78
|
+
#### Returns
|
|
79
|
+
|
|
80
|
+
`undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
81
|
+
|
|
82
|
+
The error object if unable to apply, otherwise undefined.
|
|
83
|
+
|
|
84
|
+
___
|
|
85
|
+
|
|
86
|
+
### getApplyStoreCreditError
|
|
87
|
+
|
|
88
|
+
▸ **getApplyStoreCreditError**(): `undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
89
|
+
|
|
90
|
+
Returns an error if unable to apply store credit.
|
|
91
|
+
|
|
92
|
+
#### Returns
|
|
93
|
+
|
|
94
|
+
`undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
95
|
+
|
|
96
|
+
The error object if unable to apply, otherwise undefined.
|
|
97
|
+
|
|
98
|
+
___
|
|
99
|
+
|
|
100
|
+
### getContinueAsGuestError
|
|
101
|
+
|
|
102
|
+
▸ **getContinueAsGuestError**(): `undefined` \| `Error`
|
|
103
|
+
|
|
104
|
+
Returns an error if unable to continue as guest.
|
|
105
|
+
|
|
106
|
+
The call could fail in scenarios where guest checkout is not allowed, for example, when existing accounts are required to sign-in.
|
|
107
|
+
|
|
108
|
+
In the background, this call tries to set the billing address email using the Storefront API. You could access the Storefront API response status code using `getContinueAsGuestError` error selector.
|
|
109
|
+
|
|
110
|
+
```js
|
|
111
|
+
console.log(state.errors.getContinueAsGuestError());
|
|
112
|
+
console.log(state.errors.getContinueAsGuestError().status);
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
For more information about status codes, check [Checkout Storefront API - Add Checkout Billing Address](https://developer.bigcommerce.com/api-reference/cart-checkout/storefront-checkout-api/checkout-billing-address/checkoutsbillingaddressbycheckoutidpost).
|
|
116
|
+
|
|
117
|
+
#### Returns
|
|
118
|
+
|
|
119
|
+
`undefined` \| `Error`
|
|
120
|
+
|
|
121
|
+
The error object if unable to continue, otherwise undefined.
|
|
122
|
+
|
|
123
|
+
___
|
|
124
|
+
|
|
125
|
+
### getCreateConsignmentsError
|
|
126
|
+
|
|
127
|
+
▸ **getCreateConsignmentsError**(): `undefined` \| `Error`
|
|
128
|
+
|
|
129
|
+
Returns an error if unable to create consignments.
|
|
130
|
+
|
|
131
|
+
#### Returns
|
|
132
|
+
|
|
133
|
+
`undefined` \| `Error`
|
|
134
|
+
|
|
135
|
+
The error object if unable to create, otherwise undefined.
|
|
136
|
+
|
|
137
|
+
___
|
|
138
|
+
|
|
139
|
+
### getCreateCustomerAccountError
|
|
140
|
+
|
|
141
|
+
▸ **getCreateCustomerAccountError**(): `undefined` \| `Error`
|
|
142
|
+
|
|
143
|
+
Returns an error if unable to create customer account.
|
|
144
|
+
|
|
145
|
+
#### Returns
|
|
146
|
+
|
|
147
|
+
`undefined` \| `Error`
|
|
148
|
+
|
|
149
|
+
The error object if unable to create account, otherwise undefined.
|
|
150
|
+
|
|
151
|
+
___
|
|
152
|
+
|
|
153
|
+
### getCreateCustomerAddressError
|
|
154
|
+
|
|
155
|
+
▸ **getCreateCustomerAddressError**(): `undefined` \| `Error`
|
|
156
|
+
|
|
157
|
+
Returns an error if unable to create customer address.
|
|
158
|
+
|
|
159
|
+
#### Returns
|
|
160
|
+
|
|
161
|
+
`undefined` \| `Error`
|
|
162
|
+
|
|
163
|
+
The error object if unable to create address, otherwise undefined.
|
|
164
|
+
|
|
165
|
+
___
|
|
166
|
+
|
|
167
|
+
### getDeleteConsignmentError
|
|
168
|
+
|
|
169
|
+
▸ **getDeleteConsignmentError**(`consignmentId?`): `undefined` \| `Error`
|
|
170
|
+
|
|
171
|
+
Returns an error if unable to delete a consignment.
|
|
172
|
+
|
|
173
|
+
A consignment ID should be provided when checking for an error for a
|
|
174
|
+
specific consignment, otherwise it will check for all available consignments.
|
|
175
|
+
|
|
176
|
+
#### Parameters
|
|
177
|
+
|
|
178
|
+
| Name | Type | Description |
|
|
179
|
+
| :------ | :------ | :------ |
|
|
180
|
+
| `consignmentId?` | `string` | The identifier of the consignment to be checked. |
|
|
181
|
+
|
|
182
|
+
#### Returns
|
|
183
|
+
|
|
184
|
+
`undefined` \| `Error`
|
|
185
|
+
|
|
186
|
+
The error object if unable to delete, otherwise undefined.
|
|
187
|
+
|
|
188
|
+
___
|
|
189
|
+
|
|
190
|
+
### getDeleteInstrumentError
|
|
191
|
+
|
|
192
|
+
▸ **getDeleteInstrumentError**(`instrumentId?`): `undefined` \| `Error`
|
|
193
|
+
|
|
194
|
+
Returns an error if unable to delete a payment instrument.
|
|
195
|
+
|
|
196
|
+
#### Parameters
|
|
197
|
+
|
|
198
|
+
| Name | Type | Description |
|
|
199
|
+
| :------ | :------ | :------ |
|
|
200
|
+
| `instrumentId?` | `string` | The identifier of the payment instrument to delete. |
|
|
201
|
+
|
|
202
|
+
#### Returns
|
|
203
|
+
|
|
204
|
+
`undefined` \| `Error`
|
|
205
|
+
|
|
206
|
+
The error object if unable to delete, otherwise undefined.
|
|
207
|
+
|
|
208
|
+
___
|
|
209
|
+
|
|
210
|
+
### getError
|
|
211
|
+
|
|
212
|
+
▸ **getError**(): `undefined` \| `Error`
|
|
213
|
+
|
|
214
|
+
#### Returns
|
|
215
|
+
|
|
216
|
+
`undefined` \| `Error`
|
|
217
|
+
|
|
218
|
+
___
|
|
219
|
+
|
|
220
|
+
### getFinalizeOrderError
|
|
221
|
+
|
|
222
|
+
▸ **getFinalizeOrderError**(): `undefined` \| `Error`
|
|
223
|
+
|
|
224
|
+
Returns an error if unable to finalize the current order.
|
|
225
|
+
|
|
226
|
+
#### Returns
|
|
227
|
+
|
|
228
|
+
`undefined` \| `Error`
|
|
229
|
+
|
|
230
|
+
The error object if unable to finalize, otherwise undefined.
|
|
231
|
+
|
|
232
|
+
___
|
|
233
|
+
|
|
234
|
+
### getInitializeCustomerError
|
|
235
|
+
|
|
236
|
+
▸ **getInitializeCustomerError**(`methodId?`): `undefined` \| `Error`
|
|
237
|
+
|
|
238
|
+
Returns an error if unable to initialize the customer step of a checkout
|
|
239
|
+
process.
|
|
240
|
+
|
|
241
|
+
#### Parameters
|
|
242
|
+
|
|
243
|
+
| Name | Type | Description |
|
|
244
|
+
| :------ | :------ | :------ |
|
|
245
|
+
| `methodId?` | `string` | The identifer of the initialization method to execute. |
|
|
246
|
+
|
|
247
|
+
#### Returns
|
|
248
|
+
|
|
249
|
+
`undefined` \| `Error`
|
|
250
|
+
|
|
251
|
+
The error object if unable to initialize, otherwise undefined.
|
|
252
|
+
|
|
253
|
+
___
|
|
254
|
+
|
|
255
|
+
### getInitializePaymentError
|
|
256
|
+
|
|
257
|
+
▸ **getInitializePaymentError**(`methodId?`): `undefined` \| `Error`
|
|
258
|
+
|
|
259
|
+
Returns an error if unable to initialize a specific payment method.
|
|
260
|
+
|
|
261
|
+
#### Parameters
|
|
262
|
+
|
|
263
|
+
| Name | Type | Description |
|
|
264
|
+
| :------ | :------ | :------ |
|
|
265
|
+
| `methodId?` | `string` | The identifier of the payment method to initialize. |
|
|
266
|
+
|
|
267
|
+
#### Returns
|
|
268
|
+
|
|
269
|
+
`undefined` \| `Error`
|
|
270
|
+
|
|
271
|
+
The error object if unable to initialize, otherwise undefined.
|
|
272
|
+
|
|
273
|
+
___
|
|
274
|
+
|
|
275
|
+
### getInitializeShippingError
|
|
276
|
+
|
|
277
|
+
▸ **getInitializeShippingError**(`methodId?`): `undefined` \| `Error`
|
|
278
|
+
|
|
279
|
+
Returns an error if unable to initialize the shipping step of a checkout
|
|
280
|
+
process.
|
|
281
|
+
|
|
282
|
+
#### Parameters
|
|
283
|
+
|
|
284
|
+
| Name | Type | Description |
|
|
285
|
+
| :------ | :------ | :------ |
|
|
286
|
+
| `methodId?` | `string` | The identifer of the initialization method to execute. |
|
|
287
|
+
|
|
288
|
+
#### Returns
|
|
289
|
+
|
|
290
|
+
`undefined` \| `Error`
|
|
291
|
+
|
|
292
|
+
The error object if unable to initialize, otherwise undefined.
|
|
293
|
+
|
|
294
|
+
___
|
|
295
|
+
|
|
296
|
+
### getLoadBillingCountriesError
|
|
297
|
+
|
|
298
|
+
▸ **getLoadBillingCountriesError**(): `undefined` \| `Error`
|
|
299
|
+
|
|
300
|
+
Returns an error if unable to load billing countries.
|
|
301
|
+
|
|
302
|
+
#### Returns
|
|
303
|
+
|
|
304
|
+
`undefined` \| `Error`
|
|
305
|
+
|
|
306
|
+
The error object if unable to load, otherwise undefined.
|
|
307
|
+
|
|
308
|
+
___
|
|
309
|
+
|
|
310
|
+
### getLoadCartError
|
|
311
|
+
|
|
312
|
+
▸ **getLoadCartError**(): `undefined` \| `Error`
|
|
313
|
+
|
|
314
|
+
Returns an error if unable to load the current cart.
|
|
315
|
+
|
|
316
|
+
#### Returns
|
|
317
|
+
|
|
318
|
+
`undefined` \| `Error`
|
|
319
|
+
|
|
320
|
+
The error object if unable to load, otherwise undefined.
|
|
321
|
+
|
|
322
|
+
___
|
|
323
|
+
|
|
324
|
+
### getLoadCheckoutError
|
|
325
|
+
|
|
326
|
+
▸ **getLoadCheckoutError**(): `undefined` \| `Error`
|
|
327
|
+
|
|
328
|
+
Returns an error if unable to load the current checkout.
|
|
329
|
+
|
|
330
|
+
#### Returns
|
|
331
|
+
|
|
332
|
+
`undefined` \| `Error`
|
|
333
|
+
|
|
334
|
+
The error object if unable to load, otherwise undefined.
|
|
335
|
+
|
|
336
|
+
___
|
|
337
|
+
|
|
338
|
+
### getLoadConfigError
|
|
339
|
+
|
|
340
|
+
▸ **getLoadConfigError**(): `undefined` \| `Error`
|
|
341
|
+
|
|
342
|
+
Returns an error if unable to load the checkout configuration of a store.
|
|
343
|
+
|
|
344
|
+
#### Returns
|
|
345
|
+
|
|
346
|
+
`undefined` \| `Error`
|
|
347
|
+
|
|
348
|
+
The error object if unable to load, otherwise undefined.
|
|
349
|
+
|
|
350
|
+
___
|
|
351
|
+
|
|
352
|
+
### getLoadInstrumentsError
|
|
353
|
+
|
|
354
|
+
▸ **getLoadInstrumentsError**(): `undefined` \| `Error`
|
|
355
|
+
|
|
356
|
+
Returns an error if unable to load payment instruments.
|
|
357
|
+
|
|
358
|
+
#### Returns
|
|
359
|
+
|
|
360
|
+
`undefined` \| `Error`
|
|
361
|
+
|
|
362
|
+
The error object if unable to load, otherwise undefined.
|
|
363
|
+
|
|
364
|
+
___
|
|
365
|
+
|
|
366
|
+
### getLoadOrderError
|
|
367
|
+
|
|
368
|
+
▸ **getLoadOrderError**(): `undefined` \| `Error`
|
|
369
|
+
|
|
370
|
+
Returns an error if unable to load the current order.
|
|
371
|
+
|
|
372
|
+
#### Returns
|
|
373
|
+
|
|
374
|
+
`undefined` \| `Error`
|
|
375
|
+
|
|
376
|
+
The error object if unable to load, otherwise undefined.
|
|
377
|
+
|
|
378
|
+
___
|
|
379
|
+
|
|
380
|
+
### getLoadPaymentMethodError
|
|
381
|
+
|
|
382
|
+
▸ **getLoadPaymentMethodError**(`methodId?`): `undefined` \| `Error`
|
|
383
|
+
|
|
384
|
+
Returns an error if unable to load a specific payment method.
|
|
385
|
+
|
|
386
|
+
#### Parameters
|
|
387
|
+
|
|
388
|
+
| Name | Type | Description |
|
|
389
|
+
| :------ | :------ | :------ |
|
|
390
|
+
| `methodId?` | `string` | The identifier of the payment method to load. |
|
|
391
|
+
|
|
392
|
+
#### Returns
|
|
393
|
+
|
|
394
|
+
`undefined` \| `Error`
|
|
395
|
+
|
|
396
|
+
The error object if unable to load, otherwise undefined.
|
|
397
|
+
|
|
398
|
+
___
|
|
399
|
+
|
|
400
|
+
### getLoadPaymentMethodsError
|
|
401
|
+
|
|
402
|
+
▸ **getLoadPaymentMethodsError**(): `undefined` \| `Error`
|
|
403
|
+
|
|
404
|
+
Returns an error if unable to load payment methods.
|
|
405
|
+
|
|
406
|
+
#### Returns
|
|
407
|
+
|
|
408
|
+
`undefined` \| `Error`
|
|
409
|
+
|
|
410
|
+
The error object if unable to load, otherwise undefined.
|
|
411
|
+
|
|
412
|
+
___
|
|
413
|
+
|
|
414
|
+
### getLoadShippingCountriesError
|
|
415
|
+
|
|
416
|
+
▸ **getLoadShippingCountriesError**(): `undefined` \| `Error`
|
|
417
|
+
|
|
418
|
+
Returns an error if unable to load shipping countries.
|
|
419
|
+
|
|
420
|
+
#### Returns
|
|
421
|
+
|
|
422
|
+
`undefined` \| `Error`
|
|
423
|
+
|
|
424
|
+
The error object if unable to load, otherwise undefined.
|
|
425
|
+
|
|
426
|
+
___
|
|
427
|
+
|
|
428
|
+
### getLoadShippingOptionsError
|
|
429
|
+
|
|
430
|
+
▸ **getLoadShippingOptionsError**(): `undefined` \| `Error`
|
|
431
|
+
|
|
432
|
+
Returns an error if unable to load shipping options.
|
|
433
|
+
|
|
434
|
+
#### Returns
|
|
435
|
+
|
|
436
|
+
`undefined` \| `Error`
|
|
437
|
+
|
|
438
|
+
The error object if unable to load, otherwise undefined.
|
|
439
|
+
|
|
440
|
+
___
|
|
441
|
+
|
|
442
|
+
### getPickupOptionsError
|
|
443
|
+
|
|
444
|
+
▸ **getPickupOptionsError**(): `undefined` \| `Error`
|
|
445
|
+
|
|
446
|
+
Returns an error if unable to fetch pickup options.
|
|
447
|
+
|
|
448
|
+
#### Returns
|
|
449
|
+
|
|
450
|
+
`undefined` \| `Error`
|
|
451
|
+
|
|
452
|
+
The error object if unable to fetch pickup options, otherwise undefined.
|
|
453
|
+
|
|
454
|
+
___
|
|
455
|
+
|
|
456
|
+
### getRemoveCouponError
|
|
457
|
+
|
|
458
|
+
▸ **getRemoveCouponError**(): `undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
459
|
+
|
|
460
|
+
Returns an error if unable to remove a coupon code.
|
|
461
|
+
|
|
462
|
+
#### Returns
|
|
463
|
+
|
|
464
|
+
`undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
465
|
+
|
|
466
|
+
The error object if unable to remove, otherwise undefined.
|
|
467
|
+
|
|
468
|
+
___
|
|
469
|
+
|
|
470
|
+
### getRemoveGiftCertificateError
|
|
471
|
+
|
|
472
|
+
▸ **getRemoveGiftCertificateError**(): `undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
473
|
+
|
|
474
|
+
Returns an error if unable to remove a gift certificate.
|
|
475
|
+
|
|
476
|
+
#### Returns
|
|
477
|
+
|
|
478
|
+
`undefined` \| [`RequestError`](../classes/internal_.RequestError.md)<`any`\>
|
|
479
|
+
|
|
480
|
+
The error object if unable to remove, otherwise undefined.
|
|
481
|
+
|
|
482
|
+
___
|
|
483
|
+
|
|
484
|
+
### getSelectShippingOptionError
|
|
485
|
+
|
|
486
|
+
▸ **getSelectShippingOptionError**(`consignmentId?`): `undefined` \| `Error`
|
|
487
|
+
|
|
488
|
+
Returns an error if unable to select a shipping option.
|
|
489
|
+
|
|
490
|
+
A consignment ID should be provided when checking for an error for a
|
|
491
|
+
specific consignment, otherwise it will check for all available consignments.
|
|
492
|
+
|
|
493
|
+
#### Parameters
|
|
494
|
+
|
|
495
|
+
| Name | Type | Description |
|
|
496
|
+
| :------ | :------ | :------ |
|
|
497
|
+
| `consignmentId?` | `string` | The identifier of the consignment to be checked. |
|
|
498
|
+
|
|
499
|
+
#### Returns
|
|
500
|
+
|
|
501
|
+
`undefined` \| `Error`
|
|
502
|
+
|
|
503
|
+
The error object if unable to select, otherwise undefined.
|
|
504
|
+
|
|
505
|
+
___
|
|
506
|
+
|
|
507
|
+
### getSignInEmailError
|
|
508
|
+
|
|
509
|
+
▸ **getSignInEmailError**(): `undefined` \| `Error`
|
|
510
|
+
|
|
511
|
+
Returns an error if unable to send sign-in email.
|
|
512
|
+
|
|
513
|
+
#### Returns
|
|
514
|
+
|
|
515
|
+
`undefined` \| `Error`
|
|
516
|
+
|
|
517
|
+
The error object if unable to send email, otherwise undefined.
|
|
518
|
+
|
|
519
|
+
___
|
|
520
|
+
|
|
521
|
+
### getSignInError
|
|
522
|
+
|
|
523
|
+
▸ **getSignInError**(): `undefined` \| `Error`
|
|
524
|
+
|
|
525
|
+
Returns an error if unable to sign in.
|
|
526
|
+
|
|
527
|
+
#### Returns
|
|
528
|
+
|
|
529
|
+
`undefined` \| `Error`
|
|
530
|
+
|
|
531
|
+
The error object if unable to sign in, otherwise undefined.
|
|
532
|
+
|
|
533
|
+
___
|
|
534
|
+
|
|
535
|
+
### getSignOutError
|
|
536
|
+
|
|
537
|
+
▸ **getSignOutError**(): `undefined` \| `Error`
|
|
538
|
+
|
|
539
|
+
Returns an error if unable to sign out.
|
|
540
|
+
|
|
541
|
+
#### Returns
|
|
542
|
+
|
|
543
|
+
`undefined` \| `Error`
|
|
544
|
+
|
|
545
|
+
The error object if unable to sign out, otherwise undefined.
|
|
546
|
+
|
|
547
|
+
___
|
|
548
|
+
|
|
549
|
+
### getSubmitOrderError
|
|
550
|
+
|
|
551
|
+
▸ **getSubmitOrderError**(): `undefined` \| `Error` \| [`CartChangedError`](../classes/internal_.CartChangedError.md)
|
|
552
|
+
|
|
553
|
+
Returns an error if unable to submit the current order.
|
|
554
|
+
|
|
555
|
+
#### Returns
|
|
556
|
+
|
|
557
|
+
`undefined` \| `Error` \| [`CartChangedError`](../classes/internal_.CartChangedError.md)
|
|
558
|
+
|
|
559
|
+
The error object if unable to submit, otherwise undefined.
|
|
560
|
+
|
|
561
|
+
___
|
|
562
|
+
|
|
563
|
+
### getUpdateBillingAddressError
|
|
564
|
+
|
|
565
|
+
▸ **getUpdateBillingAddressError**(): `undefined` \| `Error`
|
|
566
|
+
|
|
567
|
+
Returns an error if unable to update billing address.
|
|
568
|
+
|
|
569
|
+
#### Returns
|
|
570
|
+
|
|
571
|
+
`undefined` \| `Error`
|
|
572
|
+
|
|
573
|
+
The error object if unable to update, otherwise undefined.
|
|
574
|
+
|
|
575
|
+
___
|
|
576
|
+
|
|
577
|
+
### getUpdateCheckoutError
|
|
578
|
+
|
|
579
|
+
▸ **getUpdateCheckoutError**(): `undefined` \| `Error`
|
|
580
|
+
|
|
581
|
+
Returns an error if unable to update the current checkout.
|
|
582
|
+
|
|
583
|
+
#### Returns
|
|
584
|
+
|
|
585
|
+
`undefined` \| `Error`
|
|
586
|
+
|
|
587
|
+
The error object if unable to update, otherwise undefined.
|
|
588
|
+
|
|
589
|
+
___
|
|
590
|
+
|
|
591
|
+
### getUpdateConsignmentError
|
|
592
|
+
|
|
593
|
+
▸ **getUpdateConsignmentError**(`consignmentId?`): `undefined` \| `Error`
|
|
594
|
+
|
|
595
|
+
Returns an error if unable to update a consignment.
|
|
596
|
+
|
|
597
|
+
A consignment ID should be provided when checking for an error for a
|
|
598
|
+
specific consignment, otherwise it will check for all available consignments.
|
|
599
|
+
|
|
600
|
+
#### Parameters
|
|
601
|
+
|
|
602
|
+
| Name | Type | Description |
|
|
603
|
+
| :------ | :------ | :------ |
|
|
604
|
+
| `consignmentId?` | `string` | The identifier of the consignment to be checked. |
|
|
605
|
+
|
|
606
|
+
#### Returns
|
|
607
|
+
|
|
608
|
+
`undefined` \| `Error`
|
|
609
|
+
|
|
610
|
+
The error object if unable to update, otherwise undefined.
|
|
611
|
+
|
|
612
|
+
___
|
|
613
|
+
|
|
614
|
+
### getUpdateShippingAddressError
|
|
615
|
+
|
|
616
|
+
▸ **getUpdateShippingAddressError**(): `undefined` \| `Error`
|
|
617
|
+
|
|
618
|
+
Returns an error if unable to update shipping address.
|
|
619
|
+
|
|
620
|
+
#### Returns
|
|
621
|
+
|
|
622
|
+
`undefined` \| `Error`
|
|
623
|
+
|
|
624
|
+
The error object if unable to update, otherwise undefined.
|
|
625
|
+
|
|
626
|
+
___
|
|
627
|
+
|
|
628
|
+
### getUpdateSubscriptionsError
|
|
629
|
+
|
|
630
|
+
▸ **getUpdateSubscriptionsError**(): `undefined` \| `Error`
|
|
631
|
+
|
|
632
|
+
Returns an error if unable to update subscriptions.
|
|
633
|
+
|
|
634
|
+
#### Returns
|
|
635
|
+
|
|
636
|
+
`undefined` \| `Error`
|
|
637
|
+
|
|
638
|
+
The error object if unable to update, otherwise undefined.
|