@bigcommerce/checkout-sdk 1.308.2 → 1.308.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +16 -158
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +54 -0
- package/docs/classes/internal_.CheckoutButtonInitializer.md +179 -0
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +54 -0
- package/docs/classes/internal_.StandardError.md +0 -4
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +31 -0
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +59 -0
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +38 -0
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +28 -0
- package/docs/enums/internal_.AmazonPayV2Placement.md +55 -0
- package/docs/enums/internal_.CheckoutButtonMethodType.md +164 -0
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +38 -0
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +45 -0
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +38 -0
- package/docs/enums/internal_.StyleButtonColor.md +45 -0
- package/docs/enums/internal_.StyleButtonLabel.md +45 -0
- package/docs/enums/internal_.StyleButtonLayout.md +24 -0
- package/docs/enums/internal_.StyleButtonShape.md +24 -0
- package/docs/interfaces/internal_.Address.md +0 -4
- package/docs/interfaces/internal_.AddressRequestBody.md +0 -2
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +82 -0
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +117 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +37 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +38 -0
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +139 -0
- package/docs/interfaces/internal_.AmazonPayV2Price.md +28 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +40 -0
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +291 -0
- package/docs/interfaces/internal_.BraintreeError.md +37 -0
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +122 -0
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +113 -0
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +56 -0
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +26 -0
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +24 -0
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +57 -0
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +24 -0
- package/docs/interfaces/{internal_.GooglePayCustomerInitializeOptions.md → internal_.GooglePayButtonInitializeOptions.md} +5 -16
- package/docs/interfaces/internal_.LineItem.md +8 -163
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +66 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +69 -0
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +61 -0
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +68 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +77 -0
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +58 -0
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +52 -0
- package/docs/interfaces/internal_.RequestOptions.md +1 -5
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +17 -0
- package/docs/modules/internal_.md +51 -515
- package/package.json +1 -1
- package/docs/classes/internal_.CartChangedError.md +0 -62
- package/docs/classes/internal_.CheckoutService.md +0 -1528
- package/docs/classes/internal_.CurrencyService.md +0 -56
- package/docs/classes/internal_.EmbeddedCheckout.md +0 -42
- package/docs/classes/internal_.LanguageService.md +0 -103
- package/docs/classes/internal_.RequestError.md +0 -108
- package/docs/enums/internal_.AdyenV2CardFields.md +0 -31
- package/docs/enums/internal_.AdyenV3CardFields.md +0 -31
- package/docs/enums/internal_.CheckoutIncludes.md +0 -31
- package/docs/enums/internal_.HostedFieldType.md +0 -52
- package/docs/enums/internal_.IconStyle.md +0 -24
- package/docs/enums/internal_.RadiusUnit.md +0 -24
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +0 -70
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +0 -68
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +0 -108
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +0 -108
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +0 -35
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +0 -42
- package/docs/interfaces/internal_.AdyenComponent.md +0 -74
- package/docs/interfaces/internal_.AdyenComponentEvents.md +0 -76
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +0 -76
- package/docs/interfaces/internal_.AdyenComponent_2.md +0 -74
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +0 -187
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +0 -19
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +0 -23
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +0 -35
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +0 -35
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +0 -99
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +0 -162
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +0 -59
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +0 -198
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +0 -137
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +0 -59
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +0 -67
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +0 -32
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +0 -102
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +0 -87
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +0 -26
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +0 -28
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +0 -27
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +0 -79
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.BankInstrument.md +0 -114
- package/docs/interfaces/internal_.Banner.md +0 -24
- package/docs/interfaces/internal_.BaseAccountInstrument.md +0 -93
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +0 -237
- package/docs/interfaces/internal_.BaseElementOptions.md +0 -28
- package/docs/interfaces/internal_.BaseElementOptions_2.md +0 -50
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +0 -69
- package/docs/interfaces/internal_.BaseInstrument.md +0 -60
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +0 -376
- package/docs/interfaces/internal_.BillingAddress.md +0 -184
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +0 -155
- package/docs/interfaces/internal_.BlockElementStyles.md +0 -107
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +0 -31
- package/docs/interfaces/internal_.BodlEventsPayload.md +0 -9
- package/docs/interfaces/internal_.BodlService.md +0 -172
- package/docs/interfaces/internal_.BodyStyles.md +0 -17
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +0 -96
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +0 -91
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +0 -53
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +0 -53
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.BrowserInfo.md +0 -52
- package/docs/interfaces/internal_.ButtonResponse.md +0 -21
- package/docs/interfaces/internal_.ButtonStyles.md +0 -143
- package/docs/interfaces/internal_.CardCvcElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.CardElementOptions.md +0 -93
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardInstrument.md +0 -117
- package/docs/interfaces/internal_.CardNumberElementOptions.md +0 -90
- package/docs/interfaces/internal_.CardPaymentMethodState.md +0 -62
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +0 -45
- package/docs/interfaces/internal_.CardState.md +0 -42
- package/docs/interfaces/internal_.CardStateErrors.md +0 -9
- package/docs/interfaces/internal_.CardStateErrors_2.md +0 -9
- package/docs/interfaces/internal_.CardState_2.md +0 -42
- package/docs/interfaces/internal_.Cart.md +0 -108
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.CheckableInputStyles.md +0 -177
- package/docs/interfaces/internal_.ChecklistStyles.md +0 -129
- package/docs/interfaces/internal_.Checkout.md +0 -204
- package/docs/interfaces/internal_.CheckoutParams.md +0 -17
- package/docs/interfaces/internal_.CheckoutPayment.md +0 -44
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +0 -17
- package/docs/interfaces/internal_.CheckoutRequestBody.md +0 -17
- package/docs/interfaces/internal_.CheckoutSelectors.md +0 -31
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +0 -38
- package/docs/interfaces/internal_.CheckoutSettings.md +0 -203
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +0 -638
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +0 -503
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +0 -760
- package/docs/interfaces/internal_.Consignment.md +0 -73
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +0 -38
- package/docs/interfaces/internal_.ConsignmentLineItem.md +0 -24
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +0 -17
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +0 -45
- package/docs/interfaces/internal_.Coordinates.md +0 -24
- package/docs/interfaces/internal_.Country.md +0 -45
- package/docs/interfaces/internal_.Coupon.md +0 -45
- package/docs/interfaces/internal_.CreditCardInstrument.md +0 -87
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +0 -31
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +0 -31
- package/docs/interfaces/internal_.CssProperties.md +0 -213
- package/docs/interfaces/internal_.CssProperties_2.md +0 -213
- package/docs/interfaces/internal_.Currency.md +0 -38
- package/docs/interfaces/internal_.CustomItem.md +0 -52
- package/docs/interfaces/internal_.Customer.md +0 -93
- package/docs/interfaces/internal_.CustomerAddress.md +0 -184
- package/docs/interfaces/internal_.CustomerCredentials.md +0 -24
- package/docs/interfaces/internal_.CustomerGroup.md +0 -24
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.CustomerRequestOptions.md +0 -62
- package/docs/interfaces/internal_.DigitalItem.md +0 -312
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +0 -69
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +0 -148
- package/docs/interfaces/internal_.Discount.md +0 -24
- package/docs/interfaces/internal_.DisplaySettings.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +0 -31
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +0 -136
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +0 -143
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +0 -17
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +0 -95
- package/docs/interfaces/internal_.FlashMessage.md +0 -31
- package/docs/interfaces/internal_.FormField.md +0 -115
- package/docs/interfaces/internal_.FormFieldItem.md +0 -24
- package/docs/interfaces/internal_.FormFieldOptions.md +0 -31
- package/docs/interfaces/internal_.FormFields.md +0 -31
- package/docs/interfaces/internal_.GatewayOrderPayment.md +0 -110
- package/docs/interfaces/internal_.GiftCertificate.md +0 -45
- package/docs/interfaces/internal_.GiftCertificateItem.md +0 -80
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +0 -96
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +0 -95
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +0 -37
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +0 -38
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.HostedFormOptions.md +0 -116
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +0 -52
- package/docs/interfaces/internal_.HostedInputValidateResults.md +0 -24
- package/docs/interfaces/internal_.HostedInstrument.md +0 -24
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +0 -56
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +0 -24
- package/docs/interfaces/internal_.IbanElementOptions.md +0 -84
- package/docs/interfaces/internal_.IdealElementOptions.md +0 -72
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +0 -38
- package/docs/interfaces/internal_.InitializationStrategy.md +0 -23
- package/docs/interfaces/internal_.InlineElementStyles.md +0 -55
- package/docs/interfaces/internal_.InputDetail.md +0 -82
- package/docs/interfaces/internal_.InputDetail_2.md +0 -82
- package/docs/interfaces/internal_.InputStyles.md +0 -154
- package/docs/interfaces/internal_.Item.md +0 -24
- package/docs/interfaces/internal_.Item_2.md +0 -28
- package/docs/interfaces/internal_.Item_3.md +0 -28
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +0 -30
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +0 -30
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.LabelStyles.md +0 -78
- package/docs/interfaces/internal_.LanguageConfig.md +0 -59
- package/docs/interfaces/internal_.LineItemCategory.md +0 -17
- package/docs/interfaces/internal_.LineItemMap.md +0 -38
- package/docs/interfaces/internal_.LineItemOption.md +0 -38
- package/docs/interfaces/internal_.LineItemSocialData.md +0 -38
- package/docs/interfaces/internal_.LinkStyles.md +0 -92
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +0 -31
- package/docs/interfaces/internal_.Locales.md +0 -9
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +0 -19
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +0 -126
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +0 -59
- package/docs/interfaces/internal_.MonerisStylingProps.md +0 -82
- package/docs/interfaces/internal_.NonceGenerationError.md +0 -31
- package/docs/interfaces/internal_.NonceInstrument.md +0 -38
- package/docs/interfaces/internal_.Option_2.md +0 -24
- package/docs/interfaces/internal_.OptionsResponse.md +0 -79
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.Order.md +0 -199
- package/docs/interfaces/internal_.OrderConsignment.md +0 -17
- package/docs/interfaces/internal_.OrderPayment.md +0 -60
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +0 -41
- package/docs/interfaces/internal_.OrderRequestBody.md +0 -35
- package/docs/interfaces/internal_.OrderShippingConsignment.md +0 -220
- package/docs/interfaces/internal_.PasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.PayPalInstrument.md +0 -93
- package/docs/interfaces/internal_.PaymentMethod.md +0 -100
- package/docs/interfaces/internal_.PaymentMethodConfig.md +0 -122
- package/docs/interfaces/internal_.PaymentRequestOptions.md +0 -69
- package/docs/interfaces/internal_.PaymentSettings.md +0 -24
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -92
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +0 -30
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +0 -35
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +0 -38
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +0 -150
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +0 -188
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +0 -45
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +0 -24
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +0 -38
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +0 -48
- package/docs/interfaces/internal_.PhysicalItem.md +0 -313
- package/docs/interfaces/internal_.PickupMethod.md +0 -45
- package/docs/interfaces/internal_.PickupOptionResult.md +0 -17
- package/docs/interfaces/internal_.Promotion.md +0 -17
- package/docs/interfaces/internal_.Radius.md +0 -24
- package/docs/interfaces/internal_.Region.md +0 -24
- package/docs/interfaces/internal_.SearchArea.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +0 -24
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.ShippingOption.md +0 -66
- package/docs/interfaces/internal_.ShippingRequestOptions.md +0 -67
- package/docs/interfaces/internal_.ShopperConfig.md +0 -31
- package/docs/interfaces/internal_.ShopperCurrency.md +0 -96
- package/docs/interfaces/internal_.SignInEmail.md +0 -24
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +0 -24
- package/docs/interfaces/internal_.SpamProtectionOptions.md +0 -27
- package/docs/interfaces/internal_.SquareFormElement.md +0 -30
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +0 -133
- package/docs/interfaces/internal_.StepStyles.md +0 -122
- package/docs/interfaces/internal_.StepTracker.md +0 -66
- package/docs/interfaces/internal_.StepTrackerConfig.md +0 -17
- package/docs/interfaces/internal_.StoreConfig.md +0 -117
- package/docs/interfaces/internal_.StoreCurrency.md +0 -58
- package/docs/interfaces/internal_.StoreLinks.md +0 -59
- package/docs/interfaces/internal_.StoreProfile.md +0 -73
- package/docs/interfaces/internal_.StripeCustomerEvent.md +0 -76
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +0 -172
- package/docs/interfaces/internal_.StripeElementClasses.md +0 -65
- package/docs/interfaces/internal_.StripeElementStyle.md +0 -46
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +0 -289
- package/docs/interfaces/internal_.StripeEvent.md +0 -39
- package/docs/interfaces/internal_.StripeShippingEvent.md +0 -76
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +0 -94
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +0 -109
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.StyleOptions.md +0 -46
- package/docs/interfaces/internal_.StyleOptions_2.md +0 -46
- package/docs/interfaces/internal_.SubInputDetail.md +0 -64
- package/docs/interfaces/internal_.SubInputDetail_2.md +0 -64
- package/docs/interfaces/internal_.Subscriptions.md +0 -31
- package/docs/interfaces/internal_.Tax.md +0 -24
- package/docs/interfaces/internal_.TextInputStyles.md +0 -177
- package/docs/interfaces/internal_.ThreeDSecure.md +0 -52
- package/docs/interfaces/internal_.ThreeDSecureToken.md +0 -17
- package/docs/interfaces/internal_.TranslationData.md +0 -9
- package/docs/interfaces/internal_.Translations.md +0 -9
- package/docs/interfaces/internal_.UnknownObject.md +0 -9
- package/docs/interfaces/internal_.VaultedInstrument.md +0 -31
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.WechatState.md +0 -17
- package/docs/interfaces/internal_.WechatState_2.md +0 -17
- package/docs/interfaces/internal_.WithAccountCreation.md +0 -17
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +0 -17
- package/docs/interfaces/internal_.WithDocumentInstrument.md +0 -17
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +0 -24
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +0 -17
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BodlService
|
|
2
|
-
|
|
3
|
-
# Interface: BodlService
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BodlService
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Methods
|
|
10
|
-
|
|
11
|
-
- [checkoutBegin](internal_.BodlService.md#checkoutbegin)
|
|
12
|
-
- [clickPayButton](internal_.BodlService.md#clickpaybutton)
|
|
13
|
-
- [customerEmailEntry](internal_.BodlService.md#customeremailentry)
|
|
14
|
-
- [customerPaymentMethodExecuted](internal_.BodlService.md#customerpaymentmethodexecuted)
|
|
15
|
-
- [customerSuggestionExecute](internal_.BodlService.md#customersuggestionexecute)
|
|
16
|
-
- [exitCheckout](internal_.BodlService.md#exitcheckout)
|
|
17
|
-
- [orderPurchased](internal_.BodlService.md#orderpurchased)
|
|
18
|
-
- [paymentComplete](internal_.BodlService.md#paymentcomplete)
|
|
19
|
-
- [paymentRejected](internal_.BodlService.md#paymentrejected)
|
|
20
|
-
- [selectedPaymentMethod](internal_.BodlService.md#selectedpaymentmethod)
|
|
21
|
-
- [showShippingMethods](internal_.BodlService.md#showshippingmethods)
|
|
22
|
-
- [stepCompleted](internal_.BodlService.md#stepcompleted)
|
|
23
|
-
|
|
24
|
-
## Methods
|
|
25
|
-
|
|
26
|
-
### checkoutBegin
|
|
27
|
-
|
|
28
|
-
▸ **checkoutBegin**(): `void`
|
|
29
|
-
|
|
30
|
-
#### Returns
|
|
31
|
-
|
|
32
|
-
`void`
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### clickPayButton
|
|
37
|
-
|
|
38
|
-
▸ **clickPayButton**(`payload?`): `void`
|
|
39
|
-
|
|
40
|
-
#### Parameters
|
|
41
|
-
|
|
42
|
-
| Name | Type |
|
|
43
|
-
| :------ | :------ |
|
|
44
|
-
| `payload?` | [`BodlEventsPayload`](internal_.BodlEventsPayload.md) |
|
|
45
|
-
|
|
46
|
-
#### Returns
|
|
47
|
-
|
|
48
|
-
`void`
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### customerEmailEntry
|
|
53
|
-
|
|
54
|
-
▸ **customerEmailEntry**(`email?`): `void`
|
|
55
|
-
|
|
56
|
-
#### Parameters
|
|
57
|
-
|
|
58
|
-
| Name | Type |
|
|
59
|
-
| :------ | :------ |
|
|
60
|
-
| `email?` | `string` |
|
|
61
|
-
|
|
62
|
-
#### Returns
|
|
63
|
-
|
|
64
|
-
`void`
|
|
65
|
-
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### customerPaymentMethodExecuted
|
|
69
|
-
|
|
70
|
-
▸ **customerPaymentMethodExecuted**(`payload?`): `void`
|
|
71
|
-
|
|
72
|
-
#### Parameters
|
|
73
|
-
|
|
74
|
-
| Name | Type |
|
|
75
|
-
| :------ | :------ |
|
|
76
|
-
| `payload?` | [`BodlEventsPayload`](internal_.BodlEventsPayload.md) |
|
|
77
|
-
|
|
78
|
-
#### Returns
|
|
79
|
-
|
|
80
|
-
`void`
|
|
81
|
-
|
|
82
|
-
___
|
|
83
|
-
|
|
84
|
-
### customerSuggestionExecute
|
|
85
|
-
|
|
86
|
-
▸ **customerSuggestionExecute**(): `void`
|
|
87
|
-
|
|
88
|
-
#### Returns
|
|
89
|
-
|
|
90
|
-
`void`
|
|
91
|
-
|
|
92
|
-
___
|
|
93
|
-
|
|
94
|
-
### exitCheckout
|
|
95
|
-
|
|
96
|
-
▸ **exitCheckout**(): `void`
|
|
97
|
-
|
|
98
|
-
#### Returns
|
|
99
|
-
|
|
100
|
-
`void`
|
|
101
|
-
|
|
102
|
-
___
|
|
103
|
-
|
|
104
|
-
### orderPurchased
|
|
105
|
-
|
|
106
|
-
▸ **orderPurchased**(): `void`
|
|
107
|
-
|
|
108
|
-
#### Returns
|
|
109
|
-
|
|
110
|
-
`void`
|
|
111
|
-
|
|
112
|
-
___
|
|
113
|
-
|
|
114
|
-
### paymentComplete
|
|
115
|
-
|
|
116
|
-
▸ **paymentComplete**(): `void`
|
|
117
|
-
|
|
118
|
-
#### Returns
|
|
119
|
-
|
|
120
|
-
`void`
|
|
121
|
-
|
|
122
|
-
___
|
|
123
|
-
|
|
124
|
-
### paymentRejected
|
|
125
|
-
|
|
126
|
-
▸ **paymentRejected**(): `void`
|
|
127
|
-
|
|
128
|
-
#### Returns
|
|
129
|
-
|
|
130
|
-
`void`
|
|
131
|
-
|
|
132
|
-
___
|
|
133
|
-
|
|
134
|
-
### selectedPaymentMethod
|
|
135
|
-
|
|
136
|
-
▸ **selectedPaymentMethod**(`methodName?`): `void`
|
|
137
|
-
|
|
138
|
-
#### Parameters
|
|
139
|
-
|
|
140
|
-
| Name | Type |
|
|
141
|
-
| :------ | :------ |
|
|
142
|
-
| `methodName?` | `string` |
|
|
143
|
-
|
|
144
|
-
#### Returns
|
|
145
|
-
|
|
146
|
-
`void`
|
|
147
|
-
|
|
148
|
-
___
|
|
149
|
-
|
|
150
|
-
### showShippingMethods
|
|
151
|
-
|
|
152
|
-
▸ **showShippingMethods**(): `void`
|
|
153
|
-
|
|
154
|
-
#### Returns
|
|
155
|
-
|
|
156
|
-
`void`
|
|
157
|
-
|
|
158
|
-
___
|
|
159
|
-
|
|
160
|
-
### stepCompleted
|
|
161
|
-
|
|
162
|
-
▸ **stepCompleted**(`step?`): `void`
|
|
163
|
-
|
|
164
|
-
#### Parameters
|
|
165
|
-
|
|
166
|
-
| Name | Type |
|
|
167
|
-
| :------ | :------ |
|
|
168
|
-
| `step?` | `string` |
|
|
169
|
-
|
|
170
|
-
#### Returns
|
|
171
|
-
|
|
172
|
-
`void`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BodyStyles
|
|
2
|
-
|
|
3
|
-
# Interface: BodyStyles
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BodyStyles
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [backgroundColor](internal_.BodyStyles.md#backgroundcolor)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### backgroundColor
|
|
16
|
-
|
|
17
|
-
• `Optional` **backgroundColor**: `string`
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BoltCustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BoltCustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BoltCustomerInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize the customer step of
|
|
8
|
-
checkout to support Bolt.
|
|
9
|
-
|
|
10
|
-
## Table of contents
|
|
11
|
-
|
|
12
|
-
### Methods
|
|
13
|
-
|
|
14
|
-
- [onInit](internal_.BoltCustomerInitializeOptions.md#oninit)
|
|
15
|
-
|
|
16
|
-
## Methods
|
|
17
|
-
|
|
18
|
-
### onInit
|
|
19
|
-
|
|
20
|
-
▸ `Optional` **onInit**(`hasBoltAccount`): `void`
|
|
21
|
-
|
|
22
|
-
A callback that gets called on initialize the strategy
|
|
23
|
-
|
|
24
|
-
#### Parameters
|
|
25
|
-
|
|
26
|
-
| Name | Type | Description |
|
|
27
|
-
| :------ | :------ | :------ |
|
|
28
|
-
| `hasBoltAccount` | `boolean` | The hasBoltAccount variable handle the result of checking user account availability on Bolt. |
|
|
29
|
-
|
|
30
|
-
#### Returns
|
|
31
|
-
|
|
32
|
-
`void`
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BoltPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BoltPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BoltPaymentInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize the Bolt payment method with:
|
|
8
|
-
|
|
9
|
-
1) Bolt Full Checkout:
|
|
10
|
-
|
|
11
|
-
If the customer chooses to pay with Bolt, he will be asked to
|
|
12
|
-
enter his payment details via Bolt Full Checkout.
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
service.initializePayment({
|
|
16
|
-
methodId: 'bolt',
|
|
17
|
-
});
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2) Bolt Client:
|
|
21
|
-
|
|
22
|
-
If the customer chooses to pay with Bolt in payment section of Checkout page,
|
|
23
|
-
the Bolt Payment Modal will be shown, and the customer will be asked
|
|
24
|
-
to enter payment details via Bolt Modal
|
|
25
|
-
|
|
26
|
-
```js
|
|
27
|
-
service.initializePayment({
|
|
28
|
-
methodId: 'bolt',
|
|
29
|
-
bolt: {
|
|
30
|
-
useBigCommerceCheckout: true,
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
3) Bolt Embedded:
|
|
36
|
-
|
|
37
|
-
A set of options that are required to initialize the Bolt payment method
|
|
38
|
-
for presenting its credit card form.
|
|
39
|
-
|
|
40
|
-
```html
|
|
41
|
-
<!-- These containers are where the hosted (iframed) credit card field will be inserted -->
|
|
42
|
-
<div id="bolt-embedded"></div>
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
```js
|
|
46
|
-
service.initializePayment({
|
|
47
|
-
methodId: 'bolt',
|
|
48
|
-
bolt: {
|
|
49
|
-
useBigCommerceCheckout: true,
|
|
50
|
-
containerId: 'boltEmbeddedContainerId',
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Table of contents
|
|
56
|
-
|
|
57
|
-
### Properties
|
|
58
|
-
|
|
59
|
-
- [containerId](internal_.BoltPaymentInitializeOptions.md#containerid)
|
|
60
|
-
- [useBigCommerceCheckout](internal_.BoltPaymentInitializeOptions.md#usebigcommercecheckout)
|
|
61
|
-
|
|
62
|
-
### Methods
|
|
63
|
-
|
|
64
|
-
- [onPaymentSelect](internal_.BoltPaymentInitializeOptions.md#onpaymentselect)
|
|
65
|
-
|
|
66
|
-
## Properties
|
|
67
|
-
|
|
68
|
-
### containerId
|
|
69
|
-
|
|
70
|
-
• `Optional` **containerId**: `string`
|
|
71
|
-
|
|
72
|
-
The CSS selector of a container where the Bolt Embedded payment field should be inserted into.
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### useBigCommerceCheckout
|
|
77
|
-
|
|
78
|
-
• **useBigCommerceCheckout**: `boolean`
|
|
79
|
-
|
|
80
|
-
## Methods
|
|
81
|
-
|
|
82
|
-
### onPaymentSelect
|
|
83
|
-
|
|
84
|
-
▸ `Optional` **onPaymentSelect**(`hasBoltAccount`): `void`
|
|
85
|
-
|
|
86
|
-
A callback that gets called when the customer selects Bolt as payment option.
|
|
87
|
-
|
|
88
|
-
#### Parameters
|
|
89
|
-
|
|
90
|
-
| Name | Type |
|
|
91
|
-
| :------ | :------ |
|
|
92
|
-
| `hasBoltAccount` | `boolean` |
|
|
93
|
-
|
|
94
|
-
#### Returns
|
|
95
|
-
|
|
96
|
-
`void`
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreePaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreePaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreePaymentInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize the Braintree payment
|
|
8
|
-
method. You need to provide the options if you want to support 3D Secure
|
|
9
|
-
authentication flow.
|
|
10
|
-
|
|
11
|
-
```html
|
|
12
|
-
<!-- These containers are where the hosted (iframed) credit card fields will be inserted -->
|
|
13
|
-
<div id="card-number"></div>
|
|
14
|
-
<div id="card-name"></div>
|
|
15
|
-
<div id="card-expiry"></div>
|
|
16
|
-
<div id="card-code"></div>
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
service.initializePayment({
|
|
21
|
-
methodId: 'braintree',
|
|
22
|
-
braintree: {
|
|
23
|
-
form: {
|
|
24
|
-
fields: {
|
|
25
|
-
cardNumber: { containerId: 'card-number' },
|
|
26
|
-
cardName: { containerId: 'card-name' },
|
|
27
|
-
cardExpiry: { containerId: 'card-expiry' },
|
|
28
|
-
cardCode: { containerId: 'card-code' },
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
});
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Additional options can be passed in to customize the fields and register
|
|
36
|
-
event callbacks.
|
|
37
|
-
|
|
38
|
-
```js
|
|
39
|
-
service.initializePayment({
|
|
40
|
-
methodId: 'braintree',
|
|
41
|
-
creditCard: {
|
|
42
|
-
form: {
|
|
43
|
-
fields: {
|
|
44
|
-
cardNumber: { containerId: 'card-number' },
|
|
45
|
-
cardName: { containerId: 'card-name' },
|
|
46
|
-
cardExpiry: { containerId: 'card-expiry' },
|
|
47
|
-
cardCode: { containerId: 'card-code' },
|
|
48
|
-
},
|
|
49
|
-
styles: {
|
|
50
|
-
default: {
|
|
51
|
-
color: '#000',
|
|
52
|
-
},
|
|
53
|
-
error: {
|
|
54
|
-
color: '#f00',
|
|
55
|
-
},
|
|
56
|
-
focus: {
|
|
57
|
-
color: '#0f0',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
onBlur({ fieldType }) {
|
|
61
|
-
console.log(fieldType);
|
|
62
|
-
},
|
|
63
|
-
onFocus({ fieldType }) {
|
|
64
|
-
console.log(fieldType);
|
|
65
|
-
},
|
|
66
|
-
onEnter({ fieldType }) {
|
|
67
|
-
console.log(fieldType);
|
|
68
|
-
},
|
|
69
|
-
onCardTypeChange({ cardType }) {
|
|
70
|
-
console.log(cardType);
|
|
71
|
-
},
|
|
72
|
-
onValidate({ errors, isValid }) {
|
|
73
|
-
console.log(errors);
|
|
74
|
-
console.log(isValid);
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
});
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
## Table of contents
|
|
82
|
-
|
|
83
|
-
### Properties
|
|
84
|
-
|
|
85
|
-
- [threeDSecure](internal_.BraintreePaymentInitializeOptions.md#threedsecure)
|
|
86
|
-
|
|
87
|
-
## Properties
|
|
88
|
-
|
|
89
|
-
### threeDSecure
|
|
90
|
-
|
|
91
|
-
• `Optional` **threeDSecure**: [`BraintreeThreeDSecureOptions`](internal_.BraintreeThreeDSecureOptions.md)
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreeThreeDSecureOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeThreeDSecureOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreeThreeDSecureOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to support 3D Secure authentication flow.
|
|
8
|
-
|
|
9
|
-
If the customer uses a credit card that has 3D Secure enabled, they will be
|
|
10
|
-
asked to verify their identity when they pay. The verification is done
|
|
11
|
-
through a web page via an iframe provided by the card issuer.
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Methods
|
|
16
|
-
|
|
17
|
-
- [addFrame](internal_.BraintreeThreeDSecureOptions.md#addframe)
|
|
18
|
-
- [removeFrame](internal_.BraintreeThreeDSecureOptions.md#removeframe)
|
|
19
|
-
|
|
20
|
-
## Methods
|
|
21
|
-
|
|
22
|
-
### addFrame
|
|
23
|
-
|
|
24
|
-
▸ **addFrame**(`error`, `iframe`, `cancel`): `void`
|
|
25
|
-
|
|
26
|
-
A callback that gets called when the iframe is ready to be added to the
|
|
27
|
-
current page. It is responsible for determining where the iframe should
|
|
28
|
-
be inserted in the DOM.
|
|
29
|
-
|
|
30
|
-
#### Parameters
|
|
31
|
-
|
|
32
|
-
| Name | Type | Description |
|
|
33
|
-
| :------ | :------ | :------ |
|
|
34
|
-
| `error` | `undefined` \| `Error` | Any error raised during the verification process; undefined if there is none. |
|
|
35
|
-
| `iframe` | `HTMLIFrameElement` | The iframe element containing the verification web page provided by the card issuer. |
|
|
36
|
-
| `cancel` | () => `undefined` \| `Promise`<[`BraintreeVerifyPayload`](internal_.BraintreeVerifyPayload.md)\> | A function, when called, will cancel the verification process and remove the iframe. |
|
|
37
|
-
|
|
38
|
-
#### Returns
|
|
39
|
-
|
|
40
|
-
`void`
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### removeFrame
|
|
45
|
-
|
|
46
|
-
▸ **removeFrame**(): `void`
|
|
47
|
-
|
|
48
|
-
A callback that gets called when the iframe is about to be removed from
|
|
49
|
-
the current page.
|
|
50
|
-
|
|
51
|
-
#### Returns
|
|
52
|
-
|
|
53
|
-
`void`
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreeVerifyPayload
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeVerifyPayload
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreeVerifyPayload
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [description](internal_.BraintreeVerifyPayload.md#description)
|
|
12
|
-
- [details](internal_.BraintreeVerifyPayload.md#details)
|
|
13
|
-
- [liabilityShiftPossible](internal_.BraintreeVerifyPayload.md#liabilityshiftpossible)
|
|
14
|
-
- [liabilityShifted](internal_.BraintreeVerifyPayload.md#liabilityshifted)
|
|
15
|
-
- [nonce](internal_.BraintreeVerifyPayload.md#nonce)
|
|
16
|
-
|
|
17
|
-
## Properties
|
|
18
|
-
|
|
19
|
-
### description
|
|
20
|
-
|
|
21
|
-
• **description**: `string`
|
|
22
|
-
|
|
23
|
-
___
|
|
24
|
-
|
|
25
|
-
### details
|
|
26
|
-
|
|
27
|
-
• **details**: `Object`
|
|
28
|
-
|
|
29
|
-
#### Type declaration
|
|
30
|
-
|
|
31
|
-
| Name | Type |
|
|
32
|
-
| :------ | :------ |
|
|
33
|
-
| `cardType` | `string` |
|
|
34
|
-
| `lastFour` | `string` |
|
|
35
|
-
| `lastTwo` | `string` |
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### liabilityShiftPossible
|
|
40
|
-
|
|
41
|
-
• **liabilityShiftPossible**: `boolean`
|
|
42
|
-
|
|
43
|
-
___
|
|
44
|
-
|
|
45
|
-
### liabilityShifted
|
|
46
|
-
|
|
47
|
-
• **liabilityShifted**: `boolean`
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### nonce
|
|
52
|
-
|
|
53
|
-
• **nonce**: `string`
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreeVisaCheckoutCustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeVisaCheckoutCustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreeVisaCheckoutCustomerInitializeOptions
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [container](internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md#container)
|
|
12
|
-
|
|
13
|
-
### Methods
|
|
14
|
-
|
|
15
|
-
- [onError](internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md#onerror)
|
|
16
|
-
|
|
17
|
-
## Properties
|
|
18
|
-
|
|
19
|
-
### container
|
|
20
|
-
|
|
21
|
-
• **container**: `string`
|
|
22
|
-
|
|
23
|
-
## Methods
|
|
24
|
-
|
|
25
|
-
### onError
|
|
26
|
-
|
|
27
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
28
|
-
|
|
29
|
-
#### Parameters
|
|
30
|
-
|
|
31
|
-
| Name | Type |
|
|
32
|
-
| :------ | :------ |
|
|
33
|
-
| `error` | `Error` |
|
|
34
|
-
|
|
35
|
-
#### Returns
|
|
36
|
-
|
|
37
|
-
`void`
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreeVisaCheckoutPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeVisaCheckoutPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreeVisaCheckoutPaymentInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize the Visa Checkout payment
|
|
8
|
-
method provided by Braintree.
|
|
9
|
-
|
|
10
|
-
If the customer chooses to pay with Visa Checkout, they will be asked to
|
|
11
|
-
enter their payment details via a modal. You can hook into events emitted by
|
|
12
|
-
the modal by providing the callbacks listed below.
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
service.initializePayment({
|
|
16
|
-
methodId: 'braintreevisacheckout',
|
|
17
|
-
});
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Additional event callbacks can be registered.
|
|
21
|
-
|
|
22
|
-
```js
|
|
23
|
-
service.initializePayment({
|
|
24
|
-
methodId: 'braintreevisacheckout',
|
|
25
|
-
braintreevisacheckout: {
|
|
26
|
-
onError(error) {
|
|
27
|
-
console.log(error);
|
|
28
|
-
},
|
|
29
|
-
onPaymentSelect() {
|
|
30
|
-
console.log('Selected');
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Table of contents
|
|
37
|
-
|
|
38
|
-
### Methods
|
|
39
|
-
|
|
40
|
-
- [onError](internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md#onerror)
|
|
41
|
-
- [onPaymentSelect](internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md#onpaymentselect)
|
|
42
|
-
|
|
43
|
-
## Methods
|
|
44
|
-
|
|
45
|
-
### onError
|
|
46
|
-
|
|
47
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
48
|
-
|
|
49
|
-
A callback that gets called when Visa Checkout fails to initialize or
|
|
50
|
-
selects a payment option.
|
|
51
|
-
|
|
52
|
-
#### Parameters
|
|
53
|
-
|
|
54
|
-
| Name | Type | Description |
|
|
55
|
-
| :------ | :------ | :------ |
|
|
56
|
-
| `error` | `Error` | The error object describing the failure. |
|
|
57
|
-
|
|
58
|
-
#### Returns
|
|
59
|
-
|
|
60
|
-
`void`
|
|
61
|
-
|
|
62
|
-
___
|
|
63
|
-
|
|
64
|
-
### onPaymentSelect
|
|
65
|
-
|
|
66
|
-
▸ `Optional` **onPaymentSelect**(): `void`
|
|
67
|
-
|
|
68
|
-
A callback that gets called when the customer selects a payment option.
|
|
69
|
-
|
|
70
|
-
#### Returns
|
|
71
|
-
|
|
72
|
-
`void`
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BrowserInfo
|
|
2
|
-
|
|
3
|
-
# Interface: BrowserInfo
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BrowserInfo
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [color\_depth](internal_.BrowserInfo.md#color_depth)
|
|
12
|
-
- [java\_enabled](internal_.BrowserInfo.md#java_enabled)
|
|
13
|
-
- [language](internal_.BrowserInfo.md#language)
|
|
14
|
-
- [screen\_height](internal_.BrowserInfo.md#screen_height)
|
|
15
|
-
- [screen\_width](internal_.BrowserInfo.md#screen_width)
|
|
16
|
-
- [time\_zone\_offset](internal_.BrowserInfo.md#time_zone_offset)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### color\_depth
|
|
21
|
-
|
|
22
|
-
• **color\_depth**: `number`
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### java\_enabled
|
|
27
|
-
|
|
28
|
-
• **java\_enabled**: `boolean`
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### language
|
|
33
|
-
|
|
34
|
-
• **language**: `string`
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### screen\_height
|
|
39
|
-
|
|
40
|
-
• **screen\_height**: `number`
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### screen\_width
|
|
45
|
-
|
|
46
|
-
• **screen\_width**: `number`
|
|
47
|
-
|
|
48
|
-
___
|
|
49
|
-
|
|
50
|
-
### time\_zone\_offset
|
|
51
|
-
|
|
52
|
-
• **time\_zone\_offset**: `string`
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ButtonResponse
|
|
2
|
-
|
|
3
|
-
# Interface: ButtonResponse
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).ButtonResponse
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [type](internal_.ButtonResponse.md#type)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### type
|
|
16
|
-
|
|
17
|
-
• **type**: `string`
|
|
18
|
-
|
|
19
|
-
https://docs.digitalriver.com/digital-river-api/payment-integrations-1/drop-in/drop-in-integration-guide#customizing-the-text-of-the-drop-in-button
|
|
20
|
-
The text of the Drop-in button is customizable. You can either display pre-configured text or you can specify a unique text
|
|
21
|
-
Examples type: "payNow" || type: "buyNow" || type: "completeOrder" || type: "submitOrder"
|