@bigcommerce/checkout-sdk 1.308.1 → 1.308.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +158 -16
- package/docs/classes/internal_.CartChangedError.md +62 -0
- package/docs/classes/internal_.CheckoutService.md +1528 -0
- package/docs/classes/internal_.CurrencyService.md +56 -0
- package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
- package/docs/classes/internal_.LanguageService.md +103 -0
- package/docs/classes/internal_.RequestError.md +108 -0
- package/docs/classes/internal_.StandardError.md +4 -0
- package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
- package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
- package/docs/enums/internal_.CheckoutIncludes.md +31 -0
- package/docs/enums/internal_.HostedFieldType.md +52 -0
- package/docs/enums/internal_.IconStyle.md +24 -0
- package/docs/enums/internal_.RadiusUnit.md +24 -0
- package/docs/interfaces/internal_.Address.md +4 -0
- package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
- package/docs/interfaces/internal_.AdyenComponent.md +74 -0
- package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
- package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.BankInstrument.md +114 -0
- package/docs/interfaces/internal_.Banner.md +24 -0
- package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
- package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
- package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
- package/docs/interfaces/internal_.BaseInstrument.md +60 -0
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
- package/docs/interfaces/internal_.BillingAddress.md +184 -0
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
- package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
- package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
- package/docs/interfaces/internal_.BodlService.md +172 -0
- package/docs/interfaces/internal_.BodyStyles.md +17 -0
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.BrowserInfo.md +52 -0
- package/docs/interfaces/internal_.ButtonResponse.md +21 -0
- package/docs/interfaces/internal_.ButtonStyles.md +143 -0
- package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.CardElementOptions.md +93 -0
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardInstrument.md +117 -0
- package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
- package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
- package/docs/interfaces/internal_.CardState.md +42 -0
- package/docs/interfaces/internal_.CardStateErrors.md +9 -0
- package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
- package/docs/interfaces/internal_.CardState_2.md +42 -0
- package/docs/interfaces/internal_.Cart.md +108 -0
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
- package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
- package/docs/interfaces/internal_.Checkout.md +204 -0
- package/docs/interfaces/internal_.CheckoutParams.md +17 -0
- package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
- package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
- package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
- package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
- package/docs/interfaces/internal_.Consignment.md +73 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
- package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
- package/docs/interfaces/internal_.Coordinates.md +24 -0
- package/docs/interfaces/internal_.Country.md +45 -0
- package/docs/interfaces/internal_.Coupon.md +45 -0
- package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
- package/docs/interfaces/internal_.CssProperties.md +213 -0
- package/docs/interfaces/internal_.CssProperties_2.md +213 -0
- package/docs/interfaces/internal_.Currency.md +38 -0
- package/docs/interfaces/internal_.CustomItem.md +52 -0
- package/docs/interfaces/internal_.Customer.md +93 -0
- package/docs/interfaces/internal_.CustomerAddress.md +184 -0
- package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
- package/docs/interfaces/internal_.CustomerGroup.md +24 -0
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
- package/docs/interfaces/internal_.DigitalItem.md +312 -0
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
- package/docs/interfaces/internal_.Discount.md +24 -0
- package/docs/interfaces/internal_.DisplaySettings.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
- package/docs/interfaces/internal_.FlashMessage.md +31 -0
- package/docs/interfaces/internal_.FormField.md +115 -0
- package/docs/interfaces/internal_.FormFieldItem.md +24 -0
- package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
- package/docs/interfaces/internal_.FormFields.md +31 -0
- package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
- package/docs/interfaces/internal_.GiftCertificate.md +45 -0
- package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
- package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
- package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
- package/docs/interfaces/internal_.HostedInstrument.md +24 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
- package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
- package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
- package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
- package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
- package/docs/interfaces/internal_.InputDetail.md +82 -0
- package/docs/interfaces/internal_.InputDetail_2.md +82 -0
- package/docs/interfaces/internal_.InputStyles.md +154 -0
- package/docs/interfaces/internal_.Item.md +24 -0
- package/docs/interfaces/internal_.Item_2.md +28 -0
- package/docs/interfaces/internal_.Item_3.md +28 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.LabelStyles.md +78 -0
- package/docs/interfaces/internal_.LanguageConfig.md +59 -0
- package/docs/interfaces/internal_.LineItem.md +163 -8
- package/docs/interfaces/internal_.LineItemCategory.md +17 -0
- package/docs/interfaces/internal_.LineItemMap.md +38 -0
- package/docs/interfaces/internal_.LineItemOption.md +38 -0
- package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
- package/docs/interfaces/internal_.LinkStyles.md +92 -0
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
- package/docs/interfaces/internal_.Locales.md +9 -0
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
- package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
- package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
- package/docs/interfaces/internal_.NonceInstrument.md +38 -0
- package/docs/interfaces/internal_.Option_2.md +24 -0
- package/docs/interfaces/internal_.OptionsResponse.md +79 -0
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.Order.md +199 -0
- package/docs/interfaces/internal_.OrderConsignment.md +17 -0
- package/docs/interfaces/internal_.OrderPayment.md +60 -0
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
- package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
- package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
- package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
- package/docs/interfaces/internal_.PaymentMethod.md +100 -0
- package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
- package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
- package/docs/interfaces/internal_.PaymentSettings.md +24 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
- package/docs/interfaces/internal_.PhysicalItem.md +313 -0
- package/docs/interfaces/internal_.PickupMethod.md +45 -0
- package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
- package/docs/interfaces/internal_.Promotion.md +17 -0
- package/docs/interfaces/internal_.Radius.md +24 -0
- package/docs/interfaces/internal_.Region.md +24 -0
- package/docs/interfaces/internal_.RequestOptions.md +5 -1
- package/docs/interfaces/internal_.SearchArea.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.ShippingOption.md +66 -0
- package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
- package/docs/interfaces/internal_.ShopperConfig.md +31 -0
- package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
- package/docs/interfaces/internal_.SignInEmail.md +24 -0
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
- package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
- package/docs/interfaces/internal_.SquareFormElement.md +30 -0
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
- package/docs/interfaces/internal_.StepStyles.md +122 -0
- package/docs/interfaces/internal_.StepTracker.md +66 -0
- package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
- package/docs/interfaces/internal_.StoreConfig.md +117 -0
- package/docs/interfaces/internal_.StoreCurrency.md +58 -0
- package/docs/interfaces/internal_.StoreLinks.md +59 -0
- package/docs/interfaces/internal_.StoreProfile.md +73 -0
- package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
- package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
- package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
- package/docs/interfaces/internal_.StripeEvent.md +39 -0
- package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.StyleOptions.md +46 -0
- package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
- package/docs/interfaces/internal_.SubInputDetail.md +64 -0
- package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
- package/docs/interfaces/internal_.Subscriptions.md +31 -0
- package/docs/interfaces/internal_.Tax.md +24 -0
- package/docs/interfaces/internal_.TextInputStyles.md +177 -0
- package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
- package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
- package/docs/interfaces/internal_.TranslationData.md +9 -0
- package/docs/interfaces/internal_.Translations.md +9 -0
- package/docs/interfaces/internal_.UnknownObject.md +9 -0
- package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.WechatState.md +17 -0
- package/docs/interfaces/internal_.WechatState_2.md +17 -0
- package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
- package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
- package/docs/modules/internal_.md +515 -51
- package/package.json +1 -1
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
- package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
- package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
- package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
- package/docs/enums/internal_.StyleButtonColor.md +0 -45
- package/docs/enums/internal_.StyleButtonLabel.md +0 -45
- package/docs/enums/internal_.StyleButtonLayout.md +0 -24
- package/docs/enums/internal_.StyleButtonShape.md +0 -24
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
- package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
- package/docs/interfaces/internal_.BraintreeError.md +0 -37
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / GooglePayPaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: GooglePayPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).GooglePayPaymentInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the GooglePay payment method
|
|
8
|
+
|
|
9
|
+
If the customer chooses to pay with GooglePay, they will be asked to
|
|
10
|
+
enter their payment details via a modal. You can hook into events emitted by
|
|
11
|
+
the modal by providing the callbacks listed below.
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<!-- This is where the GooglePay button will be inserted -->
|
|
15
|
+
<div id="wallet-button"></div>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
service.initializePayment({
|
|
20
|
+
// Using GooglePay provided by Braintree as an example
|
|
21
|
+
methodId: 'googlepaybraintree',
|
|
22
|
+
googlepaybraintree: {
|
|
23
|
+
walletButton: 'wallet-button'
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Additional event callbacks can be registered.
|
|
29
|
+
|
|
30
|
+
```js
|
|
31
|
+
service.initializePayment({
|
|
32
|
+
methodId: 'googlepaybraintree',
|
|
33
|
+
googlepaybraintree: {
|
|
34
|
+
walletButton: 'wallet-button',
|
|
35
|
+
onError(error) {
|
|
36
|
+
console.log(error);
|
|
37
|
+
},
|
|
38
|
+
onPaymentSelect() {
|
|
39
|
+
console.log('Selected');
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Table of contents
|
|
46
|
+
|
|
47
|
+
### Properties
|
|
48
|
+
|
|
49
|
+
- [walletButton](internal_.GooglePayPaymentInitializeOptions.md#walletbutton)
|
|
50
|
+
|
|
51
|
+
### Methods
|
|
52
|
+
|
|
53
|
+
- [onError](internal_.GooglePayPaymentInitializeOptions.md#onerror)
|
|
54
|
+
- [onPaymentSelect](internal_.GooglePayPaymentInitializeOptions.md#onpaymentselect)
|
|
55
|
+
|
|
56
|
+
## Properties
|
|
57
|
+
|
|
58
|
+
### walletButton
|
|
59
|
+
|
|
60
|
+
• `Optional` **walletButton**: `string`
|
|
61
|
+
|
|
62
|
+
This walletButton is used to set an event listener, provide an element ID if you want
|
|
63
|
+
users to be able to launch the GooglePay wallet modal by clicking on a button.
|
|
64
|
+
It should be an HTML element.
|
|
65
|
+
|
|
66
|
+
## Methods
|
|
67
|
+
|
|
68
|
+
### onError
|
|
69
|
+
|
|
70
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
71
|
+
|
|
72
|
+
A callback that gets called when GooglePay fails to initialize or
|
|
73
|
+
selects a payment option.
|
|
74
|
+
|
|
75
|
+
#### Parameters
|
|
76
|
+
|
|
77
|
+
| Name | Type | Description |
|
|
78
|
+
| :------ | :------ | :------ |
|
|
79
|
+
| `error` | `Error` | The error object describing the failure. |
|
|
80
|
+
|
|
81
|
+
#### Returns
|
|
82
|
+
|
|
83
|
+
`void`
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### onPaymentSelect
|
|
88
|
+
|
|
89
|
+
▸ `Optional` **onPaymentSelect**(): `void`
|
|
90
|
+
|
|
91
|
+
A callback that gets called when the customer selects a payment option.
|
|
92
|
+
|
|
93
|
+
#### Returns
|
|
94
|
+
|
|
95
|
+
`void`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedCardFieldOptions
|
|
2
|
+
|
|
3
|
+
# Interface: HostedCardFieldOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedCardFieldOptions
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- **`HostedCardFieldOptions`**
|
|
10
|
+
|
|
11
|
+
↳ [`HostedStoredCardFieldOptions`](internal_.HostedStoredCardFieldOptions.md)
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [accessibilityLabel](internal_.HostedCardFieldOptions.md#accessibilitylabel)
|
|
18
|
+
- [containerId](internal_.HostedCardFieldOptions.md#containerid)
|
|
19
|
+
- [placeholder](internal_.HostedCardFieldOptions.md#placeholder)
|
|
20
|
+
|
|
21
|
+
## Properties
|
|
22
|
+
|
|
23
|
+
### accessibilityLabel
|
|
24
|
+
|
|
25
|
+
• `Optional` **accessibilityLabel**: `string`
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### containerId
|
|
30
|
+
|
|
31
|
+
• **containerId**: `string`
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### placeholder
|
|
36
|
+
|
|
37
|
+
• `Optional` **placeholder**: `string`
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedCardFieldOptionsMap
|
|
2
|
+
|
|
3
|
+
# Interface: HostedCardFieldOptionsMap
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedCardFieldOptionsMap
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [cardCode](internal_.HostedCardFieldOptionsMap.md#cardcode)
|
|
12
|
+
- [cardExpiry](internal_.HostedCardFieldOptionsMap.md#cardexpiry)
|
|
13
|
+
- [cardName](internal_.HostedCardFieldOptionsMap.md#cardname)
|
|
14
|
+
- [cardNumber](internal_.HostedCardFieldOptionsMap.md#cardnumber)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### cardCode
|
|
19
|
+
|
|
20
|
+
• `Optional` **cardCode**: [`HostedCardFieldOptions`](internal_.HostedCardFieldOptions.md)
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### cardExpiry
|
|
25
|
+
|
|
26
|
+
• **cardExpiry**: [`HostedCardFieldOptions`](internal_.HostedCardFieldOptions.md)
|
|
27
|
+
|
|
28
|
+
___
|
|
29
|
+
|
|
30
|
+
### cardName
|
|
31
|
+
|
|
32
|
+
• **cardName**: [`HostedCardFieldOptions`](internal_.HostedCardFieldOptions.md)
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### cardNumber
|
|
37
|
+
|
|
38
|
+
• **cardNumber**: [`HostedCardFieldOptions`](internal_.HostedCardFieldOptions.md)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedFieldStylesMap
|
|
2
|
+
|
|
3
|
+
# Interface: HostedFieldStylesMap
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedFieldStylesMap
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [default](internal_.HostedFieldStylesMap.md#default)
|
|
12
|
+
- [error](internal_.HostedFieldStylesMap.md#error)
|
|
13
|
+
- [focus](internal_.HostedFieldStylesMap.md#focus)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### default
|
|
18
|
+
|
|
19
|
+
• `Optional` **default**: `Partial`<`Pick`<`CSSStyleDeclaration`, ``"color"`` \| ``"fontFamily"`` \| ``"fontSize"`` \| ``"fontWeight"``\>\>
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### error
|
|
24
|
+
|
|
25
|
+
• `Optional` **error**: `Partial`<`Pick`<`CSSStyleDeclaration`, ``"color"`` \| ``"fontFamily"`` \| ``"fontSize"`` \| ``"fontWeight"``\>\>
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### focus
|
|
30
|
+
|
|
31
|
+
• `Optional` **focus**: `Partial`<`Pick`<`CSSStyleDeclaration`, ``"color"`` \| ``"fontFamily"`` \| ``"fontSize"`` \| ``"fontWeight"``\>\>
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedFormOptions
|
|
2
|
+
|
|
3
|
+
# Interface: HostedFormOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedFormOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [fields](internal_.HostedFormOptions.md#fields)
|
|
12
|
+
- [styles](internal_.HostedFormOptions.md#styles)
|
|
13
|
+
|
|
14
|
+
### Methods
|
|
15
|
+
|
|
16
|
+
- [onBlur](internal_.HostedFormOptions.md#onblur)
|
|
17
|
+
- [onCardTypeChange](internal_.HostedFormOptions.md#oncardtypechange)
|
|
18
|
+
- [onEnter](internal_.HostedFormOptions.md#onenter)
|
|
19
|
+
- [onFocus](internal_.HostedFormOptions.md#onfocus)
|
|
20
|
+
- [onValidate](internal_.HostedFormOptions.md#onvalidate)
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
### fields
|
|
25
|
+
|
|
26
|
+
• **fields**: [`HostedFieldOptionsMap`](../modules/internal_.md#hostedfieldoptionsmap)
|
|
27
|
+
|
|
28
|
+
___
|
|
29
|
+
|
|
30
|
+
### styles
|
|
31
|
+
|
|
32
|
+
• `Optional` **styles**: [`HostedFieldStylesMap`](internal_.HostedFieldStylesMap.md)
|
|
33
|
+
|
|
34
|
+
## Methods
|
|
35
|
+
|
|
36
|
+
### onBlur
|
|
37
|
+
|
|
38
|
+
▸ `Optional` **onBlur**(`data`): `void`
|
|
39
|
+
|
|
40
|
+
#### Parameters
|
|
41
|
+
|
|
42
|
+
| Name | Type |
|
|
43
|
+
| :------ | :------ |
|
|
44
|
+
| `data` | `Object` |
|
|
45
|
+
| `data.fieldType` | [`HostedFieldType`](../enums/internal_.HostedFieldType.md) |
|
|
46
|
+
|
|
47
|
+
#### Returns
|
|
48
|
+
|
|
49
|
+
`void`
|
|
50
|
+
|
|
51
|
+
___
|
|
52
|
+
|
|
53
|
+
### onCardTypeChange
|
|
54
|
+
|
|
55
|
+
▸ `Optional` **onCardTypeChange**(`data`): `void`
|
|
56
|
+
|
|
57
|
+
#### Parameters
|
|
58
|
+
|
|
59
|
+
| Name | Type |
|
|
60
|
+
| :------ | :------ |
|
|
61
|
+
| `data` | `Object` |
|
|
62
|
+
| `data.cardType?` | `string` |
|
|
63
|
+
|
|
64
|
+
#### Returns
|
|
65
|
+
|
|
66
|
+
`void`
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### onEnter
|
|
71
|
+
|
|
72
|
+
▸ `Optional` **onEnter**(`data`): `void`
|
|
73
|
+
|
|
74
|
+
#### Parameters
|
|
75
|
+
|
|
76
|
+
| Name | Type |
|
|
77
|
+
| :------ | :------ |
|
|
78
|
+
| `data` | `Object` |
|
|
79
|
+
| `data.fieldType` | [`HostedFieldType`](../enums/internal_.HostedFieldType.md) |
|
|
80
|
+
|
|
81
|
+
#### Returns
|
|
82
|
+
|
|
83
|
+
`void`
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### onFocus
|
|
88
|
+
|
|
89
|
+
▸ `Optional` **onFocus**(`data`): `void`
|
|
90
|
+
|
|
91
|
+
#### Parameters
|
|
92
|
+
|
|
93
|
+
| Name | Type |
|
|
94
|
+
| :------ | :------ |
|
|
95
|
+
| `data` | `Object` |
|
|
96
|
+
| `data.fieldType` | [`HostedFieldType`](../enums/internal_.HostedFieldType.md) |
|
|
97
|
+
|
|
98
|
+
#### Returns
|
|
99
|
+
|
|
100
|
+
`void`
|
|
101
|
+
|
|
102
|
+
___
|
|
103
|
+
|
|
104
|
+
### onValidate
|
|
105
|
+
|
|
106
|
+
▸ `Optional` **onValidate**(`data`): `void`
|
|
107
|
+
|
|
108
|
+
#### Parameters
|
|
109
|
+
|
|
110
|
+
| Name | Type |
|
|
111
|
+
| :------ | :------ |
|
|
112
|
+
| `data` | [`HostedInputValidateResults`](internal_.HostedInputValidateResults.md) |
|
|
113
|
+
|
|
114
|
+
#### Returns
|
|
115
|
+
|
|
116
|
+
`void`
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedInputValidateErrorData
|
|
2
|
+
|
|
3
|
+
# Interface: HostedInputValidateErrorData
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedInputValidateErrorData
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [fieldType](internal_.HostedInputValidateErrorData.md#fieldtype)
|
|
12
|
+
- [message](internal_.HostedInputValidateErrorData.md#message)
|
|
13
|
+
- [type](internal_.HostedInputValidateErrorData.md#type)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### fieldType
|
|
18
|
+
|
|
19
|
+
• **fieldType**: `string`
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### message
|
|
24
|
+
|
|
25
|
+
• **message**: `string`
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### type
|
|
30
|
+
|
|
31
|
+
• **type**: `string`
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedInputValidateErrorDataMap
|
|
2
|
+
|
|
3
|
+
# Interface: HostedInputValidateErrorDataMap
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedInputValidateErrorDataMap
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [cardCode](internal_.HostedInputValidateErrorDataMap.md#cardcode)
|
|
12
|
+
- [cardCodeVerification](internal_.HostedInputValidateErrorDataMap.md#cardcodeverification)
|
|
13
|
+
- [cardExpiry](internal_.HostedInputValidateErrorDataMap.md#cardexpiry)
|
|
14
|
+
- [cardName](internal_.HostedInputValidateErrorDataMap.md#cardname)
|
|
15
|
+
- [cardNumber](internal_.HostedInputValidateErrorDataMap.md#cardnumber)
|
|
16
|
+
- [cardNumberVerification](internal_.HostedInputValidateErrorDataMap.md#cardnumberverification)
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### cardCode
|
|
21
|
+
|
|
22
|
+
• `Optional` **cardCode**: [`HostedInputValidateErrorData`](internal_.HostedInputValidateErrorData.md)[]
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### cardCodeVerification
|
|
27
|
+
|
|
28
|
+
• `Optional` **cardCodeVerification**: [`HostedInputValidateErrorData`](internal_.HostedInputValidateErrorData.md)[]
|
|
29
|
+
|
|
30
|
+
___
|
|
31
|
+
|
|
32
|
+
### cardExpiry
|
|
33
|
+
|
|
34
|
+
• `Optional` **cardExpiry**: [`HostedInputValidateErrorData`](internal_.HostedInputValidateErrorData.md)[]
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### cardName
|
|
39
|
+
|
|
40
|
+
• `Optional` **cardName**: [`HostedInputValidateErrorData`](internal_.HostedInputValidateErrorData.md)[]
|
|
41
|
+
|
|
42
|
+
___
|
|
43
|
+
|
|
44
|
+
### cardNumber
|
|
45
|
+
|
|
46
|
+
• `Optional` **cardNumber**: [`HostedInputValidateErrorData`](internal_.HostedInputValidateErrorData.md)[]
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### cardNumberVerification
|
|
51
|
+
|
|
52
|
+
• `Optional` **cardNumberVerification**: [`HostedInputValidateErrorData`](internal_.HostedInputValidateErrorData.md)[]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedInputValidateResults
|
|
2
|
+
|
|
3
|
+
# Interface: HostedInputValidateResults
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedInputValidateResults
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [errors](internal_.HostedInputValidateResults.md#errors)
|
|
12
|
+
- [isValid](internal_.HostedInputValidateResults.md#isvalid)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### errors
|
|
17
|
+
|
|
18
|
+
• **errors**: [`HostedInputValidateErrorDataMap`](internal_.HostedInputValidateErrorDataMap.md)
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### isValid
|
|
23
|
+
|
|
24
|
+
• **isValid**: `boolean`
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedInstrument
|
|
2
|
+
|
|
3
|
+
# Interface: HostedInstrument
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedInstrument
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [shouldSaveInstrument](internal_.HostedInstrument.md#shouldsaveinstrument)
|
|
12
|
+
- [shouldSetAsDefaultInstrument](internal_.HostedInstrument.md#shouldsetasdefaultinstrument)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### shouldSaveInstrument
|
|
17
|
+
|
|
18
|
+
• `Optional` **shouldSaveInstrument**: `boolean`
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### shouldSetAsDefaultInstrument
|
|
23
|
+
|
|
24
|
+
• `Optional` **shouldSetAsDefaultInstrument**: `boolean`
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedStoredCardFieldOptions
|
|
2
|
+
|
|
3
|
+
# Interface: HostedStoredCardFieldOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedStoredCardFieldOptions
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`HostedCardFieldOptions`](internal_.HostedCardFieldOptions.md)
|
|
10
|
+
|
|
11
|
+
↳ **`HostedStoredCardFieldOptions`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [accessibilityLabel](internal_.HostedStoredCardFieldOptions.md#accessibilitylabel)
|
|
18
|
+
- [containerId](internal_.HostedStoredCardFieldOptions.md#containerid)
|
|
19
|
+
- [instrumentId](internal_.HostedStoredCardFieldOptions.md#instrumentid)
|
|
20
|
+
- [placeholder](internal_.HostedStoredCardFieldOptions.md#placeholder)
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
### accessibilityLabel
|
|
25
|
+
|
|
26
|
+
• `Optional` **accessibilityLabel**: `string`
|
|
27
|
+
|
|
28
|
+
#### Inherited from
|
|
29
|
+
|
|
30
|
+
[HostedCardFieldOptions](internal_.HostedCardFieldOptions.md).[accessibilityLabel](internal_.HostedCardFieldOptions.md#accessibilitylabel)
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### containerId
|
|
35
|
+
|
|
36
|
+
• **containerId**: `string`
|
|
37
|
+
|
|
38
|
+
#### Inherited from
|
|
39
|
+
|
|
40
|
+
[HostedCardFieldOptions](internal_.HostedCardFieldOptions.md).[containerId](internal_.HostedCardFieldOptions.md#containerid)
|
|
41
|
+
|
|
42
|
+
___
|
|
43
|
+
|
|
44
|
+
### instrumentId
|
|
45
|
+
|
|
46
|
+
• **instrumentId**: `string`
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### placeholder
|
|
51
|
+
|
|
52
|
+
• `Optional` **placeholder**: `string`
|
|
53
|
+
|
|
54
|
+
#### Inherited from
|
|
55
|
+
|
|
56
|
+
[HostedCardFieldOptions](internal_.HostedCardFieldOptions.md).[placeholder](internal_.HostedCardFieldOptions.md#placeholder)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / HostedStoredCardFieldOptionsMap
|
|
2
|
+
|
|
3
|
+
# Interface: HostedStoredCardFieldOptionsMap
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).HostedStoredCardFieldOptionsMap
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [cardCodeVerification](internal_.HostedStoredCardFieldOptionsMap.md#cardcodeverification)
|
|
12
|
+
- [cardNumberVerification](internal_.HostedStoredCardFieldOptionsMap.md#cardnumberverification)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### cardCodeVerification
|
|
17
|
+
|
|
18
|
+
• `Optional` **cardCodeVerification**: [`HostedStoredCardFieldOptions`](internal_.HostedStoredCardFieldOptions.md)
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### cardNumberVerification
|
|
23
|
+
|
|
24
|
+
• `Optional` **cardNumberVerification**: [`HostedStoredCardFieldOptions`](internal_.HostedStoredCardFieldOptions.md)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / IbanElementOptions
|
|
2
|
+
|
|
3
|
+
# Interface: IbanElementOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).IbanElementOptions
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`BaseElementOptions_2`](internal_.BaseElementOptions_2.md)
|
|
10
|
+
|
|
11
|
+
↳ **`IbanElementOptions`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [classes](internal_.IbanElementOptions.md#classes)
|
|
18
|
+
- [disabled](internal_.IbanElementOptions.md#disabled)
|
|
19
|
+
- [iconStyle](internal_.IbanElementOptions.md#iconstyle)
|
|
20
|
+
- [placeholderCountry](internal_.IbanElementOptions.md#placeholdercountry)
|
|
21
|
+
- [style](internal_.IbanElementOptions.md#style)
|
|
22
|
+
- [supportedCountries](internal_.IbanElementOptions.md#supportedcountries)
|
|
23
|
+
|
|
24
|
+
## Properties
|
|
25
|
+
|
|
26
|
+
### classes
|
|
27
|
+
|
|
28
|
+
• `Optional` **classes**: [`StripeElementClasses`](internal_.StripeElementClasses.md)
|
|
29
|
+
|
|
30
|
+
Set custom class names on the container DOM element when the Stripe element is in a particular state.
|
|
31
|
+
|
|
32
|
+
#### Inherited from
|
|
33
|
+
|
|
34
|
+
[BaseElementOptions_2](internal_.BaseElementOptions_2.md).[classes](internal_.BaseElementOptions_2.md#classes)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### disabled
|
|
39
|
+
|
|
40
|
+
• `Optional` **disabled**: `boolean`
|
|
41
|
+
|
|
42
|
+
Applies a disabled state to the Element such that user input is not accepted. Default is false.
|
|
43
|
+
|
|
44
|
+
#### Inherited from
|
|
45
|
+
|
|
46
|
+
[BaseElementOptions_2](internal_.BaseElementOptions_2.md).[disabled](internal_.BaseElementOptions_2.md#disabled)
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### iconStyle
|
|
51
|
+
|
|
52
|
+
• `Optional` **iconStyle**: [`IconStyle`](../enums/internal_.IconStyle.md)
|
|
53
|
+
|
|
54
|
+
Appearance of the icon in the Element.
|
|
55
|
+
|
|
56
|
+
___
|
|
57
|
+
|
|
58
|
+
### placeholderCountry
|
|
59
|
+
|
|
60
|
+
• `Optional` **placeholderCountry**: `string`
|
|
61
|
+
|
|
62
|
+
Customize the country and format of the placeholder IBAN. Default is DE.
|
|
63
|
+
|
|
64
|
+
___
|
|
65
|
+
|
|
66
|
+
### style
|
|
67
|
+
|
|
68
|
+
• `Optional` **style**: [`StripeElementStyle`](internal_.StripeElementStyle.md)
|
|
69
|
+
|
|
70
|
+
Customize the appearance of an element using CSS properties passed in a [Style](https://stripe.com/docs/js/appendix/style) object,
|
|
71
|
+
which consists of CSS properties nested under objects for each variant.
|
|
72
|
+
|
|
73
|
+
#### Inherited from
|
|
74
|
+
|
|
75
|
+
[BaseElementOptions_2](internal_.BaseElementOptions_2.md).[style](internal_.BaseElementOptions_2.md#style)
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### supportedCountries
|
|
80
|
+
|
|
81
|
+
• `Optional` **supportedCountries**: `string`[]
|
|
82
|
+
|
|
83
|
+
Specify the list of countries or country-groups whose IBANs you want to allow.
|
|
84
|
+
Must be ['SEPA'].
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / IdealElementOptions
|
|
2
|
+
|
|
3
|
+
# Interface: IdealElementOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).IdealElementOptions
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`BaseElementOptions_2`](internal_.BaseElementOptions_2.md)
|
|
10
|
+
|
|
11
|
+
↳ **`IdealElementOptions`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [classes](internal_.IdealElementOptions.md#classes)
|
|
18
|
+
- [disabled](internal_.IdealElementOptions.md#disabled)
|
|
19
|
+
- [hideIcon](internal_.IdealElementOptions.md#hideicon)
|
|
20
|
+
- [style](internal_.IdealElementOptions.md#style)
|
|
21
|
+
- [value](internal_.IdealElementOptions.md#value)
|
|
22
|
+
|
|
23
|
+
## Properties
|
|
24
|
+
|
|
25
|
+
### classes
|
|
26
|
+
|
|
27
|
+
• `Optional` **classes**: [`StripeElementClasses`](internal_.StripeElementClasses.md)
|
|
28
|
+
|
|
29
|
+
Set custom class names on the container DOM element when the Stripe element is in a particular state.
|
|
30
|
+
|
|
31
|
+
#### Inherited from
|
|
32
|
+
|
|
33
|
+
[BaseElementOptions_2](internal_.BaseElementOptions_2.md).[classes](internal_.BaseElementOptions_2.md#classes)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### disabled
|
|
38
|
+
|
|
39
|
+
• `Optional` **disabled**: `boolean`
|
|
40
|
+
|
|
41
|
+
Applies a disabled state to the Element such that user input is not accepted. Default is false.
|
|
42
|
+
|
|
43
|
+
#### Inherited from
|
|
44
|
+
|
|
45
|
+
[BaseElementOptions_2](internal_.BaseElementOptions_2.md).[disabled](internal_.BaseElementOptions_2.md#disabled)
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### hideIcon
|
|
50
|
+
|
|
51
|
+
• `Optional` **hideIcon**: `boolean`
|
|
52
|
+
|
|
53
|
+
Hides the icon in the Element. Default is false.
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### style
|
|
58
|
+
|
|
59
|
+
• `Optional` **style**: [`StripeElementStyle`](internal_.StripeElementStyle.md)
|
|
60
|
+
|
|
61
|
+
Customize the appearance of an element using CSS properties passed in a [Style](https://stripe.com/docs/js/appendix/style) object,
|
|
62
|
+
which consists of CSS properties nested under objects for each variant.
|
|
63
|
+
|
|
64
|
+
#### Inherited from
|
|
65
|
+
|
|
66
|
+
[BaseElementOptions_2](internal_.BaseElementOptions_2.md).[style](internal_.BaseElementOptions_2.md#style)
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### value
|
|
71
|
+
|
|
72
|
+
• `Optional` **value**: `string`
|