@bigcommerce/checkout-sdk 1.271.1 → 1.271.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.d.ts +651 -730
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +763 -7438
- 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/dist/embedded-checkout.d.ts +218 -242
- package/dist/internal-mappers.d.ts +763 -762
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +126 -811
- package/docs/classes/CacheKeyResolver.md +58 -0
- package/package.json +2 -2
- package/docs/classes/CartChangedError.md +0 -76
- 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 -1645
- 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 -71
- 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 -141
- package/docs/enums/CheckoutIncludes.md +0 -29
- package/docs/enums/EmbeddedCheckoutEventType.md +0 -50
- 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/PaypalCommerceFormFieldType.md +0 -50
- package/docs/enums/RadiusUnit.md +0 -22
- package/docs/enums/StyleButtonColor.md +0 -43
- package/docs/enums/StyleButtonLabel.md +0 -43
- package/docs/enums/StyleButtonLayout.md +0 -22
- package/docs/enums/StyleButtonShape.md +0 -22
- package/docs/interfaces/Address.md +0 -164
- 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 -33
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +0 -33
- package/docs/interfaces/AdyenComponent.md +0 -72
- package/docs/interfaces/AdyenComponentEvents.md +0 -74
- package/docs/interfaces/AdyenComponentEvents_2.md +0 -74
- package/docs/interfaces/AdyenComponent_2.md +0 -72
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenIdealComponentOptions.md +0 -17
- package/docs/interfaces/AdyenPaymentMethodState.md +0 -21
- package/docs/interfaces/AdyenPaymentMethodState_2.md +0 -15
- package/docs/interfaces/AdyenPlaceholderData.md +0 -33
- package/docs/interfaces/AdyenPlaceholderData_2.md +0 -33
- package/docs/interfaces/AdyenThreeDS2Options.md +0 -97
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +0 -161
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +0 -135
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +0 -65
- package/docs/interfaces/AmazonPayOrderReference.md +0 -30
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +0 -100
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +0 -85
- package/docs/interfaces/AmazonPayV2ButtonParams.md +0 -71
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +0 -35
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +0 -24
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +0 -39
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +0 -26
- package/docs/interfaces/AmazonPayWidgetError.md +0 -25
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +0 -38
- package/docs/interfaces/ApplePayButtonInitializeOptions_2.md +0 -38
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +0 -77
- package/docs/interfaces/ApplePayCustomerInitializeOptions_2.md +0 -77
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/ApplePayPaymentInitializeOptions_2.md +0 -40
- package/docs/interfaces/BankInstrument.md +0 -112
- package/docs/interfaces/Banner.md +0 -22
- package/docs/interfaces/BaseAccountInstrument.md +0 -91
- package/docs/interfaces/BaseElementOptions.md +0 -17
- 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/BillingAddress.md +0 -182
- package/docs/interfaces/BillingAddressRequestBody.md +0 -153
- package/docs/interfaces/BlockElementStyles.md +0 -105
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +0 -72
- package/docs/interfaces/BlueSnapV2StyleProps.md +0 -29
- package/docs/interfaces/BodyStyles.md +0 -15
- package/docs/interfaces/BoltCustomerInitializeOptions.md +0 -30
- package/docs/interfaces/BoltPaymentInitializeOptions.md +0 -94
- package/docs/interfaces/BraintreeError.md +0 -35
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldOptions.md +0 -35
- 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/BraintreePaymentInitializeOptions.md +0 -101
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +0 -96
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +0 -87
- 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 -27
- 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/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 -115
- 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 -40
- 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 -99
- 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 -195
- package/docs/interfaces/CheckoutButtonInitializeOptions_3.md +0 -68
- package/docs/interfaces/CheckoutButtonInitializeOptions_4.md +0 -244
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +0 -22
- package/docs/interfaces/CheckoutButtonOptions.md +0 -55
- package/docs/interfaces/CheckoutButtonOptions_2.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/CheckoutRequestBody.md +0 -15
- package/docs/interfaces/CheckoutSelectors.md +0 -29
- package/docs/interfaces/CheckoutServiceOptions.md +0 -36
- package/docs/interfaces/CheckoutSettings.md +0 -201
- package/docs/interfaces/CheckoutStoreErrorSelector.md +0 -636
- package/docs/interfaces/CheckoutStoreSelector.md +0 -501
- package/docs/interfaces/CheckoutStoreStatusSelector.md +0 -758
- 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.md +0 -91
- package/docs/interfaces/CreditCardPlaceHolder.md +0 -29
- package/docs/interfaces/CreditCardPlaceHolder_2.md +0 -29
- package/docs/interfaces/CssProperties.md +0 -211
- package/docs/interfaces/CssProperties_2.md +0 -211
- 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 -84
- 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/CustomerInitializeOptions_3.md +0 -29
- package/docs/interfaces/CustomerInitializeOptions_4.md +0 -221
- package/docs/interfaces/CustomerPasswordRequirements.md +0 -36
- package/docs/interfaces/CustomerRequestOptions.md +0 -23
- package/docs/interfaces/CustomerRequestOptions_2.md +0 -60
- package/docs/interfaces/DigitalItem.md +0 -310
- package/docs/interfaces/DigitalRiverElementClasses.md +0 -67
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +0 -146
- package/docs/interfaces/Discount.md +0 -22
- 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 -76
- 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 -31
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +0 -42
- package/docs/interfaces/GooglePayPaymentInitializeOptions.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/HostedFormOptions.md +0 -114
- package/docs/interfaces/HostedInputBlurEvent.md +0 -28
- 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 -191
- 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/LinkStyles.md +0 -90
- package/docs/interfaces/LoadingIndicatorStyles.md +0 -29
- 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 -96
- 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 -36
- 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 -190
- package/docs/interfaces/OrderConsignment.md +0 -15
- 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/PayPalInstrument.md +0 -91
- package/docs/interfaces/PaymentInitializeOptions_3.md +0 -74
- package/docs/interfaces/PaymentInitializeOptions_4.md +0 -406
- package/docs/interfaces/PaymentMethod.md +0 -98
- package/docs/interfaces/PaymentMethodConfig.md +0 -120
- package/docs/interfaces/PaymentRequestOptions.md +0 -67
- package/docs/interfaces/PaymentRequestOptions_2.md +0 -67
- package/docs/interfaces/PaymentSettings.md +0 -22
- package/docs/interfaces/PaypalButtonInitializeOptions.md +0 -76
- package/docs/interfaces/PaypalButtonStyleOptions.md +0 -64
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +0 -50
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +0 -35
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -90
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +0 -28
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +0 -36
- package/docs/interfaces/PaypalCommerceFormOptions.md +0 -148
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +0 -186
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +0 -43
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +0 -36
- package/docs/interfaces/PaypalFieldsStyleOptions.md +0 -46
- package/docs/interfaces/PhysicalItem.md +0 -311
- 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/RequestOptions.md +0 -48
- package/docs/interfaces/RequestOptions_2.md +0 -44
- 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/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/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/StepStyles.md +0 -120
- package/docs/interfaces/StepTracker.md +0 -64
- package/docs/interfaces/StepTrackerConfig.md +0 -15
- package/docs/interfaces/StoreConfig.md +0 -109
- package/docs/interfaces/StoreCurrency.md +0 -56
- package/docs/interfaces/StoreLinks.md +0 -57
- package/docs/interfaces/StoreProfile.md +0 -71
- 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/StripeUPEPaymentInitializeOptions.md +0 -70
- 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/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/WithAccountCreation.md +0 -15
- package/docs/interfaces/WithApplePayButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +0 -15
- package/docs/interfaces/WithDocumentInstrument.md +0 -15
- package/docs/interfaces/WithMollieIssuerInstrument.md +0 -22
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +0 -30
- package/docs/interfaces/ZipCodeElementOptions.md +0 -15
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldsMap
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeFormFieldsMap
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [cardCode](BraintreeFormFieldsMap.md#cardcode)
|
|
10
|
-
- [cardExpiry](BraintreeFormFieldsMap.md#cardexpiry)
|
|
11
|
-
- [cardName](BraintreeFormFieldsMap.md#cardname)
|
|
12
|
-
- [cardNumber](BraintreeFormFieldsMap.md#cardnumber)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### cardCode
|
|
17
|
-
|
|
18
|
-
• `Optional` **cardCode**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
|
|
19
|
-
|
|
20
|
-
___
|
|
21
|
-
|
|
22
|
-
### cardExpiry
|
|
23
|
-
|
|
24
|
-
• **cardExpiry**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### cardName
|
|
29
|
-
|
|
30
|
-
• **cardName**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### cardNumber
|
|
35
|
-
|
|
36
|
-
• **cardNumber**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeFormOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeFormOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [fields](BraintreeFormOptions.md#fields)
|
|
10
|
-
- [styles](BraintreeFormOptions.md#styles)
|
|
11
|
-
|
|
12
|
-
### Methods
|
|
13
|
-
|
|
14
|
-
- [onBlur](BraintreeFormOptions.md#onblur)
|
|
15
|
-
- [onCardTypeChange](BraintreeFormOptions.md#oncardtypechange)
|
|
16
|
-
- [onEnter](BraintreeFormOptions.md#onenter)
|
|
17
|
-
- [onFocus](BraintreeFormOptions.md#onfocus)
|
|
18
|
-
- [onValidate](BraintreeFormOptions.md#onvalidate)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### fields
|
|
23
|
-
|
|
24
|
-
• **fields**: [`BraintreeFormFieldsMap`](BraintreeFormFieldsMap.md) \| [`BraintreeStoredCardFieldsMap`](BraintreeStoredCardFieldsMap.md)
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### styles
|
|
29
|
-
|
|
30
|
-
• `Optional` **styles**: [`BraintreeFormFieldStylesMap`](BraintreeFormFieldStylesMap.md)
|
|
31
|
-
|
|
32
|
-
## Methods
|
|
33
|
-
|
|
34
|
-
### onBlur
|
|
35
|
-
|
|
36
|
-
▸ `Optional` **onBlur**(`data`): `void`
|
|
37
|
-
|
|
38
|
-
#### Parameters
|
|
39
|
-
|
|
40
|
-
| Name | Type |
|
|
41
|
-
| :------ | :------ |
|
|
42
|
-
| `data` | [`BraintreeFormFieldKeyboardEventData`](BraintreeFormFieldKeyboardEventData.md) |
|
|
43
|
-
|
|
44
|
-
#### Returns
|
|
45
|
-
|
|
46
|
-
`void`
|
|
47
|
-
|
|
48
|
-
___
|
|
49
|
-
|
|
50
|
-
### onCardTypeChange
|
|
51
|
-
|
|
52
|
-
▸ `Optional` **onCardTypeChange**(`data`): `void`
|
|
53
|
-
|
|
54
|
-
#### Parameters
|
|
55
|
-
|
|
56
|
-
| Name | Type |
|
|
57
|
-
| :------ | :------ |
|
|
58
|
-
| `data` | [`BraintreeFormFieldCardTypeChangeEventData`](BraintreeFormFieldCardTypeChangeEventData.md) |
|
|
59
|
-
|
|
60
|
-
#### Returns
|
|
61
|
-
|
|
62
|
-
`void`
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
### onEnter
|
|
67
|
-
|
|
68
|
-
▸ `Optional` **onEnter**(`data`): `void`
|
|
69
|
-
|
|
70
|
-
#### Parameters
|
|
71
|
-
|
|
72
|
-
| Name | Type |
|
|
73
|
-
| :------ | :------ |
|
|
74
|
-
| `data` | [`BraintreeFormFieldKeyboardEventData`](BraintreeFormFieldKeyboardEventData.md) |
|
|
75
|
-
|
|
76
|
-
#### Returns
|
|
77
|
-
|
|
78
|
-
`void`
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
|
-
### onFocus
|
|
83
|
-
|
|
84
|
-
▸ `Optional` **onFocus**(`data`): `void`
|
|
85
|
-
|
|
86
|
-
#### Parameters
|
|
87
|
-
|
|
88
|
-
| Name | Type |
|
|
89
|
-
| :------ | :------ |
|
|
90
|
-
| `data` | [`BraintreeFormFieldKeyboardEventData`](BraintreeFormFieldKeyboardEventData.md) |
|
|
91
|
-
|
|
92
|
-
#### Returns
|
|
93
|
-
|
|
94
|
-
`void`
|
|
95
|
-
|
|
96
|
-
___
|
|
97
|
-
|
|
98
|
-
### onValidate
|
|
99
|
-
|
|
100
|
-
▸ `Optional` **onValidate**(`data`): `void`
|
|
101
|
-
|
|
102
|
-
#### Parameters
|
|
103
|
-
|
|
104
|
-
| Name | Type |
|
|
105
|
-
| :------ | :------ |
|
|
106
|
-
| `data` | [`BraintreeFormFieldValidateEventData`](BraintreeFormFieldValidateEventData.md) |
|
|
107
|
-
|
|
108
|
-
#### Returns
|
|
109
|
-
|
|
110
|
-
`void`
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreePaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Braintree payment
|
|
6
|
-
method. You need to provide the options if you want to support 3D Secure
|
|
7
|
-
authentication flow.
|
|
8
|
-
|
|
9
|
-
```html
|
|
10
|
-
<!-- These containers are where the hosted (iframed) credit card fields will be inserted -->
|
|
11
|
-
<div id="card-number"></div>
|
|
12
|
-
<div id="card-name"></div>
|
|
13
|
-
<div id="card-expiry"></div>
|
|
14
|
-
<div id="card-code"></div>
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
service.initializePayment({
|
|
19
|
-
methodId: 'braintree',
|
|
20
|
-
braintree: {
|
|
21
|
-
form: {
|
|
22
|
-
fields: {
|
|
23
|
-
cardNumber: { containerId: 'card-number' },
|
|
24
|
-
cardName: { containerId: 'card-name' },
|
|
25
|
-
cardExpiry: { containerId: 'card-expiry' },
|
|
26
|
-
cardCode: { containerId: 'card-code' },
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Additional options can be passed in to customize the fields and register
|
|
34
|
-
event callbacks.
|
|
35
|
-
|
|
36
|
-
```js
|
|
37
|
-
service.initializePayment({
|
|
38
|
-
methodId: 'braintree',
|
|
39
|
-
creditCard: {
|
|
40
|
-
form: {
|
|
41
|
-
fields: {
|
|
42
|
-
cardNumber: { containerId: 'card-number' },
|
|
43
|
-
cardName: { containerId: 'card-name' },
|
|
44
|
-
cardExpiry: { containerId: 'card-expiry' },
|
|
45
|
-
cardCode: { containerId: 'card-code' },
|
|
46
|
-
},
|
|
47
|
-
styles: {
|
|
48
|
-
default: {
|
|
49
|
-
color: '#000',
|
|
50
|
-
},
|
|
51
|
-
error: {
|
|
52
|
-
color: '#f00',
|
|
53
|
-
},
|
|
54
|
-
focus: {
|
|
55
|
-
color: '#0f0',
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
onBlur({ fieldType }) {
|
|
59
|
-
console.log(fieldType);
|
|
60
|
-
},
|
|
61
|
-
onFocus({ fieldType }) {
|
|
62
|
-
console.log(fieldType);
|
|
63
|
-
},
|
|
64
|
-
onEnter({ fieldType }) {
|
|
65
|
-
console.log(fieldType);
|
|
66
|
-
},
|
|
67
|
-
onCardTypeChange({ cardType }) {
|
|
68
|
-
console.log(cardType);
|
|
69
|
-
},
|
|
70
|
-
onValidate({ errors, isValid }) {
|
|
71
|
-
console.log(errors);
|
|
72
|
-
console.log(isValid);
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
});
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
## Table of contents
|
|
80
|
-
|
|
81
|
-
### Properties
|
|
82
|
-
|
|
83
|
-
- [form](BraintreePaymentInitializeOptions.md#form)
|
|
84
|
-
- [threeDSecure](BraintreePaymentInitializeOptions.md#threedsecure)
|
|
85
|
-
|
|
86
|
-
## Properties
|
|
87
|
-
|
|
88
|
-
### form
|
|
89
|
-
|
|
90
|
-
• `Optional` **form**: [`BraintreeFormOptions`](BraintreeFormOptions.md)
|
|
91
|
-
|
|
92
|
-
**`alpha`**
|
|
93
|
-
Please note that this option is currently in an early stage of
|
|
94
|
-
development. Therefore the API is unstable and not ready for public
|
|
95
|
-
consumption.
|
|
96
|
-
|
|
97
|
-
___
|
|
98
|
-
|
|
99
|
-
### threeDSecure
|
|
100
|
-
|
|
101
|
-
• `Optional` **threeDSecure**: [`BraintreeThreeDSecureOptions`](BraintreeThreeDSecureOptions.md)
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreePaypalButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [messagingContainerId](BraintreePaypalButtonInitializeOptions.md#messagingcontainerid)
|
|
10
|
-
- [shippingAddress](BraintreePaypalButtonInitializeOptions.md#shippingaddress)
|
|
11
|
-
- [style](BraintreePaypalButtonInitializeOptions.md#style)
|
|
12
|
-
|
|
13
|
-
### Methods
|
|
14
|
-
|
|
15
|
-
- [onAuthorizeError](BraintreePaypalButtonInitializeOptions.md#onauthorizeerror)
|
|
16
|
-
- [onError](BraintreePaypalButtonInitializeOptions.md#onerror)
|
|
17
|
-
- [onPaymentError](BraintreePaypalButtonInitializeOptions.md#onpaymenterror)
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### messagingContainerId
|
|
22
|
-
|
|
23
|
-
• `Optional` **messagingContainerId**: `string`
|
|
24
|
-
|
|
25
|
-
The ID of a container which the messaging should be inserted.
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### shippingAddress
|
|
30
|
-
|
|
31
|
-
• `Optional` **shippingAddress**: ``null`` \| [`Address`](Address.md)
|
|
32
|
-
|
|
33
|
-
Address to be used for shipping.
|
|
34
|
-
If not provided, it will use the first saved address from the active customer.
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### style
|
|
39
|
-
|
|
40
|
-
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](PaypalButtonStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"`` \| ``"height"``\>
|
|
41
|
-
|
|
42
|
-
A set of styling options for the checkout button.
|
|
43
|
-
|
|
44
|
-
## Methods
|
|
45
|
-
|
|
46
|
-
### onAuthorizeError
|
|
47
|
-
|
|
48
|
-
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
49
|
-
|
|
50
|
-
A callback that gets called if unable to authorize and tokenize payment.
|
|
51
|
-
|
|
52
|
-
#### Parameters
|
|
53
|
-
|
|
54
|
-
| Name | Type | Description |
|
|
55
|
-
| :------ | :------ | :------ |
|
|
56
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
57
|
-
|
|
58
|
-
#### Returns
|
|
59
|
-
|
|
60
|
-
`void`
|
|
61
|
-
|
|
62
|
-
___
|
|
63
|
-
|
|
64
|
-
### onError
|
|
65
|
-
|
|
66
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
67
|
-
|
|
68
|
-
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
69
|
-
|
|
70
|
-
#### Parameters
|
|
71
|
-
|
|
72
|
-
| Name | Type | Description |
|
|
73
|
-
| :------ | :------ | :------ |
|
|
74
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
75
|
-
|
|
76
|
-
#### Returns
|
|
77
|
-
|
|
78
|
-
`void`
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
|
-
### onPaymentError
|
|
83
|
-
|
|
84
|
-
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
85
|
-
|
|
86
|
-
A callback that gets called if unable to submit payment.
|
|
87
|
-
|
|
88
|
-
#### Parameters
|
|
89
|
-
|
|
90
|
-
| Name | Type | Description |
|
|
91
|
-
| :------ | :------ | :------ |
|
|
92
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
93
|
-
|
|
94
|
-
#### Returns
|
|
95
|
-
|
|
96
|
-
`void`
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalCreditButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreePaypalCreditButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [shippingAddress](BraintreePaypalCreditButtonInitializeOptions.md#shippingaddress)
|
|
10
|
-
- [style](BraintreePaypalCreditButtonInitializeOptions.md#style)
|
|
11
|
-
|
|
12
|
-
### Methods
|
|
13
|
-
|
|
14
|
-
- [onAuthorizeError](BraintreePaypalCreditButtonInitializeOptions.md#onauthorizeerror)
|
|
15
|
-
- [onError](BraintreePaypalCreditButtonInitializeOptions.md#onerror)
|
|
16
|
-
- [onPaymentError](BraintreePaypalCreditButtonInitializeOptions.md#onpaymenterror)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### shippingAddress
|
|
21
|
-
|
|
22
|
-
• `Optional` **shippingAddress**: ``null`` \| [`Address`](Address.md)
|
|
23
|
-
|
|
24
|
-
Address to be used for shipping.
|
|
25
|
-
If not provided, it will use the first saved address from the active customer.
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### style
|
|
30
|
-
|
|
31
|
-
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](PaypalButtonStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"`` \| ``"height"``\>
|
|
32
|
-
|
|
33
|
-
A set of styling options for the checkout button.
|
|
34
|
-
|
|
35
|
-
## Methods
|
|
36
|
-
|
|
37
|
-
### onAuthorizeError
|
|
38
|
-
|
|
39
|
-
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
40
|
-
|
|
41
|
-
A callback that gets called if unable to authorize and tokenize payment.
|
|
42
|
-
|
|
43
|
-
#### Parameters
|
|
44
|
-
|
|
45
|
-
| Name | Type | Description |
|
|
46
|
-
| :------ | :------ | :------ |
|
|
47
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
48
|
-
|
|
49
|
-
#### Returns
|
|
50
|
-
|
|
51
|
-
`void`
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
### onError
|
|
56
|
-
|
|
57
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
58
|
-
|
|
59
|
-
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
60
|
-
|
|
61
|
-
#### Parameters
|
|
62
|
-
|
|
63
|
-
| Name | Type | Description |
|
|
64
|
-
| :------ | :------ | :------ |
|
|
65
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
66
|
-
|
|
67
|
-
#### Returns
|
|
68
|
-
|
|
69
|
-
`void`
|
|
70
|
-
|
|
71
|
-
___
|
|
72
|
-
|
|
73
|
-
### onPaymentError
|
|
74
|
-
|
|
75
|
-
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
76
|
-
|
|
77
|
-
A callback that gets called if unable to submit payment.
|
|
78
|
-
|
|
79
|
-
#### Parameters
|
|
80
|
-
|
|
81
|
-
| Name | Type | Description |
|
|
82
|
-
| :------ | :------ | :------ |
|
|
83
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
84
|
-
|
|
85
|
-
#### Returns
|
|
86
|
-
|
|
87
|
-
`void`
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeStoredCardFieldOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeStoredCardFieldOptions
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
|
|
8
|
-
|
|
9
|
-
↳ **`BraintreeStoredCardFieldOptions`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [accessibilityLabel](BraintreeStoredCardFieldOptions.md#accessibilitylabel)
|
|
16
|
-
- [containerId](BraintreeStoredCardFieldOptions.md#containerid)
|
|
17
|
-
- [instrumentId](BraintreeStoredCardFieldOptions.md#instrumentid)
|
|
18
|
-
- [placeholder](BraintreeStoredCardFieldOptions.md#placeholder)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### accessibilityLabel
|
|
23
|
-
|
|
24
|
-
• `Optional` **accessibilityLabel**: `string`
|
|
25
|
-
|
|
26
|
-
#### Inherited from
|
|
27
|
-
|
|
28
|
-
[BraintreeFormFieldOptions](BraintreeFormFieldOptions.md).[accessibilityLabel](BraintreeFormFieldOptions.md#accessibilitylabel)
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### containerId
|
|
33
|
-
|
|
34
|
-
• **containerId**: `string`
|
|
35
|
-
|
|
36
|
-
#### Inherited from
|
|
37
|
-
|
|
38
|
-
[BraintreeFormFieldOptions](BraintreeFormFieldOptions.md).[containerId](BraintreeFormFieldOptions.md#containerid)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### instrumentId
|
|
43
|
-
|
|
44
|
-
• **instrumentId**: `string`
|
|
45
|
-
|
|
46
|
-
___
|
|
47
|
-
|
|
48
|
-
### placeholder
|
|
49
|
-
|
|
50
|
-
• `Optional` **placeholder**: `string`
|
|
51
|
-
|
|
52
|
-
#### Inherited from
|
|
53
|
-
|
|
54
|
-
[BraintreeFormFieldOptions](BraintreeFormFieldOptions.md).[placeholder](BraintreeFormFieldOptions.md#placeholder)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeStoredCardFieldsMap
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeStoredCardFieldsMap
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [cardCodeVerification](BraintreeStoredCardFieldsMap.md#cardcodeverification)
|
|
10
|
-
- [cardNumberVerification](BraintreeStoredCardFieldsMap.md#cardnumberverification)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### cardCodeVerification
|
|
15
|
-
|
|
16
|
-
• `Optional` **cardCodeVerification**: [`BraintreeStoredCardFieldOptions`](BraintreeStoredCardFieldOptions.md)
|
|
17
|
-
|
|
18
|
-
___
|
|
19
|
-
|
|
20
|
-
### cardNumberVerification
|
|
21
|
-
|
|
22
|
-
• `Optional` **cardNumberVerification**: [`BraintreeStoredCardFieldOptions`](BraintreeStoredCardFieldOptions.md)
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeThreeDSecureOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeThreeDSecureOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to support 3D Secure authentication flow.
|
|
6
|
-
|
|
7
|
-
If the customer uses a credit card that has 3D Secure enabled, they will be
|
|
8
|
-
asked to verify their identity when they pay. The verification is done
|
|
9
|
-
through a web page via an iframe provided by the card issuer.
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Methods
|
|
14
|
-
|
|
15
|
-
- [addFrame](BraintreeThreeDSecureOptions.md#addframe)
|
|
16
|
-
- [removeFrame](BraintreeThreeDSecureOptions.md#removeframe)
|
|
17
|
-
|
|
18
|
-
## Methods
|
|
19
|
-
|
|
20
|
-
### addFrame
|
|
21
|
-
|
|
22
|
-
▸ **addFrame**(`error`, `iframe`, `cancel`): `void`
|
|
23
|
-
|
|
24
|
-
A callback that gets called when the iframe is ready to be added to the
|
|
25
|
-
current page. It is responsible for determining where the iframe should
|
|
26
|
-
be inserted in the DOM.
|
|
27
|
-
|
|
28
|
-
#### Parameters
|
|
29
|
-
|
|
30
|
-
| Name | Type | Description |
|
|
31
|
-
| :------ | :------ | :------ |
|
|
32
|
-
| `error` | `undefined` \| `Error` | Any error raised during the verification process; undefined if there is none. |
|
|
33
|
-
| `iframe` | `HTMLIFrameElement` | The iframe element containing the verification web page provided by the card issuer. |
|
|
34
|
-
| `cancel` | () => `undefined` \| `Promise`<[`BraintreeVerifyPayload`](BraintreeVerifyPayload.md)\> | A function, when called, will cancel the verification process and remove the iframe. |
|
|
35
|
-
|
|
36
|
-
#### Returns
|
|
37
|
-
|
|
38
|
-
`void`
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### removeFrame
|
|
43
|
-
|
|
44
|
-
▸ **removeFrame**(): `void`
|
|
45
|
-
|
|
46
|
-
A callback that gets called when the iframe is about to be removed from
|
|
47
|
-
the current page.
|
|
48
|
-
|
|
49
|
-
#### Returns
|
|
50
|
-
|
|
51
|
-
`void`
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVenmoButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeVenmoButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Methods
|
|
8
|
-
|
|
9
|
-
- [onError](BraintreeVenmoButtonInitializeOptions.md#onerror)
|
|
10
|
-
|
|
11
|
-
## Methods
|
|
12
|
-
|
|
13
|
-
### onError
|
|
14
|
-
|
|
15
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
16
|
-
|
|
17
|
-
A callback that gets called on any error.
|
|
18
|
-
|
|
19
|
-
#### Parameters
|
|
20
|
-
|
|
21
|
-
| Name | Type | Description |
|
|
22
|
-
| :------ | :------ | :------ |
|
|
23
|
-
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
24
|
-
|
|
25
|
-
#### Returns
|
|
26
|
-
|
|
27
|
-
`void`
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVerifyPayload
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeVerifyPayload
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [description](BraintreeVerifyPayload.md#description)
|
|
10
|
-
- [details](BraintreeVerifyPayload.md#details)
|
|
11
|
-
- [liabilityShiftPossible](BraintreeVerifyPayload.md#liabilityshiftpossible)
|
|
12
|
-
- [liabilityShifted](BraintreeVerifyPayload.md#liabilityshifted)
|
|
13
|
-
- [nonce](BraintreeVerifyPayload.md#nonce)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### description
|
|
18
|
-
|
|
19
|
-
• **description**: `string`
|
|
20
|
-
|
|
21
|
-
___
|
|
22
|
-
|
|
23
|
-
### details
|
|
24
|
-
|
|
25
|
-
• **details**: `Object`
|
|
26
|
-
|
|
27
|
-
#### Type declaration
|
|
28
|
-
|
|
29
|
-
| Name | Type |
|
|
30
|
-
| :------ | :------ |
|
|
31
|
-
| `cardType` | `string` |
|
|
32
|
-
| `lastFour` | `string` |
|
|
33
|
-
| `lastTwo` | `string` |
|
|
34
|
-
|
|
35
|
-
___
|
|
36
|
-
|
|
37
|
-
### liabilityShiftPossible
|
|
38
|
-
|
|
39
|
-
• **liabilityShiftPossible**: `boolean`
|
|
40
|
-
|
|
41
|
-
___
|
|
42
|
-
|
|
43
|
-
### liabilityShifted
|
|
44
|
-
|
|
45
|
-
• **liabilityShifted**: `boolean`
|
|
46
|
-
|
|
47
|
-
___
|
|
48
|
-
|
|
49
|
-
### nonce
|
|
50
|
-
|
|
51
|
-
• **nonce**: `string`
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / BraintreeVisaCheckoutCustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeVisaCheckoutCustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [container](BraintreeVisaCheckoutCustomerInitializeOptions.md#container)
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [onError](BraintreeVisaCheckoutCustomerInitializeOptions.md#onerror)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### container
|
|
18
|
-
|
|
19
|
-
• **container**: `string`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### onError
|
|
24
|
-
|
|
25
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
| Name | Type |
|
|
30
|
-
| :------ | :------ |
|
|
31
|
-
| `error` | `Error` |
|
|
32
|
-
|
|
33
|
-
#### Returns
|
|
34
|
-
|
|
35
|
-
`void`
|