@bigcommerce/checkout-sdk 1.308.2 → 1.308.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +16 -158
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +54 -0
- package/docs/classes/internal_.CheckoutButtonInitializer.md +179 -0
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +54 -0
- package/docs/classes/internal_.StandardError.md +0 -4
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +31 -0
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +59 -0
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +38 -0
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +28 -0
- package/docs/enums/internal_.AmazonPayV2Placement.md +55 -0
- package/docs/enums/internal_.CheckoutButtonMethodType.md +164 -0
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +38 -0
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +45 -0
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +38 -0
- package/docs/enums/internal_.StyleButtonColor.md +45 -0
- package/docs/enums/internal_.StyleButtonLabel.md +45 -0
- package/docs/enums/internal_.StyleButtonLayout.md +24 -0
- package/docs/enums/internal_.StyleButtonShape.md +24 -0
- package/docs/interfaces/internal_.Address.md +0 -4
- package/docs/interfaces/internal_.AddressRequestBody.md +0 -2
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +82 -0
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +117 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +37 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +38 -0
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +139 -0
- package/docs/interfaces/internal_.AmazonPayV2Price.md +28 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +40 -0
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +291 -0
- package/docs/interfaces/internal_.BraintreeError.md +37 -0
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +122 -0
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +113 -0
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +56 -0
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +26 -0
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +24 -0
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +57 -0
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +24 -0
- package/docs/interfaces/{internal_.GooglePayCustomerInitializeOptions.md → internal_.GooglePayButtonInitializeOptions.md} +5 -16
- package/docs/interfaces/internal_.LineItem.md +8 -163
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +66 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +69 -0
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +61 -0
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +68 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +77 -0
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +58 -0
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +52 -0
- package/docs/interfaces/internal_.RequestOptions.md +1 -5
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +17 -0
- package/docs/modules/internal_.md +51 -515
- package/package.json +1 -1
- package/docs/classes/internal_.CartChangedError.md +0 -62
- package/docs/classes/internal_.CheckoutService.md +0 -1528
- package/docs/classes/internal_.CurrencyService.md +0 -56
- package/docs/classes/internal_.EmbeddedCheckout.md +0 -42
- package/docs/classes/internal_.LanguageService.md +0 -103
- package/docs/classes/internal_.RequestError.md +0 -108
- package/docs/enums/internal_.AdyenV2CardFields.md +0 -31
- package/docs/enums/internal_.AdyenV3CardFields.md +0 -31
- package/docs/enums/internal_.CheckoutIncludes.md +0 -31
- package/docs/enums/internal_.HostedFieldType.md +0 -52
- package/docs/enums/internal_.IconStyle.md +0 -24
- package/docs/enums/internal_.RadiusUnit.md +0 -24
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +0 -70
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +0 -68
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +0 -108
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +0 -108
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +0 -35
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +0 -42
- package/docs/interfaces/internal_.AdyenComponent.md +0 -74
- package/docs/interfaces/internal_.AdyenComponentEvents.md +0 -76
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +0 -76
- package/docs/interfaces/internal_.AdyenComponent_2.md +0 -74
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +0 -187
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +0 -19
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +0 -23
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +0 -35
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +0 -35
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +0 -99
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +0 -162
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +0 -59
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +0 -198
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +0 -137
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +0 -59
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +0 -67
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +0 -32
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +0 -102
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +0 -87
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +0 -26
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +0 -28
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +0 -27
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +0 -79
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.BankInstrument.md +0 -114
- package/docs/interfaces/internal_.Banner.md +0 -24
- package/docs/interfaces/internal_.BaseAccountInstrument.md +0 -93
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +0 -237
- package/docs/interfaces/internal_.BaseElementOptions.md +0 -28
- package/docs/interfaces/internal_.BaseElementOptions_2.md +0 -50
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +0 -69
- package/docs/interfaces/internal_.BaseInstrument.md +0 -60
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +0 -376
- package/docs/interfaces/internal_.BillingAddress.md +0 -184
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +0 -155
- package/docs/interfaces/internal_.BlockElementStyles.md +0 -107
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +0 -31
- package/docs/interfaces/internal_.BodlEventsPayload.md +0 -9
- package/docs/interfaces/internal_.BodlService.md +0 -172
- package/docs/interfaces/internal_.BodyStyles.md +0 -17
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +0 -96
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +0 -91
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +0 -53
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +0 -53
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.BrowserInfo.md +0 -52
- package/docs/interfaces/internal_.ButtonResponse.md +0 -21
- package/docs/interfaces/internal_.ButtonStyles.md +0 -143
- package/docs/interfaces/internal_.CardCvcElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.CardElementOptions.md +0 -93
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardInstrument.md +0 -117
- package/docs/interfaces/internal_.CardNumberElementOptions.md +0 -90
- package/docs/interfaces/internal_.CardPaymentMethodState.md +0 -62
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +0 -45
- package/docs/interfaces/internal_.CardState.md +0 -42
- package/docs/interfaces/internal_.CardStateErrors.md +0 -9
- package/docs/interfaces/internal_.CardStateErrors_2.md +0 -9
- package/docs/interfaces/internal_.CardState_2.md +0 -42
- package/docs/interfaces/internal_.Cart.md +0 -108
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.CheckableInputStyles.md +0 -177
- package/docs/interfaces/internal_.ChecklistStyles.md +0 -129
- package/docs/interfaces/internal_.Checkout.md +0 -204
- package/docs/interfaces/internal_.CheckoutParams.md +0 -17
- package/docs/interfaces/internal_.CheckoutPayment.md +0 -44
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +0 -17
- package/docs/interfaces/internal_.CheckoutRequestBody.md +0 -17
- package/docs/interfaces/internal_.CheckoutSelectors.md +0 -31
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +0 -38
- package/docs/interfaces/internal_.CheckoutSettings.md +0 -203
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +0 -638
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +0 -503
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +0 -760
- package/docs/interfaces/internal_.Consignment.md +0 -73
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +0 -38
- package/docs/interfaces/internal_.ConsignmentLineItem.md +0 -24
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +0 -17
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +0 -45
- package/docs/interfaces/internal_.Coordinates.md +0 -24
- package/docs/interfaces/internal_.Country.md +0 -45
- package/docs/interfaces/internal_.Coupon.md +0 -45
- package/docs/interfaces/internal_.CreditCardInstrument.md +0 -87
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +0 -31
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +0 -31
- package/docs/interfaces/internal_.CssProperties.md +0 -213
- package/docs/interfaces/internal_.CssProperties_2.md +0 -213
- package/docs/interfaces/internal_.Currency.md +0 -38
- package/docs/interfaces/internal_.CustomItem.md +0 -52
- package/docs/interfaces/internal_.Customer.md +0 -93
- package/docs/interfaces/internal_.CustomerAddress.md +0 -184
- package/docs/interfaces/internal_.CustomerCredentials.md +0 -24
- package/docs/interfaces/internal_.CustomerGroup.md +0 -24
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.CustomerRequestOptions.md +0 -62
- package/docs/interfaces/internal_.DigitalItem.md +0 -312
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +0 -69
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +0 -148
- package/docs/interfaces/internal_.Discount.md +0 -24
- package/docs/interfaces/internal_.DisplaySettings.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +0 -31
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +0 -136
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +0 -143
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +0 -17
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +0 -95
- package/docs/interfaces/internal_.FlashMessage.md +0 -31
- package/docs/interfaces/internal_.FormField.md +0 -115
- package/docs/interfaces/internal_.FormFieldItem.md +0 -24
- package/docs/interfaces/internal_.FormFieldOptions.md +0 -31
- package/docs/interfaces/internal_.FormFields.md +0 -31
- package/docs/interfaces/internal_.GatewayOrderPayment.md +0 -110
- package/docs/interfaces/internal_.GiftCertificate.md +0 -45
- package/docs/interfaces/internal_.GiftCertificateItem.md +0 -80
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +0 -96
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +0 -95
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +0 -37
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +0 -38
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.HostedFormOptions.md +0 -116
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +0 -52
- package/docs/interfaces/internal_.HostedInputValidateResults.md +0 -24
- package/docs/interfaces/internal_.HostedInstrument.md +0 -24
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +0 -56
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +0 -24
- package/docs/interfaces/internal_.IbanElementOptions.md +0 -84
- package/docs/interfaces/internal_.IdealElementOptions.md +0 -72
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +0 -38
- package/docs/interfaces/internal_.InitializationStrategy.md +0 -23
- package/docs/interfaces/internal_.InlineElementStyles.md +0 -55
- package/docs/interfaces/internal_.InputDetail.md +0 -82
- package/docs/interfaces/internal_.InputDetail_2.md +0 -82
- package/docs/interfaces/internal_.InputStyles.md +0 -154
- package/docs/interfaces/internal_.Item.md +0 -24
- package/docs/interfaces/internal_.Item_2.md +0 -28
- package/docs/interfaces/internal_.Item_3.md +0 -28
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +0 -30
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +0 -30
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.LabelStyles.md +0 -78
- package/docs/interfaces/internal_.LanguageConfig.md +0 -59
- package/docs/interfaces/internal_.LineItemCategory.md +0 -17
- package/docs/interfaces/internal_.LineItemMap.md +0 -38
- package/docs/interfaces/internal_.LineItemOption.md +0 -38
- package/docs/interfaces/internal_.LineItemSocialData.md +0 -38
- package/docs/interfaces/internal_.LinkStyles.md +0 -92
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +0 -31
- package/docs/interfaces/internal_.Locales.md +0 -9
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +0 -19
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +0 -126
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +0 -59
- package/docs/interfaces/internal_.MonerisStylingProps.md +0 -82
- package/docs/interfaces/internal_.NonceGenerationError.md +0 -31
- package/docs/interfaces/internal_.NonceInstrument.md +0 -38
- package/docs/interfaces/internal_.Option_2.md +0 -24
- package/docs/interfaces/internal_.OptionsResponse.md +0 -79
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.Order.md +0 -199
- package/docs/interfaces/internal_.OrderConsignment.md +0 -17
- package/docs/interfaces/internal_.OrderPayment.md +0 -60
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +0 -41
- package/docs/interfaces/internal_.OrderRequestBody.md +0 -35
- package/docs/interfaces/internal_.OrderShippingConsignment.md +0 -220
- package/docs/interfaces/internal_.PasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.PayPalInstrument.md +0 -93
- package/docs/interfaces/internal_.PaymentMethod.md +0 -100
- package/docs/interfaces/internal_.PaymentMethodConfig.md +0 -122
- package/docs/interfaces/internal_.PaymentRequestOptions.md +0 -69
- package/docs/interfaces/internal_.PaymentSettings.md +0 -24
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -92
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +0 -30
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +0 -35
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +0 -38
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +0 -150
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +0 -188
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +0 -45
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +0 -24
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +0 -38
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +0 -48
- package/docs/interfaces/internal_.PhysicalItem.md +0 -313
- package/docs/interfaces/internal_.PickupMethod.md +0 -45
- package/docs/interfaces/internal_.PickupOptionResult.md +0 -17
- package/docs/interfaces/internal_.Promotion.md +0 -17
- package/docs/interfaces/internal_.Radius.md +0 -24
- package/docs/interfaces/internal_.Region.md +0 -24
- package/docs/interfaces/internal_.SearchArea.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +0 -24
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.ShippingOption.md +0 -66
- package/docs/interfaces/internal_.ShippingRequestOptions.md +0 -67
- package/docs/interfaces/internal_.ShopperConfig.md +0 -31
- package/docs/interfaces/internal_.ShopperCurrency.md +0 -96
- package/docs/interfaces/internal_.SignInEmail.md +0 -24
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +0 -24
- package/docs/interfaces/internal_.SpamProtectionOptions.md +0 -27
- package/docs/interfaces/internal_.SquareFormElement.md +0 -30
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +0 -133
- package/docs/interfaces/internal_.StepStyles.md +0 -122
- package/docs/interfaces/internal_.StepTracker.md +0 -66
- package/docs/interfaces/internal_.StepTrackerConfig.md +0 -17
- package/docs/interfaces/internal_.StoreConfig.md +0 -117
- package/docs/interfaces/internal_.StoreCurrency.md +0 -58
- package/docs/interfaces/internal_.StoreLinks.md +0 -59
- package/docs/interfaces/internal_.StoreProfile.md +0 -73
- package/docs/interfaces/internal_.StripeCustomerEvent.md +0 -76
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +0 -172
- package/docs/interfaces/internal_.StripeElementClasses.md +0 -65
- package/docs/interfaces/internal_.StripeElementStyle.md +0 -46
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +0 -289
- package/docs/interfaces/internal_.StripeEvent.md +0 -39
- package/docs/interfaces/internal_.StripeShippingEvent.md +0 -76
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +0 -94
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +0 -109
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.StyleOptions.md +0 -46
- package/docs/interfaces/internal_.StyleOptions_2.md +0 -46
- package/docs/interfaces/internal_.SubInputDetail.md +0 -64
- package/docs/interfaces/internal_.SubInputDetail_2.md +0 -64
- package/docs/interfaces/internal_.Subscriptions.md +0 -31
- package/docs/interfaces/internal_.Tax.md +0 -24
- package/docs/interfaces/internal_.TextInputStyles.md +0 -177
- package/docs/interfaces/internal_.ThreeDSecure.md +0 -52
- package/docs/interfaces/internal_.ThreeDSecureToken.md +0 -17
- package/docs/interfaces/internal_.TranslationData.md +0 -9
- package/docs/interfaces/internal_.Translations.md +0 -9
- package/docs/interfaces/internal_.UnknownObject.md +0 -9
- package/docs/interfaces/internal_.VaultedInstrument.md +0 -31
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.WechatState.md +0 -17
- package/docs/interfaces/internal_.WechatState_2.md +0 -17
- package/docs/interfaces/internal_.WithAccountCreation.md +0 -17
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +0 -17
- package/docs/interfaces/internal_.WithDocumentInstrument.md +0 -17
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +0 -24
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +0 -17
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreePaypalButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreePaypalButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BraintreePaypalButtonInitializeOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [buyNowInitializeOptions](internal_.BraintreePaypalButtonInitializeOptions.md#buynowinitializeoptions)
|
|
12
|
+
- [currencyCode](internal_.BraintreePaypalButtonInitializeOptions.md#currencycode)
|
|
13
|
+
- [messagingContainerId](internal_.BraintreePaypalButtonInitializeOptions.md#messagingcontainerid)
|
|
14
|
+
- [shippingAddress](internal_.BraintreePaypalButtonInitializeOptions.md#shippingaddress)
|
|
15
|
+
- [style](internal_.BraintreePaypalButtonInitializeOptions.md#style)
|
|
16
|
+
|
|
17
|
+
### Methods
|
|
18
|
+
|
|
19
|
+
- [onAuthorizeError](internal_.BraintreePaypalButtonInitializeOptions.md#onauthorizeerror)
|
|
20
|
+
- [onError](internal_.BraintreePaypalButtonInitializeOptions.md#onerror)
|
|
21
|
+
- [onPaymentError](internal_.BraintreePaypalButtonInitializeOptions.md#onpaymenterror)
|
|
22
|
+
|
|
23
|
+
## Properties
|
|
24
|
+
|
|
25
|
+
### buyNowInitializeOptions
|
|
26
|
+
|
|
27
|
+
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
28
|
+
|
|
29
|
+
The options that are required to initialize Buy Now functionality.
|
|
30
|
+
|
|
31
|
+
#### Type declaration
|
|
32
|
+
|
|
33
|
+
| Name | Type |
|
|
34
|
+
| :------ | :------ |
|
|
35
|
+
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](internal_.BuyNowCartRequestBody.md) |
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### currencyCode
|
|
40
|
+
|
|
41
|
+
• `Optional` **currencyCode**: `string`
|
|
42
|
+
|
|
43
|
+
The option that used to initialize a PayPal script with provided currency code.
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### messagingContainerId
|
|
48
|
+
|
|
49
|
+
• `Optional` **messagingContainerId**: `string`
|
|
50
|
+
|
|
51
|
+
The ID of a container which the messaging should be inserted.
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### shippingAddress
|
|
56
|
+
|
|
57
|
+
• `Optional` **shippingAddress**: ``null`` \| [`Address`](internal_.Address.md)
|
|
58
|
+
|
|
59
|
+
Address to be used for shipping.
|
|
60
|
+
If not provided, it will use the first saved address from the active customer.
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### style
|
|
65
|
+
|
|
66
|
+
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](internal_.PaypalButtonStyleOptions.md), ``"label"`` \| ``"size"`` \| ``"color"`` \| ``"height"`` \| ``"layout"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"``\>
|
|
67
|
+
|
|
68
|
+
A set of styling options for the checkout button.
|
|
69
|
+
|
|
70
|
+
## Methods
|
|
71
|
+
|
|
72
|
+
### onAuthorizeError
|
|
73
|
+
|
|
74
|
+
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
75
|
+
|
|
76
|
+
A callback that gets called if unable to authorize and tokenize payment.
|
|
77
|
+
|
|
78
|
+
#### Parameters
|
|
79
|
+
|
|
80
|
+
| Name | Type | Description |
|
|
81
|
+
| :------ | :------ | :------ |
|
|
82
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
83
|
+
|
|
84
|
+
#### Returns
|
|
85
|
+
|
|
86
|
+
`void`
|
|
87
|
+
|
|
88
|
+
___
|
|
89
|
+
|
|
90
|
+
### onError
|
|
91
|
+
|
|
92
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
93
|
+
|
|
94
|
+
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
95
|
+
|
|
96
|
+
#### Parameters
|
|
97
|
+
|
|
98
|
+
| Name | Type | Description |
|
|
99
|
+
| :------ | :------ | :------ |
|
|
100
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
101
|
+
|
|
102
|
+
#### Returns
|
|
103
|
+
|
|
104
|
+
`void`
|
|
105
|
+
|
|
106
|
+
___
|
|
107
|
+
|
|
108
|
+
### onPaymentError
|
|
109
|
+
|
|
110
|
+
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
111
|
+
|
|
112
|
+
A callback that gets called if unable to submit payment.
|
|
113
|
+
|
|
114
|
+
#### Parameters
|
|
115
|
+
|
|
116
|
+
| Name | Type | Description |
|
|
117
|
+
| :------ | :------ | :------ |
|
|
118
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
119
|
+
|
|
120
|
+
#### Returns
|
|
121
|
+
|
|
122
|
+
`void`
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreePaypalCreditButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreePaypalCreditButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BraintreePaypalCreditButtonInitializeOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [buyNowInitializeOptions](internal_.BraintreePaypalCreditButtonInitializeOptions.md#buynowinitializeoptions)
|
|
12
|
+
- [currencyCode](internal_.BraintreePaypalCreditButtonInitializeOptions.md#currencycode)
|
|
13
|
+
- [shippingAddress](internal_.BraintreePaypalCreditButtonInitializeOptions.md#shippingaddress)
|
|
14
|
+
- [style](internal_.BraintreePaypalCreditButtonInitializeOptions.md#style)
|
|
15
|
+
|
|
16
|
+
### Methods
|
|
17
|
+
|
|
18
|
+
- [onAuthorizeError](internal_.BraintreePaypalCreditButtonInitializeOptions.md#onauthorizeerror)
|
|
19
|
+
- [onError](internal_.BraintreePaypalCreditButtonInitializeOptions.md#onerror)
|
|
20
|
+
- [onPaymentError](internal_.BraintreePaypalCreditButtonInitializeOptions.md#onpaymenterror)
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
### buyNowInitializeOptions
|
|
25
|
+
|
|
26
|
+
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
27
|
+
|
|
28
|
+
The options that are required to initialize Buy Now functionality.
|
|
29
|
+
|
|
30
|
+
#### Type declaration
|
|
31
|
+
|
|
32
|
+
| Name | Type |
|
|
33
|
+
| :------ | :------ |
|
|
34
|
+
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](internal_.BuyNowCartRequestBody.md) |
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### currencyCode
|
|
39
|
+
|
|
40
|
+
• `Optional` **currencyCode**: `string`
|
|
41
|
+
|
|
42
|
+
The option that used to initialize a PayPal script with provided currency code.
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### shippingAddress
|
|
47
|
+
|
|
48
|
+
• `Optional` **shippingAddress**: ``null`` \| [`Address`](internal_.Address.md)
|
|
49
|
+
|
|
50
|
+
Address to be used for shipping.
|
|
51
|
+
If not provided, it will use the first saved address from the active customer.
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### style
|
|
56
|
+
|
|
57
|
+
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](internal_.PaypalButtonStyleOptions.md), ``"label"`` \| ``"size"`` \| ``"color"`` \| ``"height"`` \| ``"layout"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"``\>
|
|
58
|
+
|
|
59
|
+
A set of styling options for the checkout button.
|
|
60
|
+
|
|
61
|
+
## Methods
|
|
62
|
+
|
|
63
|
+
### onAuthorizeError
|
|
64
|
+
|
|
65
|
+
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
66
|
+
|
|
67
|
+
A callback that gets called if unable to authorize and tokenize payment.
|
|
68
|
+
|
|
69
|
+
#### Parameters
|
|
70
|
+
|
|
71
|
+
| Name | Type | Description |
|
|
72
|
+
| :------ | :------ | :------ |
|
|
73
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
74
|
+
|
|
75
|
+
#### Returns
|
|
76
|
+
|
|
77
|
+
`void`
|
|
78
|
+
|
|
79
|
+
___
|
|
80
|
+
|
|
81
|
+
### onError
|
|
82
|
+
|
|
83
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
84
|
+
|
|
85
|
+
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
86
|
+
|
|
87
|
+
#### Parameters
|
|
88
|
+
|
|
89
|
+
| Name | Type | Description |
|
|
90
|
+
| :------ | :------ | :------ |
|
|
91
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
92
|
+
|
|
93
|
+
#### Returns
|
|
94
|
+
|
|
95
|
+
`void`
|
|
96
|
+
|
|
97
|
+
___
|
|
98
|
+
|
|
99
|
+
### onPaymentError
|
|
100
|
+
|
|
101
|
+
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
102
|
+
|
|
103
|
+
A callback that gets called if unable to submit payment.
|
|
104
|
+
|
|
105
|
+
#### Parameters
|
|
106
|
+
|
|
107
|
+
| Name | Type | Description |
|
|
108
|
+
| :------ | :------ | :------ |
|
|
109
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
110
|
+
|
|
111
|
+
#### Returns
|
|
112
|
+
|
|
113
|
+
`void`
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreeVenmoButtonInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreeVenmoButtonInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BraintreeVenmoButtonInitializeOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [buyNowInitializeOptions](internal_.BraintreeVenmoButtonInitializeOptions.md#buynowinitializeoptions)
|
|
12
|
+
- [currencyCode](internal_.BraintreeVenmoButtonInitializeOptions.md#currencycode)
|
|
13
|
+
|
|
14
|
+
### Methods
|
|
15
|
+
|
|
16
|
+
- [onError](internal_.BraintreeVenmoButtonInitializeOptions.md#onerror)
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### buyNowInitializeOptions
|
|
21
|
+
|
|
22
|
+
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
23
|
+
|
|
24
|
+
The options that are required to initialize Buy Now functionality.
|
|
25
|
+
|
|
26
|
+
#### Type declaration
|
|
27
|
+
|
|
28
|
+
| Name | Type |
|
|
29
|
+
| :------ | :------ |
|
|
30
|
+
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](internal_.BuyNowCartRequestBody.md) |
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### currencyCode
|
|
35
|
+
|
|
36
|
+
• `Optional` **currencyCode**: `string`
|
|
37
|
+
|
|
38
|
+
The option that used to initialize a PayPal script with provided currency code.
|
|
39
|
+
|
|
40
|
+
## Methods
|
|
41
|
+
|
|
42
|
+
### onError
|
|
43
|
+
|
|
44
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
45
|
+
|
|
46
|
+
A callback that gets called on any error.
|
|
47
|
+
|
|
48
|
+
#### Parameters
|
|
49
|
+
|
|
50
|
+
| Name | Type | Description |
|
|
51
|
+
| :------ | :------ | :------ |
|
|
52
|
+
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
53
|
+
|
|
54
|
+
#### Returns
|
|
55
|
+
|
|
56
|
+
`void`
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BuyNowCartRequestBody
|
|
2
|
+
|
|
3
|
+
# Interface: BuyNowCartRequestBody
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).BuyNowCartRequestBody
|
|
6
|
+
|
|
7
|
+
An object that contains the information required for creating 'Buy now' cart.
|
|
8
|
+
|
|
9
|
+
## Table of contents
|
|
10
|
+
|
|
11
|
+
### Properties
|
|
12
|
+
|
|
13
|
+
- [lineItems](internal_.BuyNowCartRequestBody.md#lineitems)
|
|
14
|
+
- [source](internal_.BuyNowCartRequestBody.md#source)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### lineItems
|
|
19
|
+
|
|
20
|
+
• **lineItems**: [`LineItem`](internal_.LineItem.md)[]
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### source
|
|
25
|
+
|
|
26
|
+
• **source**: ``"BUY_NOW"``
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / CheckoutButtonInitializerOptions
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonInitializerOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).CheckoutButtonInitializerOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [host](internal_.CheckoutButtonInitializerOptions.md#host)
|
|
12
|
+
- [locale](internal_.CheckoutButtonInitializerOptions.md#locale)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### host
|
|
17
|
+
|
|
18
|
+
• `Optional` **host**: `string`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### locale
|
|
23
|
+
|
|
24
|
+
• `Optional` **locale**: `string`
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / CheckoutButtonOptions
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).CheckoutButtonOptions
|
|
6
|
+
|
|
7
|
+
The set of options for configuring the checkout button.
|
|
8
|
+
|
|
9
|
+
## Hierarchy
|
|
10
|
+
|
|
11
|
+
- [`RequestOptions`](internal_.RequestOptions.md)
|
|
12
|
+
|
|
13
|
+
↳ **`CheckoutButtonOptions`**
|
|
14
|
+
|
|
15
|
+
↳↳ [`BaseCheckoutButtonInitializeOptions`](internal_.BaseCheckoutButtonInitializeOptions.md)
|
|
16
|
+
|
|
17
|
+
## Table of contents
|
|
18
|
+
|
|
19
|
+
### Properties
|
|
20
|
+
|
|
21
|
+
- [methodId](internal_.CheckoutButtonOptions.md#methodid)
|
|
22
|
+
- [params](internal_.CheckoutButtonOptions.md#params)
|
|
23
|
+
- [timeout](internal_.CheckoutButtonOptions.md#timeout)
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
### methodId
|
|
28
|
+
|
|
29
|
+
• **methodId**: [`CheckoutButtonMethodType`](../enums/internal_.CheckoutButtonMethodType.md)
|
|
30
|
+
|
|
31
|
+
The identifier of the payment method.
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### params
|
|
36
|
+
|
|
37
|
+
• `Optional` **params**: `Object`
|
|
38
|
+
|
|
39
|
+
The parameters of the request, if required.
|
|
40
|
+
|
|
41
|
+
#### Inherited from
|
|
42
|
+
|
|
43
|
+
[RequestOptions](internal_.RequestOptions.md).[params](internal_.RequestOptions.md#params)
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### timeout
|
|
48
|
+
|
|
49
|
+
• `Optional` **timeout**: `default`
|
|
50
|
+
|
|
51
|
+
Provide this option if you want to cancel or time out the request. If the
|
|
52
|
+
timeout object completes before the request, the request will be
|
|
53
|
+
cancelled.
|
|
54
|
+
|
|
55
|
+
#### Inherited from
|
|
56
|
+
|
|
57
|
+
[RequestOptions](internal_.RequestOptions.md).[timeout](internal_.RequestOptions.md#timeout)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / CheckoutButtonSelectors
|
|
2
|
+
|
|
3
|
+
# Interface: CheckoutButtonSelectors
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).CheckoutButtonSelectors
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [errors](internal_.CheckoutButtonSelectors.md#errors)
|
|
12
|
+
- [statuses](internal_.CheckoutButtonSelectors.md#statuses)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### errors
|
|
17
|
+
|
|
18
|
+
• **errors**: [`CheckoutButtonErrorSelector`](../classes/internal_.CheckoutButtonErrorSelector.md)
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### statuses
|
|
23
|
+
|
|
24
|
+
• **statuses**: [`CheckoutButtonStatusSelector`](../classes/internal_.CheckoutButtonStatusSelector.md)
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) /
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / GooglePayButtonInitializeOptions
|
|
2
2
|
|
|
3
|
-
# Interface:
|
|
3
|
+
# Interface: GooglePayButtonInitializeOptions
|
|
4
4
|
|
|
5
|
-
[<internal>](../modules/internal_.md).
|
|
5
|
+
[<internal>](../modules/internal_.md).GooglePayButtonInitializeOptions
|
|
6
6
|
|
|
7
7
|
## Table of contents
|
|
8
8
|
|
|
9
9
|
### Properties
|
|
10
10
|
|
|
11
|
-
- [buttonColor](internal_.
|
|
12
|
-
- [buttonType](internal_.
|
|
13
|
-
- [container](internal_.GooglePayCustomerInitializeOptions.md#container)
|
|
11
|
+
- [buttonColor](internal_.GooglePayButtonInitializeOptions.md#buttoncolor)
|
|
12
|
+
- [buttonType](internal_.GooglePayButtonInitializeOptions.md#buttontype)
|
|
14
13
|
|
|
15
14
|
## Properties
|
|
16
15
|
|
|
@@ -32,13 +31,3 @@ The size of the GooglePay button that will be inserted.
|
|
|
32
31
|
long: "Buy with Google Pay" button (default). A translated button label may appear
|
|
33
32
|
if a language specified in the viewer's browser matches an available language.
|
|
34
33
|
short: Google Pay payment button without the "Buy with" text.
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### container
|
|
39
|
-
|
|
40
|
-
• **container**: `string`
|
|
41
|
-
|
|
42
|
-
This container is used to set an event listener, provide an element ID if you want
|
|
43
|
-
users to be able to launch the GooglePay wallet modal by clicking on a button.
|
|
44
|
-
It should be an HTML element.
|
|
@@ -4,151 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
[<internal>](../modules/internal_.md).LineItem
|
|
6
6
|
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- **`LineItem`**
|
|
10
|
-
|
|
11
|
-
↳ [`PhysicalItem`](internal_.PhysicalItem.md)
|
|
12
|
-
|
|
13
|
-
↳ [`DigitalItem`](internal_.DigitalItem.md)
|
|
14
|
-
|
|
15
7
|
## Table of contents
|
|
16
8
|
|
|
17
9
|
### Properties
|
|
18
10
|
|
|
19
|
-
- [
|
|
20
|
-
- [brand](internal_.LineItem.md#brand)
|
|
21
|
-
- [categories](internal_.LineItem.md#categories)
|
|
22
|
-
- [categoryNames](internal_.LineItem.md#categorynames)
|
|
23
|
-
- [comparisonPrice](internal_.LineItem.md#comparisonprice)
|
|
24
|
-
- [couponAmount](internal_.LineItem.md#couponamount)
|
|
25
|
-
- [discountAmount](internal_.LineItem.md#discountamount)
|
|
26
|
-
- [discounts](internal_.LineItem.md#discounts)
|
|
27
|
-
- [extendedComparisonPrice](internal_.LineItem.md#extendedcomparisonprice)
|
|
28
|
-
- [extendedListPrice](internal_.LineItem.md#extendedlistprice)
|
|
29
|
-
- [extendedSalePrice](internal_.LineItem.md#extendedsaleprice)
|
|
30
|
-
- [id](internal_.LineItem.md#id)
|
|
31
|
-
- [imageUrl](internal_.LineItem.md#imageurl)
|
|
32
|
-
- [isTaxable](internal_.LineItem.md#istaxable)
|
|
33
|
-
- [listPrice](internal_.LineItem.md#listprice)
|
|
34
|
-
- [name](internal_.LineItem.md#name)
|
|
35
|
-
- [options](internal_.LineItem.md#options)
|
|
36
|
-
- [parentId](internal_.LineItem.md#parentid)
|
|
11
|
+
- [optionSelections](internal_.LineItem.md#optionselections)
|
|
37
12
|
- [productId](internal_.LineItem.md#productid)
|
|
38
13
|
- [quantity](internal_.LineItem.md#quantity)
|
|
39
|
-
- [salePrice](internal_.LineItem.md#saleprice)
|
|
40
|
-
- [sku](internal_.LineItem.md#sku)
|
|
41
|
-
- [socialMedia](internal_.LineItem.md#socialmedia)
|
|
42
|
-
- [url](internal_.LineItem.md#url)
|
|
43
|
-
- [variantId](internal_.LineItem.md#variantid)
|
|
44
14
|
|
|
45
15
|
## Properties
|
|
46
16
|
|
|
47
|
-
###
|
|
48
|
-
|
|
49
|
-
• **addedByPromotion**: `boolean`
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### brand
|
|
54
|
-
|
|
55
|
-
• **brand**: `string`
|
|
56
|
-
|
|
57
|
-
___
|
|
58
|
-
|
|
59
|
-
### categories
|
|
60
|
-
|
|
61
|
-
• `Optional` **categories**: [`LineItemCategory`](internal_.LineItemCategory.md)[][]
|
|
62
|
-
|
|
63
|
-
___
|
|
64
|
-
|
|
65
|
-
### categoryNames
|
|
66
|
-
|
|
67
|
-
• `Optional` **categoryNames**: `string`[]
|
|
68
|
-
|
|
69
|
-
___
|
|
70
|
-
|
|
71
|
-
### comparisonPrice
|
|
72
|
-
|
|
73
|
-
• **comparisonPrice**: `number`
|
|
74
|
-
|
|
75
|
-
___
|
|
76
|
-
|
|
77
|
-
### couponAmount
|
|
78
|
-
|
|
79
|
-
• **couponAmount**: `number`
|
|
80
|
-
|
|
81
|
-
___
|
|
82
|
-
|
|
83
|
-
### discountAmount
|
|
84
|
-
|
|
85
|
-
• **discountAmount**: `number`
|
|
86
|
-
|
|
87
|
-
___
|
|
88
|
-
|
|
89
|
-
### discounts
|
|
90
|
-
|
|
91
|
-
• **discounts**: { `discountedAmount`: `number` ; `name`: `string` }[]
|
|
92
|
-
|
|
93
|
-
___
|
|
94
|
-
|
|
95
|
-
### extendedComparisonPrice
|
|
96
|
-
|
|
97
|
-
• **extendedComparisonPrice**: `number`
|
|
98
|
-
|
|
99
|
-
___
|
|
100
|
-
|
|
101
|
-
### extendedListPrice
|
|
102
|
-
|
|
103
|
-
• **extendedListPrice**: `number`
|
|
104
|
-
|
|
105
|
-
___
|
|
106
|
-
|
|
107
|
-
### extendedSalePrice
|
|
108
|
-
|
|
109
|
-
• **extendedSalePrice**: `number`
|
|
17
|
+
### optionSelections
|
|
110
18
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
### id
|
|
114
|
-
|
|
115
|
-
• **id**: `string` \| `number`
|
|
116
|
-
|
|
117
|
-
___
|
|
118
|
-
|
|
119
|
-
### imageUrl
|
|
19
|
+
• `Optional` **optionSelections**: `Object`
|
|
120
20
|
|
|
121
|
-
|
|
21
|
+
#### Type declaration
|
|
122
22
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
• **isTaxable**: `boolean`
|
|
128
|
-
|
|
129
|
-
___
|
|
130
|
-
|
|
131
|
-
### listPrice
|
|
132
|
-
|
|
133
|
-
• **listPrice**: `number`
|
|
134
|
-
|
|
135
|
-
___
|
|
136
|
-
|
|
137
|
-
### name
|
|
138
|
-
|
|
139
|
-
• **name**: `string`
|
|
140
|
-
|
|
141
|
-
___
|
|
142
|
-
|
|
143
|
-
### options
|
|
144
|
-
|
|
145
|
-
• `Optional` **options**: [`LineItemOption`](internal_.LineItemOption.md)[]
|
|
146
|
-
|
|
147
|
-
___
|
|
148
|
-
|
|
149
|
-
### parentId
|
|
150
|
-
|
|
151
|
-
• `Optional` **parentId**: ``null`` \| `string`
|
|
23
|
+
| Name | Type |
|
|
24
|
+
| :------ | :------ |
|
|
25
|
+
| `optionId` | `number` |
|
|
26
|
+
| `optionValue` | `string` \| `number` |
|
|
152
27
|
|
|
153
28
|
___
|
|
154
29
|
|
|
@@ -161,33 +36,3 @@ ___
|
|
|
161
36
|
### quantity
|
|
162
37
|
|
|
163
38
|
• **quantity**: `number`
|
|
164
|
-
|
|
165
|
-
___
|
|
166
|
-
|
|
167
|
-
### salePrice
|
|
168
|
-
|
|
169
|
-
• **salePrice**: `number`
|
|
170
|
-
|
|
171
|
-
___
|
|
172
|
-
|
|
173
|
-
### sku
|
|
174
|
-
|
|
175
|
-
• **sku**: `string`
|
|
176
|
-
|
|
177
|
-
___
|
|
178
|
-
|
|
179
|
-
### socialMedia
|
|
180
|
-
|
|
181
|
-
• `Optional` **socialMedia**: [`LineItemSocialData`](internal_.LineItemSocialData.md)[]
|
|
182
|
-
|
|
183
|
-
___
|
|
184
|
-
|
|
185
|
-
### url
|
|
186
|
-
|
|
187
|
-
• **url**: `string`
|
|
188
|
-
|
|
189
|
-
___
|
|
190
|
-
|
|
191
|
-
### variantId
|
|
192
|
-
|
|
193
|
-
• **variantId**: `number`
|