@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,42 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayV2PaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: AmazonPayV2PaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AmazonPayV2PaymentInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the payment step of
|
|
8
|
+
checkout in order to support AmazonPayV2.
|
|
9
|
+
|
|
10
|
+
When AmazonPayV2 is initialized, a change payment button will be bound.
|
|
11
|
+
When the customer clicks on it, they will be redirected to Amazon to
|
|
12
|
+
select a different payment method.
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<!-- This is where the Amazon button will be inserted -->
|
|
16
|
+
<div id="edit-button"></div>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
service.initializePayment({
|
|
21
|
+
methodId: 'amazonpay',
|
|
22
|
+
amazonpay: {
|
|
23
|
+
editButtonId: 'edit-button',
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Table of contents
|
|
29
|
+
|
|
30
|
+
### Properties
|
|
31
|
+
|
|
32
|
+
- [editButtonId](internal_.AmazonPayV2PaymentInitializeOptions.md#editbuttonid)
|
|
33
|
+
|
|
34
|
+
## Properties
|
|
35
|
+
|
|
36
|
+
### editButtonId
|
|
37
|
+
|
|
38
|
+
• `Optional` **editButtonId**: `string`
|
|
39
|
+
|
|
40
|
+
This editButtonId is used to set an event listener, provide an element ID
|
|
41
|
+
if you want users to be able to select a different payment method by
|
|
42
|
+
clicking on a button. It should be an HTML element.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayV2ShippingInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: AmazonPayV2ShippingInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AmazonPayV2ShippingInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the shipping step of
|
|
8
|
+
checkout in order to support AmazonPayV2.
|
|
9
|
+
|
|
10
|
+
When AmazonPayV2 is initialized, a change shipping button will be bound.
|
|
11
|
+
When the customer clicks on it, they will be redirected to Amazon to
|
|
12
|
+
select a different shipping address.
|
|
13
|
+
|
|
14
|
+
## Table of contents
|
|
15
|
+
|
|
16
|
+
### Properties
|
|
17
|
+
|
|
18
|
+
- [editAddressButtonId](internal_.AmazonPayV2ShippingInitializeOptions.md#editaddressbuttonid)
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
### editAddressButtonId
|
|
23
|
+
|
|
24
|
+
• `Optional` **editAddressButtonId**: `string`
|
|
25
|
+
|
|
26
|
+
This editAddressButtonId is used to set an event listener, provide an
|
|
27
|
+
element ID if you want users to be able to select a different shipping
|
|
28
|
+
address by clicking on a button. It should be an HTML element.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayWidgetError
|
|
2
|
+
|
|
3
|
+
# Interface: AmazonPayWidgetError
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AmazonPayWidgetError
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- `Error`
|
|
10
|
+
|
|
11
|
+
↳ **`AmazonPayWidgetError`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Methods
|
|
16
|
+
|
|
17
|
+
- [getErrorCode](internal_.AmazonPayWidgetError.md#geterrorcode)
|
|
18
|
+
|
|
19
|
+
## Methods
|
|
20
|
+
|
|
21
|
+
### getErrorCode
|
|
22
|
+
|
|
23
|
+
▸ **getErrorCode**(): `string`
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
`string`
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ApplePayCustomerInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: ApplePayCustomerInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).ApplePayCustomerInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the customer step of
|
|
8
|
+
checkout in order to support ApplePay.
|
|
9
|
+
|
|
10
|
+
When ApplePay is initialized, a sign-in button will be inserted into the
|
|
11
|
+
DOM. When the customer clicks on it, it will trigger apple sheet
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [container](internal_.ApplePayCustomerInitializeOptions.md#container)
|
|
18
|
+
- [shippingLabel](internal_.ApplePayCustomerInitializeOptions.md#shippinglabel)
|
|
19
|
+
- [subtotalLabel](internal_.ApplePayCustomerInitializeOptions.md#subtotallabel)
|
|
20
|
+
|
|
21
|
+
### Methods
|
|
22
|
+
|
|
23
|
+
- [onError](internal_.ApplePayCustomerInitializeOptions.md#onerror)
|
|
24
|
+
- [onPaymentAuthorize](internal_.ApplePayCustomerInitializeOptions.md#onpaymentauthorize)
|
|
25
|
+
|
|
26
|
+
## Properties
|
|
27
|
+
|
|
28
|
+
### container
|
|
29
|
+
|
|
30
|
+
• **container**: `string`
|
|
31
|
+
|
|
32
|
+
The ID of a container which the sign-in button should insert into.
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### shippingLabel
|
|
37
|
+
|
|
38
|
+
• `Optional` **shippingLabel**: `string`
|
|
39
|
+
|
|
40
|
+
Shipping label to be passed to apple sheet.
|
|
41
|
+
|
|
42
|
+
___
|
|
43
|
+
|
|
44
|
+
### subtotalLabel
|
|
45
|
+
|
|
46
|
+
• `Optional` **subtotalLabel**: `string`
|
|
47
|
+
|
|
48
|
+
Sub total label to be passed to apple sheet.
|
|
49
|
+
|
|
50
|
+
## Methods
|
|
51
|
+
|
|
52
|
+
### onError
|
|
53
|
+
|
|
54
|
+
▸ `Optional` **onError**(`error?`): `void`
|
|
55
|
+
|
|
56
|
+
A callback that gets called if unable to initialize the widget or select
|
|
57
|
+
one of the address options provided by the widget.
|
|
58
|
+
|
|
59
|
+
#### Parameters
|
|
60
|
+
|
|
61
|
+
| Name | Type | Description |
|
|
62
|
+
| :------ | :------ | :------ |
|
|
63
|
+
| `error?` | `Error` | The error object describing the failure. |
|
|
64
|
+
|
|
65
|
+
#### Returns
|
|
66
|
+
|
|
67
|
+
`void`
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### onPaymentAuthorize
|
|
72
|
+
|
|
73
|
+
▸ **onPaymentAuthorize**(): `void`
|
|
74
|
+
|
|
75
|
+
A callback that gets called when a payment is successfully completed.
|
|
76
|
+
|
|
77
|
+
#### Returns
|
|
78
|
+
|
|
79
|
+
`void`
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ApplePayPaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: ApplePayPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).ApplePayPaymentInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the Applepay payment method with:
|
|
8
|
+
|
|
9
|
+
1) ApplePay:
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
service.initializePayment({
|
|
13
|
+
methodId: 'applepay',
|
|
14
|
+
applepay: {
|
|
15
|
+
shippingLabel: 'Shipping',
|
|
16
|
+
subtotalLabel: 'Sub total',
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Table of contents
|
|
22
|
+
|
|
23
|
+
### Properties
|
|
24
|
+
|
|
25
|
+
- [shippingLabel](internal_.ApplePayPaymentInitializeOptions.md#shippinglabel)
|
|
26
|
+
- [subtotalLabel](internal_.ApplePayPaymentInitializeOptions.md#subtotallabel)
|
|
27
|
+
|
|
28
|
+
## Properties
|
|
29
|
+
|
|
30
|
+
### shippingLabel
|
|
31
|
+
|
|
32
|
+
• `Optional` **shippingLabel**: `string`
|
|
33
|
+
|
|
34
|
+
Shipping label to be passed to apple sheet.
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### subtotalLabel
|
|
39
|
+
|
|
40
|
+
• `Optional` **subtotalLabel**: `string`
|
|
41
|
+
|
|
42
|
+
Sub total label to be passed to apple sheet.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BankInstrument
|
|
2
|
+
|
|
3
|
+
# Interface: BankInstrument
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BankInstrument
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`BaseAccountInstrument`](internal_.BaseAccountInstrument.md)
|
|
10
|
+
|
|
11
|
+
↳ **`BankInstrument`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [accountNumber](internal_.BankInstrument.md#accountnumber)
|
|
18
|
+
- [bigpayToken](internal_.BankInstrument.md#bigpaytoken)
|
|
19
|
+
- [defaultInstrument](internal_.BankInstrument.md#defaultinstrument)
|
|
20
|
+
- [externalId](internal_.BankInstrument.md#externalid)
|
|
21
|
+
- [iban](internal_.BankInstrument.md#iban)
|
|
22
|
+
- [issuer](internal_.BankInstrument.md#issuer)
|
|
23
|
+
- [method](internal_.BankInstrument.md#method)
|
|
24
|
+
- [provider](internal_.BankInstrument.md#provider)
|
|
25
|
+
- [trustedShippingAddress](internal_.BankInstrument.md#trustedshippingaddress)
|
|
26
|
+
- [type](internal_.BankInstrument.md#type)
|
|
27
|
+
|
|
28
|
+
## Properties
|
|
29
|
+
|
|
30
|
+
### accountNumber
|
|
31
|
+
|
|
32
|
+
• **accountNumber**: `string`
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### bigpayToken
|
|
37
|
+
|
|
38
|
+
• **bigpayToken**: `string`
|
|
39
|
+
|
|
40
|
+
#### Inherited from
|
|
41
|
+
|
|
42
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[bigpayToken](internal_.BaseAccountInstrument.md#bigpaytoken)
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### defaultInstrument
|
|
47
|
+
|
|
48
|
+
• **defaultInstrument**: `boolean`
|
|
49
|
+
|
|
50
|
+
#### Inherited from
|
|
51
|
+
|
|
52
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[defaultInstrument](internal_.BaseAccountInstrument.md#defaultinstrument)
|
|
53
|
+
|
|
54
|
+
___
|
|
55
|
+
|
|
56
|
+
### externalId
|
|
57
|
+
|
|
58
|
+
• **externalId**: `string`
|
|
59
|
+
|
|
60
|
+
#### Inherited from
|
|
61
|
+
|
|
62
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[externalId](internal_.BaseAccountInstrument.md#externalid)
|
|
63
|
+
|
|
64
|
+
___
|
|
65
|
+
|
|
66
|
+
### iban
|
|
67
|
+
|
|
68
|
+
• **iban**: `string`
|
|
69
|
+
|
|
70
|
+
___
|
|
71
|
+
|
|
72
|
+
### issuer
|
|
73
|
+
|
|
74
|
+
• **issuer**: `string`
|
|
75
|
+
|
|
76
|
+
___
|
|
77
|
+
|
|
78
|
+
### method
|
|
79
|
+
|
|
80
|
+
• **method**: `string`
|
|
81
|
+
|
|
82
|
+
#### Overrides
|
|
83
|
+
|
|
84
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[method](internal_.BaseAccountInstrument.md#method)
|
|
85
|
+
|
|
86
|
+
___
|
|
87
|
+
|
|
88
|
+
### provider
|
|
89
|
+
|
|
90
|
+
• **provider**: `string`
|
|
91
|
+
|
|
92
|
+
#### Inherited from
|
|
93
|
+
|
|
94
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[provider](internal_.BaseAccountInstrument.md#provider)
|
|
95
|
+
|
|
96
|
+
___
|
|
97
|
+
|
|
98
|
+
### trustedShippingAddress
|
|
99
|
+
|
|
100
|
+
• **trustedShippingAddress**: `boolean`
|
|
101
|
+
|
|
102
|
+
#### Inherited from
|
|
103
|
+
|
|
104
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[trustedShippingAddress](internal_.BaseAccountInstrument.md#trustedshippingaddress)
|
|
105
|
+
|
|
106
|
+
___
|
|
107
|
+
|
|
108
|
+
### type
|
|
109
|
+
|
|
110
|
+
• **type**: ``"bank"``
|
|
111
|
+
|
|
112
|
+
#### Overrides
|
|
113
|
+
|
|
114
|
+
[BaseAccountInstrument](internal_.BaseAccountInstrument.md).[type](internal_.BaseAccountInstrument.md#type)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / Banner
|
|
2
|
+
|
|
3
|
+
# Interface: Banner
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).Banner
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [text](internal_.Banner.md#text)
|
|
12
|
+
- [type](internal_.Banner.md#type)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### text
|
|
17
|
+
|
|
18
|
+
• **text**: `string`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### type
|
|
23
|
+
|
|
24
|
+
• **type**: `string`
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BaseAccountInstrument
|
|
2
|
+
|
|
3
|
+
# Interface: BaseAccountInstrument
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BaseAccountInstrument
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`BaseInstrument`](internal_.BaseInstrument.md)
|
|
10
|
+
|
|
11
|
+
↳ **`BaseAccountInstrument`**
|
|
12
|
+
|
|
13
|
+
↳↳ [`PayPalInstrument`](internal_.PayPalInstrument.md)
|
|
14
|
+
|
|
15
|
+
↳↳ [`BankInstrument`](internal_.BankInstrument.md)
|
|
16
|
+
|
|
17
|
+
## Table of contents
|
|
18
|
+
|
|
19
|
+
### Properties
|
|
20
|
+
|
|
21
|
+
- [bigpayToken](internal_.BaseAccountInstrument.md#bigpaytoken)
|
|
22
|
+
- [defaultInstrument](internal_.BaseAccountInstrument.md#defaultinstrument)
|
|
23
|
+
- [externalId](internal_.BaseAccountInstrument.md#externalid)
|
|
24
|
+
- [method](internal_.BaseAccountInstrument.md#method)
|
|
25
|
+
- [provider](internal_.BaseAccountInstrument.md#provider)
|
|
26
|
+
- [trustedShippingAddress](internal_.BaseAccountInstrument.md#trustedshippingaddress)
|
|
27
|
+
- [type](internal_.BaseAccountInstrument.md#type)
|
|
28
|
+
|
|
29
|
+
## Properties
|
|
30
|
+
|
|
31
|
+
### bigpayToken
|
|
32
|
+
|
|
33
|
+
• **bigpayToken**: `string`
|
|
34
|
+
|
|
35
|
+
#### Inherited from
|
|
36
|
+
|
|
37
|
+
[BaseInstrument](internal_.BaseInstrument.md).[bigpayToken](internal_.BaseInstrument.md#bigpaytoken)
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### defaultInstrument
|
|
42
|
+
|
|
43
|
+
• **defaultInstrument**: `boolean`
|
|
44
|
+
|
|
45
|
+
#### Inherited from
|
|
46
|
+
|
|
47
|
+
[BaseInstrument](internal_.BaseInstrument.md).[defaultInstrument](internal_.BaseInstrument.md#defaultinstrument)
|
|
48
|
+
|
|
49
|
+
___
|
|
50
|
+
|
|
51
|
+
### externalId
|
|
52
|
+
|
|
53
|
+
• **externalId**: `string`
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### method
|
|
58
|
+
|
|
59
|
+
• **method**: `string`
|
|
60
|
+
|
|
61
|
+
#### Overrides
|
|
62
|
+
|
|
63
|
+
[BaseInstrument](internal_.BaseInstrument.md).[method](internal_.BaseInstrument.md#method)
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### provider
|
|
68
|
+
|
|
69
|
+
• **provider**: `string`
|
|
70
|
+
|
|
71
|
+
#### Inherited from
|
|
72
|
+
|
|
73
|
+
[BaseInstrument](internal_.BaseInstrument.md).[provider](internal_.BaseInstrument.md#provider)
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### trustedShippingAddress
|
|
78
|
+
|
|
79
|
+
• **trustedShippingAddress**: `boolean`
|
|
80
|
+
|
|
81
|
+
#### Inherited from
|
|
82
|
+
|
|
83
|
+
[BaseInstrument](internal_.BaseInstrument.md).[trustedShippingAddress](internal_.BaseInstrument.md#trustedshippingaddress)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### type
|
|
88
|
+
|
|
89
|
+
• **type**: ``"account"`` \| ``"bank"``
|
|
90
|
+
|
|
91
|
+
#### Overrides
|
|
92
|
+
|
|
93
|
+
[BaseInstrument](internal_.BaseInstrument.md).[type](internal_.BaseInstrument.md#type)
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BaseCustomerInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BaseCustomerInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BaseCustomerInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the customer step of the
|
|
8
|
+
current checkout flow.
|
|
9
|
+
|
|
10
|
+
Some payment methods have specific requirements for setting the customer
|
|
11
|
+
details for checkout. For example, Amazon Pay requires the customer to sign in
|
|
12
|
+
using their sign-in button. As a result, you may need to provide additional
|
|
13
|
+
information in order to initialize the customer step of checkout.
|
|
14
|
+
|
|
15
|
+
## Hierarchy
|
|
16
|
+
|
|
17
|
+
- [`CustomerRequestOptions`](internal_.CustomerRequestOptions.md)
|
|
18
|
+
|
|
19
|
+
↳ **`BaseCustomerInitializeOptions`**
|
|
20
|
+
|
|
21
|
+
## Indexable
|
|
22
|
+
|
|
23
|
+
▪ [key: `string`]: `unknown`
|
|
24
|
+
|
|
25
|
+
## Table of contents
|
|
26
|
+
|
|
27
|
+
### Properties
|
|
28
|
+
|
|
29
|
+
- [amazon](internal_.BaseCustomerInitializeOptions.md#amazon)
|
|
30
|
+
- [amazonpay](internal_.BaseCustomerInitializeOptions.md#amazonpay)
|
|
31
|
+
- [bolt](internal_.BaseCustomerInitializeOptions.md#bolt)
|
|
32
|
+
- [braintreevisacheckout](internal_.BaseCustomerInitializeOptions.md#braintreevisacheckout)
|
|
33
|
+
- [chasepay](internal_.BaseCustomerInitializeOptions.md#chasepay)
|
|
34
|
+
- [googlepayadyenv2](internal_.BaseCustomerInitializeOptions.md#googlepayadyenv2)
|
|
35
|
+
- [googlepayadyenv3](internal_.BaseCustomerInitializeOptions.md#googlepayadyenv3)
|
|
36
|
+
- [googlepayauthorizenet](internal_.BaseCustomerInitializeOptions.md#googlepayauthorizenet)
|
|
37
|
+
- [googlepaybnz](internal_.BaseCustomerInitializeOptions.md#googlepaybnz)
|
|
38
|
+
- [googlepaybraintree](internal_.BaseCustomerInitializeOptions.md#googlepaybraintree)
|
|
39
|
+
- [googlepaycheckoutcom](internal_.BaseCustomerInitializeOptions.md#googlepaycheckoutcom)
|
|
40
|
+
- [googlepaycybersourcev2](internal_.BaseCustomerInitializeOptions.md#googlepaycybersourcev2)
|
|
41
|
+
- [googlepayorbital](internal_.BaseCustomerInitializeOptions.md#googlepayorbital)
|
|
42
|
+
- [googlepaystripe](internal_.BaseCustomerInitializeOptions.md#googlepaystripe)
|
|
43
|
+
- [googlepaystripeupe](internal_.BaseCustomerInitializeOptions.md#googlepaystripeupe)
|
|
44
|
+
- [masterpass](internal_.BaseCustomerInitializeOptions.md#masterpass)
|
|
45
|
+
- [methodId](internal_.BaseCustomerInitializeOptions.md#methodid)
|
|
46
|
+
- [params](internal_.BaseCustomerInitializeOptions.md#params)
|
|
47
|
+
- [stripeupe](internal_.BaseCustomerInitializeOptions.md#stripeupe)
|
|
48
|
+
- [timeout](internal_.BaseCustomerInitializeOptions.md#timeout)
|
|
49
|
+
|
|
50
|
+
## Properties
|
|
51
|
+
|
|
52
|
+
### amazon
|
|
53
|
+
|
|
54
|
+
• `Optional` **amazon**: [`AmazonPayCustomerInitializeOptions`](internal_.AmazonPayCustomerInitializeOptions.md)
|
|
55
|
+
|
|
56
|
+
The options that are required to initialize the customer step of checkout
|
|
57
|
+
when using Amazon Pay.
|
|
58
|
+
|
|
59
|
+
___
|
|
60
|
+
|
|
61
|
+
### amazonpay
|
|
62
|
+
|
|
63
|
+
• `Optional` **amazonpay**: [`AmazonPayV2CustomerInitializeOptions`](internal_.AmazonPayV2CustomerInitializeOptions.md)
|
|
64
|
+
|
|
65
|
+
The options that are required to initialize the customer step of checkout
|
|
66
|
+
when using AmazonPayV2.
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### bolt
|
|
71
|
+
|
|
72
|
+
• `Optional` **bolt**: [`BoltCustomerInitializeOptions`](internal_.BoltCustomerInitializeOptions.md)
|
|
73
|
+
|
|
74
|
+
The options that are required to initialize the customer step of checkout
|
|
75
|
+
when using Bolt.
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### braintreevisacheckout
|
|
80
|
+
|
|
81
|
+
• `Optional` **braintreevisacheckout**: [`BraintreeVisaCheckoutCustomerInitializeOptions`](internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md)
|
|
82
|
+
|
|
83
|
+
The options that are required to initialize the customer step of checkout
|
|
84
|
+
when using Visa Checkout provided by Braintree.
|
|
85
|
+
|
|
86
|
+
___
|
|
87
|
+
|
|
88
|
+
### chasepay
|
|
89
|
+
|
|
90
|
+
• `Optional` **chasepay**: [`ChasePayCustomerInitializeOptions`](internal_.ChasePayCustomerInitializeOptions.md)
|
|
91
|
+
|
|
92
|
+
The options that are required to initialize the Chasepay payment method.
|
|
93
|
+
They can be omitted unless you need to support Chasepay.
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### googlepayadyenv2
|
|
98
|
+
|
|
99
|
+
• `Optional` **googlepayadyenv2**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
100
|
+
|
|
101
|
+
The options that are required to initialize the GooglePay payment method.
|
|
102
|
+
They can be omitted unless you need to support GooglePay.
|
|
103
|
+
|
|
104
|
+
___
|
|
105
|
+
|
|
106
|
+
### googlepayadyenv3
|
|
107
|
+
|
|
108
|
+
• `Optional` **googlepayadyenv3**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
109
|
+
|
|
110
|
+
The options that are required to initialize the GooglePay payment method.
|
|
111
|
+
They can be omitted unless you need to support GooglePay.
|
|
112
|
+
|
|
113
|
+
___
|
|
114
|
+
|
|
115
|
+
### googlepayauthorizenet
|
|
116
|
+
|
|
117
|
+
• `Optional` **googlepayauthorizenet**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
118
|
+
|
|
119
|
+
The options that are required to initialize the GooglePay payment method.
|
|
120
|
+
They can be omitted unless you need to support GooglePay.
|
|
121
|
+
|
|
122
|
+
___
|
|
123
|
+
|
|
124
|
+
### googlepaybnz
|
|
125
|
+
|
|
126
|
+
• `Optional` **googlepaybnz**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
127
|
+
|
|
128
|
+
The options that are required to initialize the GooglePay payment method.
|
|
129
|
+
They can be omitted unless you need to support GooglePay.
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### googlepaybraintree
|
|
134
|
+
|
|
135
|
+
• `Optional` **googlepaybraintree**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
136
|
+
|
|
137
|
+
The options that are required to initialize the GooglePay payment method.
|
|
138
|
+
They can be omitted unless you need to support GooglePay.
|
|
139
|
+
|
|
140
|
+
___
|
|
141
|
+
|
|
142
|
+
### googlepaycheckoutcom
|
|
143
|
+
|
|
144
|
+
• `Optional` **googlepaycheckoutcom**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
145
|
+
|
|
146
|
+
The options that are required to initialize the GooglePay payment method.
|
|
147
|
+
They can be omitted unless you need to support GooglePay.
|
|
148
|
+
|
|
149
|
+
___
|
|
150
|
+
|
|
151
|
+
### googlepaycybersourcev2
|
|
152
|
+
|
|
153
|
+
• `Optional` **googlepaycybersourcev2**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
154
|
+
|
|
155
|
+
The options that are required to initialize the GooglePay payment method.
|
|
156
|
+
They can be omitted unless you need to support GooglePay.
|
|
157
|
+
|
|
158
|
+
___
|
|
159
|
+
|
|
160
|
+
### googlepayorbital
|
|
161
|
+
|
|
162
|
+
• `Optional` **googlepayorbital**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
163
|
+
|
|
164
|
+
The options that are required to initialize the GooglePay payment method.
|
|
165
|
+
They can be omitted unless you need to support GooglePay.
|
|
166
|
+
|
|
167
|
+
___
|
|
168
|
+
|
|
169
|
+
### googlepaystripe
|
|
170
|
+
|
|
171
|
+
• `Optional` **googlepaystripe**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
172
|
+
|
|
173
|
+
The options that are required to initialize the GooglePay payment method.
|
|
174
|
+
They can be omitted unless you need to support GooglePay.
|
|
175
|
+
|
|
176
|
+
___
|
|
177
|
+
|
|
178
|
+
### googlepaystripeupe
|
|
179
|
+
|
|
180
|
+
• `Optional` **googlepaystripeupe**: [`GooglePayCustomerInitializeOptions`](internal_.GooglePayCustomerInitializeOptions.md)
|
|
181
|
+
|
|
182
|
+
The options that are required to initialize the GooglePay payment method.
|
|
183
|
+
They can be omitted unless you need to support GooglePay.
|
|
184
|
+
|
|
185
|
+
___
|
|
186
|
+
|
|
187
|
+
### masterpass
|
|
188
|
+
|
|
189
|
+
• `Optional` **masterpass**: [`MasterpassCustomerInitializeOptions`](internal_.MasterpassCustomerInitializeOptions.md)
|
|
190
|
+
|
|
191
|
+
The options that are required to initialize the Masterpass payment method.
|
|
192
|
+
They can be omitted unless you need to support Masterpass.
|
|
193
|
+
|
|
194
|
+
___
|
|
195
|
+
|
|
196
|
+
### methodId
|
|
197
|
+
|
|
198
|
+
• `Optional` **methodId**: `string`
|
|
199
|
+
|
|
200
|
+
#### Inherited from
|
|
201
|
+
|
|
202
|
+
[CustomerRequestOptions](internal_.CustomerRequestOptions.md).[methodId](internal_.CustomerRequestOptions.md#methodid)
|
|
203
|
+
|
|
204
|
+
___
|
|
205
|
+
|
|
206
|
+
### params
|
|
207
|
+
|
|
208
|
+
• `Optional` **params**: `Object`
|
|
209
|
+
|
|
210
|
+
The parameters of the request, if required.
|
|
211
|
+
|
|
212
|
+
#### Inherited from
|
|
213
|
+
|
|
214
|
+
[CustomerRequestOptions](internal_.CustomerRequestOptions.md).[params](internal_.CustomerRequestOptions.md#params)
|
|
215
|
+
|
|
216
|
+
___
|
|
217
|
+
|
|
218
|
+
### stripeupe
|
|
219
|
+
|
|
220
|
+
• `Optional` **stripeupe**: [`StripeUPECustomerInitializeOptions`](internal_.StripeUPECustomerInitializeOptions.md)
|
|
221
|
+
|
|
222
|
+
The options that are required to initialize the Customer Stripe Upe payment method.
|
|
223
|
+
They can be omitted unless you need to support Customer Stripe Upe.
|
|
224
|
+
|
|
225
|
+
___
|
|
226
|
+
|
|
227
|
+
### timeout
|
|
228
|
+
|
|
229
|
+
• `Optional` **timeout**: `default`
|
|
230
|
+
|
|
231
|
+
Provide this option if you want to cancel or time out the request. If the
|
|
232
|
+
timeout object completes before the request, the request will be
|
|
233
|
+
cancelled.
|
|
234
|
+
|
|
235
|
+
#### Inherited from
|
|
236
|
+
|
|
237
|
+
[CustomerRequestOptions](internal_.CustomerRequestOptions.md).[timeout](internal_.CustomerRequestOptions.md#timeout)
|