@bigcommerce/checkout-sdk 1.436.0 → 1.436.1
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/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 +0 -1033
- package/package.json +1 -1
- package/docs/classes/CartChangedError.md +0 -76
- package/docs/classes/CartConsistencyError.md +0 -59
- package/docs/classes/CheckoutButtonErrorSelector.md +0 -52
- package/docs/classes/CheckoutButtonInitializer.md +0 -177
- package/docs/classes/CheckoutButtonStatusSelector.md +0 -52
- package/docs/classes/CheckoutService.md +0 -1743
- package/docs/classes/CurrencyService.md +0 -54
- package/docs/classes/EmbeddedCheckout.md +0 -40
- package/docs/classes/LanguageService.md +0 -101
- package/docs/classes/RequestError.md +0 -106
- package/docs/classes/StandardError.md +0 -73
- package/docs/enums/AdyenV2CardFields.md +0 -29
- package/docs/enums/AdyenV3CardFields.md +0 -29
- package/docs/enums/AmazonPayV2ButtonColor.md +0 -29
- package/docs/enums/AmazonPayV2ButtonDesign.md +0 -15
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +0 -57
- package/docs/enums/AmazonPayV2LedgerCurrency.md +0 -36
- package/docs/enums/AmazonPayV2PayOptions.md +0 -26
- package/docs/enums/AmazonPayV2Placement.md +0 -53
- package/docs/enums/BraintreeFormFieldType.md +0 -50
- package/docs/enums/ButtonColor.md +0 -29
- package/docs/enums/ButtonType.md +0 -22
- package/docs/enums/CheckoutButtonMethodType.md +0 -134
- package/docs/enums/CheckoutIncludes.md +0 -29
- package/docs/enums/EmbeddedCheckoutEventType.md +0 -50
- package/docs/enums/ExtensionCommandType.md +0 -29
- package/docs/enums/ExtensionRegion.md +0 -22
- package/docs/enums/GooglePayKey.md +0 -87
- package/docs/enums/HostedFieldType.md +0 -50
- package/docs/enums/HostedInputEventType.md +0 -85
- package/docs/enums/IconStyle.md +0 -22
- package/docs/enums/PaypalButtonStyleColorOption.md +0 -36
- package/docs/enums/PaypalButtonStyleLabelOption.md +0 -43
- package/docs/enums/PaypalButtonStyleLayoutOption.md +0 -22
- package/docs/enums/PaypalButtonStyleShapeOption.md +0 -22
- package/docs/enums/PaypalButtonStyleSizeOption.md +0 -36
- package/docs/enums/RadiusUnit.md +0 -22
- package/docs/enums/StyleButtonColor.md +0 -43
- package/docs/enums/StyleButtonLabel.md +0 -43
- package/docs/enums/StyleButtonShape.md +0 -22
- package/docs/enums/StyleButtonShape_2.md +0 -22
- package/docs/enums/StyleButtonSize.md +0 -29
- package/docs/enums/UntrustedShippingCardVerificationType.md +0 -22
- package/docs/interfaces/AchInstrument.md +0 -94
- package/docs/interfaces/Address.md +0 -166
- package/docs/interfaces/AddressRequestBody.md +0 -100
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +0 -68
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +0 -66
- package/docs/interfaces/AdyenAdditionalActionOptions.md +0 -106
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +0 -106
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +0 -35
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +0 -40
- package/docs/interfaces/AdyenComponent.md +0 -72
- package/docs/interfaces/AdyenComponentEvents.md +0 -74
- package/docs/interfaces/AdyenComponentEvents_2.md +0 -94
- package/docs/interfaces/AdyenComponent_2.md +0 -83
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenIdealComponentOptions.md +0 -50
- package/docs/interfaces/AdyenPaymentMethodState.md +0 -21
- package/docs/interfaces/AdyenPaymentMethodState_2.md +0 -15
- package/docs/interfaces/AdyenPlaceholderData.md +0 -40
- package/docs/interfaces/AdyenPlaceholderData_2.md +0 -40
- package/docs/interfaces/AdyenThreeDS2Options.md +0 -97
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +0 -161
- package/docs/interfaces/AdyenV2ValidationState.md +0 -57
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +0 -220
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +0 -135
- package/docs/interfaces/AdyenV3ValidationState.md +0 -57
- package/docs/interfaces/AmazonPayV2ButtonConfig.md +0 -91
- package/docs/interfaces/AmazonPayV2ButtonParams.md +0 -128
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +0 -35
- package/docs/interfaces/AmazonPayV2CheckoutSessionConfig.md +0 -36
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +0 -38
- package/docs/interfaces/AmazonPayV2NewButtonParams.md +0 -150
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +0 -40
- package/docs/interfaces/AmazonPayV2Price.md +0 -26
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +0 -40
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +0 -62
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +0 -77
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +0 -49
- package/docs/interfaces/BankInstrument.md +0 -101
- package/docs/interfaces/Banner.md +0 -22
- package/docs/interfaces/BaseAccountInstrument.md +0 -86
- package/docs/interfaces/BaseCheckoutButtonInitializeOptions.md +0 -237
- package/docs/interfaces/BaseCustomerInitializeOptions.md +0 -235
- package/docs/interfaces/BaseElementOptions.md +0 -26
- package/docs/interfaces/BaseElementOptions_2.md +0 -48
- package/docs/interfaces/BaseIndividualElementOptions.md +0 -67
- package/docs/interfaces/BaseInstrument.md +0 -58
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -356
- package/docs/interfaces/BillingAddress.md +0 -182
- package/docs/interfaces/BillingAddressRequestBody.md +0 -153
- package/docs/interfaces/BirthDate.md +0 -41
- package/docs/interfaces/BlockElementStyles.md +0 -105
- package/docs/interfaces/BlueSnapDirectAPMInitializeOptions.md +0 -73
- package/docs/interfaces/BlueSnapDirectStyleProps.md +0 -29
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +0 -73
- package/docs/interfaces/BlueSnapV2StyleProps.md +0 -29
- package/docs/interfaces/BodlEventsPayload.md +0 -7
- package/docs/interfaces/BodlService.md +0 -187
- package/docs/interfaces/BodyStyles.md +0 -15
- package/docs/interfaces/BoltButtonInitializeOptions.md +0 -24
- package/docs/interfaces/BoltButtonStyleOptions.md +0 -22
- package/docs/interfaces/BoltBuyNowInitializeOptions.md +0 -29
- package/docs/interfaces/BoltCustomerInitializeOptions.md +0 -31
- package/docs/interfaces/BoltPaymentInitializeOptions.md +0 -94
- package/docs/interfaces/BraintreeAcceleratedCheckoutCustomer.md +0 -29
- package/docs/interfaces/BraintreeAcceleratedCheckoutPaymentInitializeOptions.md +0 -45
- package/docs/interfaces/BraintreeError.md +0 -35
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +0 -22
- package/docs/interfaces/BraintreeFormFieldOptions.md +0 -35
- package/docs/interfaces/BraintreeFormFieldState.md +0 -36
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/BraintreeFormFieldsMap.md +0 -36
- package/docs/interfaces/BraintreeFormOptions.md +0 -110
- package/docs/interfaces/BraintreeLocalMethods.md +0 -76
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +0 -110
- package/docs/interfaces/BraintreePaypalAchInitializeOptions.md +0 -21
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +0 -120
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +0 -111
- package/docs/interfaces/BraintreePaypalCreditCustomerInitializeOptions.md +0 -46
- package/docs/interfaces/BraintreePaypalCustomerInitializeOptions.md +0 -46
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +0 -51
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +0 -54
- package/docs/interfaces/BraintreeVerifyPayload.md +0 -51
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -35
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/BrowserInfo.md +0 -50
- package/docs/interfaces/ButtonResponse.md +0 -19
- package/docs/interfaces/ButtonStyles.md +0 -141
- package/docs/interfaces/BuyNowCartRequestBody.md +0 -24
- package/docs/interfaces/CardCvcElementOptions.md +0 -72
- package/docs/interfaces/CardDataPaymentMethodState.md +0 -15
- package/docs/interfaces/CardDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/CardElementOptions.md +0 -91
- package/docs/interfaces/CardExpiryElementOptions.md +0 -72
- package/docs/interfaces/CardInstrument.md +0 -122
- package/docs/interfaces/CardNumberElementOptions.md +0 -88
- package/docs/interfaces/CardPaymentMethodState.md +0 -60
- package/docs/interfaces/CardPaymentMethodState_2.md +0 -43
- package/docs/interfaces/CardState.md +0 -47
- package/docs/interfaces/CardStateErrors.md +0 -7
- package/docs/interfaces/CardStateErrors_2.md +0 -7
- package/docs/interfaces/CardState_2.md +0 -40
- package/docs/interfaces/Cart.md +0 -106
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/ChasePayInitializeOptions.md +0 -98
- package/docs/interfaces/CheckableInputStyles.md +0 -175
- package/docs/interfaces/ChecklistStyles.md +0 -127
- package/docs/interfaces/Checkout.md +0 -209
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +0 -22
- package/docs/interfaces/CheckoutButtonOptions.md +0 -55
- package/docs/interfaces/CheckoutButtonSelectors.md +0 -22
- package/docs/interfaces/CheckoutParams.md +0 -15
- package/docs/interfaces/CheckoutPayment.md +0 -42
- package/docs/interfaces/CheckoutPaymentMethodExecutedOptions.md +0 -15
- package/docs/interfaces/CheckoutRequestBody.md +0 -15
- package/docs/interfaces/CheckoutSelectors.md +0 -29
- package/docs/interfaces/CheckoutServiceOptions.md +0 -36
- package/docs/interfaces/CheckoutSettings.md +0 -208
- package/docs/interfaces/CheckoutStoreErrorSelector.md +0 -653
- package/docs/interfaces/CheckoutStoreSelector.md +0 -573
- package/docs/interfaces/CheckoutStoreStatusSelector.md +0 -779
- package/docs/interfaces/Consignment.md +0 -71
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -29
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -29
- package/docs/interfaces/ConsignmentCreateRequestBody.md +0 -36
- package/docs/interfaces/ConsignmentLineItem.md +0 -22
- package/docs/interfaces/ConsignmentPickupOption.md +0 -15
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +0 -43
- package/docs/interfaces/Coordinates.md +0 -22
- package/docs/interfaces/Country.md +0 -43
- package/docs/interfaces/Coupon.md +0 -43
- package/docs/interfaces/CreditCardInstrument.md +0 -85
- package/docs/interfaces/CreditCardPaymentInitializeOptions_2.md +0 -98
- package/docs/interfaces/CreditCardPlaceHolder.md +0 -29
- package/docs/interfaces/CreditCardPlaceHolder_2.md +0 -29
- package/docs/interfaces/CssProperties.md +0 -218
- package/docs/interfaces/CssProperties_2.md +0 -218
- package/docs/interfaces/Currency.md +0 -36
- package/docs/interfaces/CustomError.md +0 -43
- package/docs/interfaces/CustomItem.md +0 -50
- package/docs/interfaces/Customer.md +0 -91
- package/docs/interfaces/CustomerAccountRequestBody.md +0 -50
- package/docs/interfaces/CustomerAddress.md +0 -182
- package/docs/interfaces/CustomerCredentials.md +0 -22
- package/docs/interfaces/CustomerGroup.md +0 -22
- package/docs/interfaces/CustomerPasswordRequirements.md +0 -36
- package/docs/interfaces/CustomerRequestOptions.md +0 -60
- package/docs/interfaces/DeprecatedPayPalCommerceCreditCardsPaymentInitializeOptions.md +0 -17
- package/docs/interfaces/DigitalItem.md +0 -321
- package/docs/interfaces/DigitalRiverElementClasses.md +0 -67
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +0 -146
- package/docs/interfaces/Discount.md +0 -22
- package/docs/interfaces/DisplaySettings.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutError.md +0 -29
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +0 -109
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutOptions.md +0 -134
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutStyles.md +0 -141
- package/docs/interfaces/EmbeddedContentOptions.md +0 -15
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +0 -93
- package/docs/interfaces/Extension.md +0 -36
- package/docs/interfaces/ExtensionCommandMap.md +0 -29
- package/docs/interfaces/Fee.md +0 -50
- package/docs/interfaces/FlashMessage.md +0 -29
- package/docs/interfaces/FormField.md +0 -113
- package/docs/interfaces/FormFieldItem.md +0 -22
- package/docs/interfaces/FormFieldOptions.md +0 -29
- package/docs/interfaces/FormFields.md +0 -29
- package/docs/interfaces/GatewayOrderPayment.md +0 -108
- package/docs/interfaces/GiftCertificate.md +0 -43
- package/docs/interfaces/GiftCertificateItem.md +0 -78
- package/docs/interfaces/GiftCertificateOrderPayment.md +0 -94
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/GooglePayBuyNowInitializeOptions.md +0 -19
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +0 -42
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +0 -93
- package/docs/interfaces/GooglePayPaymentInitializeOptions_2.md +0 -93
- package/docs/interfaces/HostedCardFieldOptions.md +0 -35
- package/docs/interfaces/HostedCardFieldOptionsMap.md +0 -36
- package/docs/interfaces/HostedFieldStylesMap.md +0 -29
- package/docs/interfaces/HostedFormErrorData.md +0 -29
- package/docs/interfaces/HostedFormOptions.md +0 -115
- package/docs/interfaces/HostedInputBlurEvent.md +0 -29
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +0 -28
- package/docs/interfaces/HostedInputEnterEvent.md +0 -28
- package/docs/interfaces/HostedInputFocusEvent.md +0 -28
- package/docs/interfaces/HostedInputValidateErrorData.md +0 -29
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +0 -50
- package/docs/interfaces/HostedInputValidateEvent.md +0 -22
- package/docs/interfaces/HostedInputValidateResults.md +0 -22
- package/docs/interfaces/HostedInstrument.md +0 -22
- package/docs/interfaces/HostedStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +0 -22
- package/docs/interfaces/IbanElementOptions.md +0 -82
- package/docs/interfaces/IdealElementOptions.md +0 -70
- package/docs/interfaces/IndividualCardElementOptions.md +0 -36
- package/docs/interfaces/InitializationStrategy.md +0 -21
- package/docs/interfaces/InlineElementStyles.md +0 -53
- package/docs/interfaces/InputDetail.md +0 -80
- package/docs/interfaces/InputDetail_2.md +0 -80
- package/docs/interfaces/InputStyles.md +0 -152
- package/docs/interfaces/Item.md +0 -22
- package/docs/interfaces/Item_2.md +0 -26
- package/docs/interfaces/Item_3.md +0 -26
- package/docs/interfaces/KlarnaLoadResponse.md +0 -28
- package/docs/interfaces/KlarnaLoadResponse_2.md +0 -28
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +0 -73
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +0 -73
- package/docs/interfaces/LabelStyles.md +0 -76
- package/docs/interfaces/LanguageConfig.md +0 -57
- package/docs/interfaces/LineItem.md +0 -198
- package/docs/interfaces/LineItemCategory.md +0 -15
- package/docs/interfaces/LineItemMap.md +0 -36
- package/docs/interfaces/LineItemOption.md +0 -36
- package/docs/interfaces/LineItemSocialData.md +0 -36
- package/docs/interfaces/LineItem_2.md +0 -43
- package/docs/interfaces/LinkStyles.md +0 -90
- package/docs/interfaces/Locales.md +0 -7
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +0 -35
- package/docs/interfaces/MolliePaymentInitializeOptions.md +0 -124
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +0 -57
- package/docs/interfaces/MonerisStylingProps.md +0 -80
- package/docs/interfaces/NonceGenerationError.md +0 -29
- package/docs/interfaces/NonceInstrument.md +0 -43
- package/docs/interfaces/Option.md +0 -22
- package/docs/interfaces/OptionsResponse.md +0 -77
- package/docs/interfaces/OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/Order.md +0 -204
- package/docs/interfaces/OrderBillingAddress.md +0 -175
- package/docs/interfaces/OrderConsignment.md +0 -15
- package/docs/interfaces/OrderFee.md +0 -43
- package/docs/interfaces/OrderPayment.md +0 -58
- package/docs/interfaces/OrderPaymentRequestBody.md +0 -39
- package/docs/interfaces/OrderRequestBody.md +0 -33
- package/docs/interfaces/OrderShippingConsignment.md +0 -218
- package/docs/interfaces/PasswordRequirements.md +0 -36
- package/docs/interfaces/PayPalButtonStyleOptions.md +0 -36
- package/docs/interfaces/PayPalBuyNowInitializeOptions.md +0 -21
- package/docs/interfaces/PayPalCommerceAlternativeMethodsButtonOptions.md +0 -44
- package/docs/interfaces/PayPalCommerceAlternativeMethodsPaymentOptions.md +0 -178
- package/docs/interfaces/PayPalCommerceButtonInitializeOptions.md +0 -56
- package/docs/interfaces/PayPalCommerceCreditButtonInitializeOptions.md +0 -60
- package/docs/interfaces/PayPalCommerceCreditCardsPaymentInitializeOptions.md +0 -90
- package/docs/interfaces/PayPalCommerceCreditCustomerInitializeOptions.md +0 -53
- package/docs/interfaces/PayPalCommerceCreditPaymentInitializeOptions.md +0 -133
- package/docs/interfaces/PayPalCommerceCustomerInitializeOptions.md +0 -56
- package/docs/interfaces/PayPalCommerceFieldsStyleOptions.md +0 -46
- package/docs/interfaces/PayPalCommercePaymentInitializeOptions.md +0 -133
- package/docs/interfaces/PayPalCommerceVenmoButtonInitializeOptions.md +0 -35
- package/docs/interfaces/PayPalCommerceVenmoCustomerInitializeOptions.md +0 -40
- package/docs/interfaces/PayPalCommerceVenmoPaymentInitializeOptions.md +0 -133
- package/docs/interfaces/PayPalInstrument.md +0 -87
- package/docs/interfaces/PaymentMethod.md +0 -98
- package/docs/interfaces/PaymentMethodConfig.md +0 -120
- package/docs/interfaces/PaymentRequestOptions.md +0 -67
- package/docs/interfaces/PaymentSettings.md +0 -22
- package/docs/interfaces/PaypalButtonInitializeOptions.md +0 -76
- package/docs/interfaces/PaypalCommerceRatePay.md +0 -81
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +0 -36
- package/docs/interfaces/PaypalStyleOptions.md +0 -64
- package/docs/interfaces/PhysicalItem.md +0 -322
- package/docs/interfaces/PickupMethod.md +0 -43
- package/docs/interfaces/PickupOptionRequestBody.md +0 -22
- package/docs/interfaces/PickupOptionResult.md +0 -15
- package/docs/interfaces/Promotion.md +0 -15
- package/docs/interfaces/Radius.md +0 -22
- package/docs/interfaces/Region.md +0 -22
- package/docs/interfaces/ReloadCheckoutCommand.md +0 -15
- package/docs/interfaces/RequestOptions.md +0 -48
- package/docs/interfaces/SearchArea.md +0 -22
- package/docs/interfaces/SepaPlaceHolder.md +0 -22
- package/docs/interfaces/SepaPlaceHolder_2.md +0 -22
- package/docs/interfaces/SetIframeStyleCommand.md +0 -28
- package/docs/interfaces/ShippingInitializeOptions.md +0 -88
- package/docs/interfaces/ShippingOption.md +0 -64
- package/docs/interfaces/ShippingRequestOptions.md +0 -65
- package/docs/interfaces/ShopperConfig.md +0 -29
- package/docs/interfaces/ShopperCurrency.md +0 -94
- package/docs/interfaces/ShowLoadingIndicatorCommand.md +0 -28
- package/docs/interfaces/SignInEmail.md +0 -22
- package/docs/interfaces/SignInEmailRequestBody.md +0 -22
- package/docs/interfaces/SpamProtectionOptions.md +0 -25
- package/docs/interfaces/SquareFormElement.md +0 -28
- package/docs/interfaces/SquarePaymentInitializeOptions.md +0 -131
- package/docs/interfaces/SquareV2PaymentInitializeOptions.md +0 -90
- package/docs/interfaces/StepStyles.md +0 -120
- package/docs/interfaces/StepTracker.md +0 -64
- package/docs/interfaces/StepTrackerConfig.md +0 -15
- package/docs/interfaces/StoreConfig.md +0 -116
- package/docs/interfaces/StoreCurrency.md +0 -56
- package/docs/interfaces/StoreLinks.md +0 -57
- package/docs/interfaces/StoreProfile.md +0 -71
- package/docs/interfaces/StripeCustomerEvent.md +0 -74
- package/docs/interfaces/StripeElementCSSProperties.md +0 -170
- package/docs/interfaces/StripeElementClasses.md +0 -63
- package/docs/interfaces/StripeElementStyle.md +0 -44
- package/docs/interfaces/StripeElementStyleVariant.md +0 -285
- package/docs/interfaces/StripeEvent.md +0 -37
- package/docs/interfaces/StripeShippingEvent.md +0 -117
- package/docs/interfaces/StripeUPECustomerInitializeOptions.md +0 -92
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +0 -81
- package/docs/interfaces/StripeUPEShippingInitializeOptions.md +0 -107
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +0 -76
- package/docs/interfaces/StyleOptions.md +0 -44
- package/docs/interfaces/StyleOptions_2.md +0 -44
- package/docs/interfaces/SubInputDetail.md +0 -62
- package/docs/interfaces/SubInputDetail_2.md +0 -62
- package/docs/interfaces/Subscriptions.md +0 -29
- package/docs/interfaces/Tax.md +0 -22
- package/docs/interfaces/TextInputStyles.md +0 -175
- package/docs/interfaces/ThreeDSecure.md +0 -50
- package/docs/interfaces/ThreeDSecureToken.md +0 -15
- package/docs/interfaces/TranslationData.md +0 -7
- package/docs/interfaces/Translations.md +0 -7
- package/docs/interfaces/UnknownObject.md +0 -7
- package/docs/interfaces/UserExperienceSettings.md +0 -22
- package/docs/interfaces/VaultedInstrument.md +0 -29
- package/docs/interfaces/WechatDataPaymentMethodState.md +0 -15
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/WechatState.md +0 -15
- package/docs/interfaces/WechatState_2.md +0 -15
- package/docs/interfaces/WithAdyenV2PaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithAdyenV3PaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithApplePayButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayCustomerInitializeOptions.md +0 -18
- package/docs/interfaces/WithApplePayPaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithBlueSnapDirectAPMPaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithBoltButtonInitializeOptions.md +0 -18
- package/docs/interfaces/WithBoltCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithBoltPaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithBraintreeAcceleratedCheckoutPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithBraintreeLocalMethodsPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithBraintreePaypalAchPaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithBraintreePaypalCustomerInitializeOptions.md +0 -18
- package/docs/interfaces/WithBuyNowFeature.md +0 -134
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +0 -15
- package/docs/interfaces/WithCreditCardPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithDocumentInstrument.md +0 -15
- package/docs/interfaces/WithMollieIssuerInstrument.md +0 -22
- package/docs/interfaces/WithMolliePaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WithPayPalCommerceAlternativeMethodsButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceAlternativeMethodsPaymentInitializeOptions.md +0 -29
- package/docs/interfaces/WithPayPalCommerceButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceCreditButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceCreditCardsPaymentInitializeOptions.md +0 -22
- package/docs/interfaces/WithPayPalCommerceCreditCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceCreditPaymentInitializeOptions.md +0 -22
- package/docs/interfaces/WithPayPalCommerceCustomerInitializeOptions.md +0 -18
- package/docs/interfaces/WithPayPalCommercePaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceVenmoButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceVenmoCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithPayPalCommerceVenmoPaymentInitializeOptions.md +0 -22
- package/docs/interfaces/WithSquareV2PaymentInitializeOptions.md +0 -18
- package/docs/interfaces/WorldpayAccessPaymentInitializeOptions.md +0 -30
- package/docs/interfaces/ZipCodeElementOptions.md +0 -15
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StripeEvent
|
|
2
|
-
|
|
3
|
-
# Interface: StripeEvent
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- **`StripeEvent`**
|
|
8
|
-
|
|
9
|
-
↳ [`StripeCustomerEvent`](StripeCustomerEvent.md)
|
|
10
|
-
|
|
11
|
-
↳ [`StripeShippingEvent`](StripeShippingEvent.md)
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [complete](StripeEvent.md#complete)
|
|
18
|
-
- [elementType](StripeEvent.md#elementtype)
|
|
19
|
-
- [empty](StripeEvent.md#empty)
|
|
20
|
-
|
|
21
|
-
## Properties
|
|
22
|
-
|
|
23
|
-
### complete
|
|
24
|
-
|
|
25
|
-
• **complete**: `boolean`
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### elementType
|
|
30
|
-
|
|
31
|
-
• **elementType**: `string`
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### empty
|
|
36
|
-
|
|
37
|
-
• **empty**: `boolean`
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StripeShippingEvent
|
|
2
|
-
|
|
3
|
-
# Interface: StripeShippingEvent
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`StripeEvent`](StripeEvent.md)
|
|
8
|
-
|
|
9
|
-
↳ **`StripeShippingEvent`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [complete](StripeShippingEvent.md#complete)
|
|
16
|
-
- [display](StripeShippingEvent.md#display)
|
|
17
|
-
- [elementType](StripeShippingEvent.md#elementtype)
|
|
18
|
-
- [empty](StripeShippingEvent.md#empty)
|
|
19
|
-
- [fields](StripeShippingEvent.md#fields)
|
|
20
|
-
- [isNewAddress](StripeShippingEvent.md#isnewaddress)
|
|
21
|
-
- [mode](StripeShippingEvent.md#mode)
|
|
22
|
-
- [phoneFieldRequired](StripeShippingEvent.md#phonefieldrequired)
|
|
23
|
-
- [value](StripeShippingEvent.md#value)
|
|
24
|
-
|
|
25
|
-
## Properties
|
|
26
|
-
|
|
27
|
-
### complete
|
|
28
|
-
|
|
29
|
-
• **complete**: `boolean`
|
|
30
|
-
|
|
31
|
-
#### Inherited from
|
|
32
|
-
|
|
33
|
-
[StripeEvent](StripeEvent.md).[complete](StripeEvent.md#complete)
|
|
34
|
-
|
|
35
|
-
___
|
|
36
|
-
|
|
37
|
-
### display
|
|
38
|
-
|
|
39
|
-
• `Optional` **display**: `Object`
|
|
40
|
-
|
|
41
|
-
#### Type declaration
|
|
42
|
-
|
|
43
|
-
| Name | Type |
|
|
44
|
-
| :------ | :------ |
|
|
45
|
-
| `name` | `string` |
|
|
46
|
-
|
|
47
|
-
___
|
|
48
|
-
|
|
49
|
-
### elementType
|
|
50
|
-
|
|
51
|
-
• **elementType**: `string`
|
|
52
|
-
|
|
53
|
-
#### Inherited from
|
|
54
|
-
|
|
55
|
-
[StripeEvent](StripeEvent.md).[elementType](StripeEvent.md#elementtype)
|
|
56
|
-
|
|
57
|
-
___
|
|
58
|
-
|
|
59
|
-
### empty
|
|
60
|
-
|
|
61
|
-
• **empty**: `boolean`
|
|
62
|
-
|
|
63
|
-
#### Inherited from
|
|
64
|
-
|
|
65
|
-
[StripeEvent](StripeEvent.md).[empty](StripeEvent.md#empty)
|
|
66
|
-
|
|
67
|
-
___
|
|
68
|
-
|
|
69
|
-
### fields
|
|
70
|
-
|
|
71
|
-
• `Optional` **fields**: `Object`
|
|
72
|
-
|
|
73
|
-
#### Type declaration
|
|
74
|
-
|
|
75
|
-
| Name | Type |
|
|
76
|
-
| :------ | :------ |
|
|
77
|
-
| `phone` | `string` |
|
|
78
|
-
|
|
79
|
-
___
|
|
80
|
-
|
|
81
|
-
### isNewAddress
|
|
82
|
-
|
|
83
|
-
• `Optional` **isNewAddress**: `boolean`
|
|
84
|
-
|
|
85
|
-
___
|
|
86
|
-
|
|
87
|
-
### mode
|
|
88
|
-
|
|
89
|
-
• `Optional` **mode**: `string`
|
|
90
|
-
|
|
91
|
-
___
|
|
92
|
-
|
|
93
|
-
### phoneFieldRequired
|
|
94
|
-
|
|
95
|
-
• **phoneFieldRequired**: `boolean`
|
|
96
|
-
|
|
97
|
-
___
|
|
98
|
-
|
|
99
|
-
### value
|
|
100
|
-
|
|
101
|
-
• **value**: `Object`
|
|
102
|
-
|
|
103
|
-
#### Type declaration
|
|
104
|
-
|
|
105
|
-
| Name | Type |
|
|
106
|
-
| :------ | :------ |
|
|
107
|
-
| `address` | `Object` |
|
|
108
|
-
| `address.city` | `string` |
|
|
109
|
-
| `address.country` | `string` |
|
|
110
|
-
| `address.line1` | `string` |
|
|
111
|
-
| `address.line2?` | `string` |
|
|
112
|
-
| `address.postal_code` | `string` |
|
|
113
|
-
| `address.state` | `string` |
|
|
114
|
-
| `firstName?` | `string` |
|
|
115
|
-
| `lastName?` | `string` |
|
|
116
|
-
| `name?` | `string` |
|
|
117
|
-
| `phone?` | `string` |
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StripeUPECustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: StripeUPECustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [container](StripeUPECustomerInitializeOptions.md#container)
|
|
10
|
-
- [gatewayId](StripeUPECustomerInitializeOptions.md#gatewayid)
|
|
11
|
-
- [methodId](StripeUPECustomerInitializeOptions.md#methodid)
|
|
12
|
-
|
|
13
|
-
### Methods
|
|
14
|
-
|
|
15
|
-
- [getStyles](StripeUPECustomerInitializeOptions.md#getstyles)
|
|
16
|
-
- [isLoading](StripeUPECustomerInitializeOptions.md#isloading)
|
|
17
|
-
- [onEmailChange](StripeUPECustomerInitializeOptions.md#onemailchange)
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### container
|
|
22
|
-
|
|
23
|
-
• **container**: `string`
|
|
24
|
-
|
|
25
|
-
The ID of a container which the stripe iframe should be inserted.
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### gatewayId
|
|
30
|
-
|
|
31
|
-
• **gatewayId**: `string`
|
|
32
|
-
|
|
33
|
-
The identifier of the payment provider providing the payment method. This
|
|
34
|
-
option is only required if the provider offers multiple payment options.
|
|
35
|
-
i.e.: Stripeupe and Klarna.
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### methodId
|
|
40
|
-
|
|
41
|
-
• **methodId**: `string`
|
|
42
|
-
|
|
43
|
-
The identifier of the payment method.
|
|
44
|
-
|
|
45
|
-
## Methods
|
|
46
|
-
|
|
47
|
-
### getStyles
|
|
48
|
-
|
|
49
|
-
▸ `Optional` **getStyles**(): `undefined` \| { [key: string]: `string`; }
|
|
50
|
-
|
|
51
|
-
get styles from store theme
|
|
52
|
-
|
|
53
|
-
#### Returns
|
|
54
|
-
|
|
55
|
-
`undefined` \| { [key: string]: `string`; }
|
|
56
|
-
|
|
57
|
-
___
|
|
58
|
-
|
|
59
|
-
### isLoading
|
|
60
|
-
|
|
61
|
-
▸ **isLoading**(`mounted`): `void`
|
|
62
|
-
|
|
63
|
-
A callback that gets called when Stripe Link Authentication Element is Loaded.
|
|
64
|
-
|
|
65
|
-
#### Parameters
|
|
66
|
-
|
|
67
|
-
| Name | Type |
|
|
68
|
-
| :------ | :------ |
|
|
69
|
-
| `mounted` | `boolean` |
|
|
70
|
-
|
|
71
|
-
#### Returns
|
|
72
|
-
|
|
73
|
-
`void`
|
|
74
|
-
|
|
75
|
-
___
|
|
76
|
-
|
|
77
|
-
### onEmailChange
|
|
78
|
-
|
|
79
|
-
▸ **onEmailChange**(`authenticated`, `email`): `void`
|
|
80
|
-
|
|
81
|
-
A callback that gets called whenever the Stripe Link Authentication Element's value changes.
|
|
82
|
-
|
|
83
|
-
#### Parameters
|
|
84
|
-
|
|
85
|
-
| Name | Type | Description |
|
|
86
|
-
| :------ | :------ | :------ |
|
|
87
|
-
| `authenticated` | `boolean` | if the email is authenticated on Stripe. |
|
|
88
|
-
| `email` | `string` | The new value of the email. |
|
|
89
|
-
|
|
90
|
-
#### Returns
|
|
91
|
-
|
|
92
|
-
`void`
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StripeUPEPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: StripeUPEPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Stripe payment method.
|
|
6
|
-
|
|
7
|
-
Once Stripe payment is initialized, credit card form fields, provided by the
|
|
8
|
-
payment provider as iframes, will be inserted into the current page. These
|
|
9
|
-
options provide a location and styling for each of the form fields.
|
|
10
|
-
|
|
11
|
-
```html
|
|
12
|
-
<!-- This is where the credit card component will be inserted -->
|
|
13
|
-
<div id="container"></div>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
service.initializePayment({
|
|
18
|
-
methodId: 'stripeupe',
|
|
19
|
-
stripeupe {
|
|
20
|
-
containerId: 'container',
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Table of contents
|
|
26
|
-
|
|
27
|
-
### Properties
|
|
28
|
-
|
|
29
|
-
- [containerId](StripeUPEPaymentInitializeOptions.md#containerid)
|
|
30
|
-
- [style](StripeUPEPaymentInitializeOptions.md#style)
|
|
31
|
-
|
|
32
|
-
### Methods
|
|
33
|
-
|
|
34
|
-
- [onError](StripeUPEPaymentInitializeOptions.md#onerror)
|
|
35
|
-
- [render](StripeUPEPaymentInitializeOptions.md#render)
|
|
36
|
-
|
|
37
|
-
## Properties
|
|
38
|
-
|
|
39
|
-
### containerId
|
|
40
|
-
|
|
41
|
-
• **containerId**: `string`
|
|
42
|
-
|
|
43
|
-
The location to insert the credit card number form field.
|
|
44
|
-
|
|
45
|
-
___
|
|
46
|
-
|
|
47
|
-
### style
|
|
48
|
-
|
|
49
|
-
• `Optional` **style**: `Object`
|
|
50
|
-
|
|
51
|
-
Checkout styles from store theme
|
|
52
|
-
|
|
53
|
-
#### Index signature
|
|
54
|
-
|
|
55
|
-
▪ [key: `string`]: `string`
|
|
56
|
-
|
|
57
|
-
## Methods
|
|
58
|
-
|
|
59
|
-
### onError
|
|
60
|
-
|
|
61
|
-
▸ `Optional` **onError**(`error?`): `void`
|
|
62
|
-
|
|
63
|
-
#### Parameters
|
|
64
|
-
|
|
65
|
-
| Name | Type |
|
|
66
|
-
| :------ | :------ |
|
|
67
|
-
| `error?` | `Error` |
|
|
68
|
-
|
|
69
|
-
#### Returns
|
|
70
|
-
|
|
71
|
-
`void`
|
|
72
|
-
|
|
73
|
-
___
|
|
74
|
-
|
|
75
|
-
### render
|
|
76
|
-
|
|
77
|
-
▸ **render**(): `void`
|
|
78
|
-
|
|
79
|
-
#### Returns
|
|
80
|
-
|
|
81
|
-
`void`
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StripeUPEShippingInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: StripeUPEShippingInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the shipping step of
|
|
6
|
-
checkout in order to support StripeUpe.
|
|
7
|
-
|
|
8
|
-
When StripeUpe is initialized, an iframe will be inserted into the DOM. The
|
|
9
|
-
iframe has a list of shipping addresses for the customer to choose from.
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [availableCountries](StripeUPEShippingInitializeOptions.md#availablecountries)
|
|
16
|
-
- [container](StripeUPEShippingInitializeOptions.md#container)
|
|
17
|
-
- [gatewayId](StripeUPEShippingInitializeOptions.md#gatewayid)
|
|
18
|
-
- [methodId](StripeUPEShippingInitializeOptions.md#methodid)
|
|
19
|
-
|
|
20
|
-
### Methods
|
|
21
|
-
|
|
22
|
-
- [getStripeState](StripeUPEShippingInitializeOptions.md#getstripestate)
|
|
23
|
-
- [getStyles](StripeUPEShippingInitializeOptions.md#getstyles)
|
|
24
|
-
- [onChangeShipping](StripeUPEShippingInitializeOptions.md#onchangeshipping)
|
|
25
|
-
|
|
26
|
-
## Properties
|
|
27
|
-
|
|
28
|
-
### availableCountries
|
|
29
|
-
|
|
30
|
-
• **availableCountries**: `string`
|
|
31
|
-
|
|
32
|
-
Available countries configured on BC shipping setup.
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### container
|
|
37
|
-
|
|
38
|
-
• `Optional` **container**: `string`
|
|
39
|
-
|
|
40
|
-
The ID of a container which the stripe iframe should be inserted.
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### gatewayId
|
|
45
|
-
|
|
46
|
-
• **gatewayId**: `string`
|
|
47
|
-
|
|
48
|
-
The identifier of the payment provider providing the payment method. This
|
|
49
|
-
option is only required if the provider offers multiple payment options.
|
|
50
|
-
i.e.: Stripeupe and Klarna.
|
|
51
|
-
|
|
52
|
-
___
|
|
53
|
-
|
|
54
|
-
### methodId
|
|
55
|
-
|
|
56
|
-
• **methodId**: `string`
|
|
57
|
-
|
|
58
|
-
The identifier of the payment method.
|
|
59
|
-
|
|
60
|
-
## Methods
|
|
61
|
-
|
|
62
|
-
### getStripeState
|
|
63
|
-
|
|
64
|
-
▸ **getStripeState**(`country`, `state`): `string`
|
|
65
|
-
|
|
66
|
-
get the state code needed for shipping stripe element
|
|
67
|
-
|
|
68
|
-
#### Parameters
|
|
69
|
-
|
|
70
|
-
| Name | Type |
|
|
71
|
-
| :------ | :------ |
|
|
72
|
-
| `country` | `string` |
|
|
73
|
-
| `state` | `string` |
|
|
74
|
-
|
|
75
|
-
#### Returns
|
|
76
|
-
|
|
77
|
-
`string`
|
|
78
|
-
|
|
79
|
-
___
|
|
80
|
-
|
|
81
|
-
### getStyles
|
|
82
|
-
|
|
83
|
-
▸ `Optional` **getStyles**(): `Object`
|
|
84
|
-
|
|
85
|
-
get styles from store theme
|
|
86
|
-
|
|
87
|
-
#### Returns
|
|
88
|
-
|
|
89
|
-
`Object`
|
|
90
|
-
|
|
91
|
-
___
|
|
92
|
-
|
|
93
|
-
### onChangeShipping
|
|
94
|
-
|
|
95
|
-
▸ **onChangeShipping**(`shipping`): `void`
|
|
96
|
-
|
|
97
|
-
A callback that gets called whenever the Stripe Link Shipping Element's object is completed.
|
|
98
|
-
|
|
99
|
-
#### Parameters
|
|
100
|
-
|
|
101
|
-
| Name | Type |
|
|
102
|
-
| :------ | :------ |
|
|
103
|
-
| `shipping` | [`StripeEventType`](../README.md#stripeeventtype) |
|
|
104
|
-
|
|
105
|
-
#### Returns
|
|
106
|
-
|
|
107
|
-
`void`
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StripeV3PaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: StripeV3PaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Stripe payment method.
|
|
6
|
-
|
|
7
|
-
Once Stripe payment is initialized, credit card form fields, provided by the
|
|
8
|
-
payment provider as iframes, will be inserted into the current page. These
|
|
9
|
-
options provide a location and styling for each of the form fields.
|
|
10
|
-
|
|
11
|
-
```html
|
|
12
|
-
<!-- This is where the credit card component will be inserted -->
|
|
13
|
-
<div id="container"></div>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
service.initializePayment({
|
|
18
|
-
methodId: 'stripev3',
|
|
19
|
-
stripev3: {
|
|
20
|
-
containerId: 'container',
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Additional options can be passed in to customize the fields.
|
|
26
|
-
|
|
27
|
-
```js
|
|
28
|
-
service.initializePayment({
|
|
29
|
-
methodId: 'stripev3',
|
|
30
|
-
stripev3: {
|
|
31
|
-
containerId: 'container',
|
|
32
|
-
options: {
|
|
33
|
-
card: {
|
|
34
|
-
classes: { base: 'form-input' },
|
|
35
|
-
},
|
|
36
|
-
iban: {
|
|
37
|
-
classes: { base: 'form-input' },
|
|
38
|
-
supportedCountries: ['SEPA'],
|
|
39
|
-
},
|
|
40
|
-
idealBank: {
|
|
41
|
-
classes: { base: 'form-input' },
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Table of contents
|
|
49
|
-
|
|
50
|
-
### Properties
|
|
51
|
-
|
|
52
|
-
- [containerId](StripeV3PaymentInitializeOptions.md#containerid)
|
|
53
|
-
- [form](StripeV3PaymentInitializeOptions.md#form)
|
|
54
|
-
- [options](StripeV3PaymentInitializeOptions.md#options)
|
|
55
|
-
|
|
56
|
-
## Properties
|
|
57
|
-
|
|
58
|
-
### containerId
|
|
59
|
-
|
|
60
|
-
• **containerId**: `string`
|
|
61
|
-
|
|
62
|
-
The location to insert the credit card number form field.
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
### form
|
|
67
|
-
|
|
68
|
-
• `Optional` **form**: [`HostedFormOptions`](HostedFormOptions.md)
|
|
69
|
-
|
|
70
|
-
Hosted Form Validation Options
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
### options
|
|
75
|
-
|
|
76
|
-
• `Optional` **options**: [`CardCvcElementOptions`](CardCvcElementOptions.md) \| [`CardElementOptions`](CardElementOptions.md) \| [`CardExpiryElementOptions`](CardExpiryElementOptions.md) \| [`CardNumberElementOptions`](CardNumberElementOptions.md) \| [`IbanElementOptions`](IbanElementOptions.md) \| [`IdealElementOptions`](IdealElementOptions.md) \| [`IndividualCardElementOptions`](IndividualCardElementOptions.md) \| [`ZipCodeElementOptions`](ZipCodeElementOptions.md)
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StyleOptions
|
|
2
|
-
|
|
3
|
-
# Interface: StyleOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [base](StyleOptions.md#base)
|
|
10
|
-
- [error](StyleOptions.md#error)
|
|
11
|
-
- [placeholder](StyleOptions.md#placeholder)
|
|
12
|
-
- [validated](StyleOptions.md#validated)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### base
|
|
17
|
-
|
|
18
|
-
• `Optional` **base**: [`CssProperties`](CssProperties.md)
|
|
19
|
-
|
|
20
|
-
Base styling applied to the iframe. All styling extends from this style.
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### error
|
|
25
|
-
|
|
26
|
-
• `Optional` **error**: [`CssProperties`](CssProperties.md)
|
|
27
|
-
|
|
28
|
-
Styling applied when a field fails validation.
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### placeholder
|
|
33
|
-
|
|
34
|
-
• `Optional` **placeholder**: [`CssProperties`](CssProperties.md)
|
|
35
|
-
|
|
36
|
-
Styling applied to the field's placeholder values.
|
|
37
|
-
|
|
38
|
-
___
|
|
39
|
-
|
|
40
|
-
### validated
|
|
41
|
-
|
|
42
|
-
• `Optional` **validated**: [`CssProperties`](CssProperties.md)
|
|
43
|
-
|
|
44
|
-
Styling applied once a field passes validation.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StyleOptions_2
|
|
2
|
-
|
|
3
|
-
# Interface: StyleOptions\_2
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [base](StyleOptions_2.md#base)
|
|
10
|
-
- [error](StyleOptions_2.md#error)
|
|
11
|
-
- [placeholder](StyleOptions_2.md#placeholder)
|
|
12
|
-
- [validated](StyleOptions_2.md#validated)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### base
|
|
17
|
-
|
|
18
|
-
• `Optional` **base**: [`CssProperties_2`](CssProperties_2.md)
|
|
19
|
-
|
|
20
|
-
Base styling applied to the iframe. All styling extends from this style.
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### error
|
|
25
|
-
|
|
26
|
-
• `Optional` **error**: [`CssProperties_2`](CssProperties_2.md)
|
|
27
|
-
|
|
28
|
-
Styling applied when a field fails validation.
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### placeholder
|
|
33
|
-
|
|
34
|
-
• `Optional` **placeholder**: [`CssProperties_2`](CssProperties_2.md)
|
|
35
|
-
|
|
36
|
-
Styling applied to the field's placeholder values.
|
|
37
|
-
|
|
38
|
-
___
|
|
39
|
-
|
|
40
|
-
### validated
|
|
41
|
-
|
|
42
|
-
• `Optional` **validated**: [`CssProperties_2`](CssProperties_2.md)
|
|
43
|
-
|
|
44
|
-
Styling applied once a field passes validation.
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / SubInputDetail
|
|
2
|
-
|
|
3
|
-
# Interface: SubInputDetail
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [configuration](SubInputDetail.md#configuration)
|
|
10
|
-
- [items](SubInputDetail.md#items)
|
|
11
|
-
- [key](SubInputDetail.md#key)
|
|
12
|
-
- [optional](SubInputDetail.md#optional)
|
|
13
|
-
- [type](SubInputDetail.md#type)
|
|
14
|
-
- [value](SubInputDetail.md#value)
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
### configuration
|
|
19
|
-
|
|
20
|
-
• `Optional` **configuration**: `object`
|
|
21
|
-
|
|
22
|
-
Configuration parameters for the required input.
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### items
|
|
27
|
-
|
|
28
|
-
• `Optional` **items**: [`Item_2`](Item_2.md)[]
|
|
29
|
-
|
|
30
|
-
In case of a select, the items to choose from.
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### key
|
|
35
|
-
|
|
36
|
-
• `Optional` **key**: `string`
|
|
37
|
-
|
|
38
|
-
The value to provide in the result.
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### optional
|
|
43
|
-
|
|
44
|
-
• `Optional` **optional**: `boolean`
|
|
45
|
-
|
|
46
|
-
True if this input is optional to provide.
|
|
47
|
-
|
|
48
|
-
___
|
|
49
|
-
|
|
50
|
-
### type
|
|
51
|
-
|
|
52
|
-
• `Optional` **type**: `string`
|
|
53
|
-
|
|
54
|
-
The type of the required input.
|
|
55
|
-
|
|
56
|
-
___
|
|
57
|
-
|
|
58
|
-
### value
|
|
59
|
-
|
|
60
|
-
• `Optional` **value**: `string`
|
|
61
|
-
|
|
62
|
-
The value can be pre-filled, if available.
|