@bigcommerce/checkout-sdk 1.271.2 → 1.272.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/CHANGELOG.md +21 -0
- package/dist/checkout-button.d.ts +671 -651
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +7275 -763
- 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 +242 -218
- package/dist/internal-mappers.d.ts +762 -763
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +756 -126
- package/docs/classes/CartChangedError.md +76 -0
- package/docs/classes/CheckoutButtonErrorSelector.md +52 -0
- package/docs/classes/CheckoutButtonInitializer.md +177 -0
- package/docs/classes/CheckoutButtonStatusSelector.md +52 -0
- package/docs/classes/CheckoutService.md +1645 -0
- package/docs/classes/CurrencyService.md +54 -0
- package/docs/classes/EmbeddedCheckout.md +40 -0
- package/docs/classes/LanguageService.md +101 -0
- package/docs/classes/RequestError.md +106 -0
- package/docs/classes/StandardError.md +71 -0
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +57 -0
- package/docs/enums/AmazonPayV2LedgerCurrency.md +36 -0
- package/docs/enums/AmazonPayV2PayOptions.md +26 -0
- package/docs/enums/AmazonPayV2Placement.md +53 -0
- package/docs/enums/BraintreeFormFieldType.md +50 -0
- package/docs/enums/ButtonColor.md +29 -0
- package/docs/enums/ButtonType.md +22 -0
- package/docs/enums/CheckoutButtonMethodType.md +141 -0
- package/docs/enums/CheckoutIncludes.md +29 -0
- package/docs/enums/EmbeddedCheckoutEventType.md +50 -0
- package/docs/enums/HostedFieldType.md +50 -0
- package/docs/enums/HostedInputEventType.md +85 -0
- package/docs/enums/IconStyle.md +22 -0
- package/docs/enums/PaypalButtonStyleColorOption.md +36 -0
- package/docs/enums/PaypalButtonStyleLabelOption.md +43 -0
- package/docs/enums/PaypalButtonStyleLayoutOption.md +22 -0
- package/docs/enums/PaypalButtonStyleShapeOption.md +22 -0
- package/docs/enums/PaypalButtonStyleSizeOption.md +36 -0
- package/docs/enums/PaypalCommerceFormFieldType.md +50 -0
- package/docs/enums/RadiusUnit.md +22 -0
- package/docs/enums/StyleButtonColor.md +43 -0
- package/docs/enums/StyleButtonLabel.md +43 -0
- package/docs/enums/StyleButtonLayout.md +22 -0
- package/docs/enums/StyleButtonShape.md +22 -0
- package/docs/interfaces/Address.md +164 -0
- package/docs/interfaces/AddressRequestBody.md +100 -0
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +68 -0
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +66 -0
- package/docs/interfaces/AdyenAdditionalActionOptions.md +106 -0
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +106 -0
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +33 -0
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +33 -0
- package/docs/interfaces/AdyenComponent.md +72 -0
- package/docs/interfaces/AdyenComponentEvents.md +74 -0
- package/docs/interfaces/AdyenComponentEvents_2.md +74 -0
- package/docs/interfaces/AdyenComponent_2.md +72 -0
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +185 -0
- package/docs/interfaces/AdyenIdealComponentOptions.md +17 -0
- package/docs/interfaces/AdyenPaymentMethodState.md +21 -0
- package/docs/interfaces/AdyenPaymentMethodState_2.md +15 -0
- package/docs/interfaces/AdyenPlaceholderData.md +33 -0
- package/docs/interfaces/AdyenPlaceholderData_2.md +33 -0
- package/docs/interfaces/AdyenThreeDS2Options.md +97 -0
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +161 -0
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +185 -0
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +135 -0
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +65 -0
- package/docs/interfaces/AmazonPayOrderReference.md +30 -0
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +100 -0
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +85 -0
- package/docs/interfaces/AmazonPayV2ButtonParams.md +71 -0
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +35 -0
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +24 -0
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +39 -0
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +26 -0
- package/docs/interfaces/AmazonPayWidgetError.md +25 -0
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +38 -0
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +77 -0
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/BankInstrument.md +112 -0
- package/docs/interfaces/Banner.md +22 -0
- package/docs/interfaces/BaseAccountInstrument.md +91 -0
- package/docs/interfaces/BaseElementOptions.md +17 -0
- package/docs/interfaces/BaseElementOptions_2.md +48 -0
- package/docs/interfaces/BaseIndividualElementOptions.md +67 -0
- package/docs/interfaces/BaseInstrument.md +58 -0
- package/docs/interfaces/BillingAddress.md +182 -0
- package/docs/interfaces/BillingAddressRequestBody.md +153 -0
- package/docs/interfaces/BlockElementStyles.md +105 -0
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +72 -0
- package/docs/interfaces/BlueSnapV2StyleProps.md +29 -0
- package/docs/interfaces/BodyStyles.md +15 -0
- package/docs/interfaces/BoltCustomerInitializeOptions.md +30 -0
- package/docs/interfaces/BoltPaymentInitializeOptions.md +94 -0
- package/docs/interfaces/BraintreeError.md +35 -0
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +15 -0
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +15 -0
- package/docs/interfaces/BraintreeFormFieldOptions.md +35 -0
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +29 -0
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +29 -0
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +33 -0
- package/docs/interfaces/BraintreeFormFieldsMap.md +36 -0
- package/docs/interfaces/BraintreeFormOptions.md +110 -0
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +101 -0
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +96 -0
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +87 -0
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +54 -0
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +22 -0
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +51 -0
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +27 -0
- package/docs/interfaces/BraintreeVerifyPayload.md +51 -0
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +35 -0
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +70 -0
- package/docs/interfaces/BrowserInfo.md +50 -0
- package/docs/interfaces/ButtonResponse.md +19 -0
- package/docs/interfaces/ButtonStyles.md +141 -0
- package/docs/interfaces/CardCvcElementOptions.md +72 -0
- package/docs/interfaces/CardDataPaymentMethodState.md +15 -0
- package/docs/interfaces/CardDataPaymentMethodState_2.md +15 -0
- package/docs/interfaces/CardElementOptions.md +91 -0
- package/docs/interfaces/CardExpiryElementOptions.md +72 -0
- package/docs/interfaces/CardInstrument.md +115 -0
- package/docs/interfaces/CardNumberElementOptions.md +88 -0
- package/docs/interfaces/CardPaymentMethodState.md +60 -0
- package/docs/interfaces/CardPaymentMethodState_2.md +43 -0
- package/docs/interfaces/CardState.md +40 -0
- package/docs/interfaces/CardStateErrors.md +7 -0
- package/docs/interfaces/CardStateErrors_2.md +7 -0
- package/docs/interfaces/CardState_2.md +40 -0
- package/docs/interfaces/Cart.md +99 -0
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +15 -0
- package/docs/interfaces/ChasePayInitializeOptions.md +98 -0
- package/docs/interfaces/CheckableInputStyles.md +175 -0
- package/docs/interfaces/ChecklistStyles.md +127 -0
- package/docs/interfaces/Checkout.md +195 -0
- package/docs/interfaces/CheckoutButtonInitializeOptions.md +244 -0
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +22 -0
- package/docs/interfaces/CheckoutButtonOptions.md +55 -0
- package/docs/interfaces/CheckoutButtonSelectors.md +22 -0
- package/docs/interfaces/CheckoutParams.md +15 -0
- package/docs/interfaces/CheckoutPayment.md +42 -0
- package/docs/interfaces/CheckoutRequestBody.md +15 -0
- package/docs/interfaces/CheckoutSelectors.md +29 -0
- package/docs/interfaces/CheckoutServiceOptions.md +36 -0
- package/docs/interfaces/CheckoutSettings.md +201 -0
- package/docs/interfaces/CheckoutStoreErrorSelector.md +636 -0
- package/docs/interfaces/CheckoutStoreSelector.md +501 -0
- package/docs/interfaces/CheckoutStoreStatusSelector.md +758 -0
- package/docs/interfaces/Consignment.md +71 -0
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +29 -0
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +29 -0
- package/docs/interfaces/ConsignmentCreateRequestBody.md +36 -0
- package/docs/interfaces/ConsignmentLineItem.md +22 -0
- package/docs/interfaces/ConsignmentPickupOption.md +15 -0
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +43 -0
- package/docs/interfaces/Coordinates.md +22 -0
- package/docs/interfaces/Country.md +43 -0
- package/docs/interfaces/Coupon.md +43 -0
- package/docs/interfaces/CreditCardInstrument.md +85 -0
- package/docs/interfaces/CreditCardPaymentInitializeOptions.md +91 -0
- package/docs/interfaces/CreditCardPlaceHolder.md +29 -0
- package/docs/interfaces/CreditCardPlaceHolder_2.md +29 -0
- package/docs/interfaces/CssProperties.md +211 -0
- package/docs/interfaces/CssProperties_2.md +211 -0
- package/docs/interfaces/Currency.md +36 -0
- package/docs/interfaces/CustomError.md +43 -0
- package/docs/interfaces/CustomItem.md +50 -0
- package/docs/interfaces/Customer.md +84 -0
- package/docs/interfaces/CustomerAccountRequestBody.md +50 -0
- package/docs/interfaces/CustomerAddress.md +182 -0
- package/docs/interfaces/CustomerCredentials.md +22 -0
- package/docs/interfaces/CustomerGroup.md +22 -0
- package/docs/interfaces/CustomerInitializeOptions.md +221 -0
- package/docs/interfaces/CustomerPasswordRequirements.md +36 -0
- package/docs/interfaces/CustomerRequestOptions.md +60 -0
- package/docs/interfaces/DigitalItem.md +310 -0
- package/docs/interfaces/DigitalRiverElementClasses.md +67 -0
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +146 -0
- package/docs/interfaces/Discount.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutError.md +29 -0
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +109 -0
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +22 -0
- package/docs/interfaces/EmbeddedCheckoutOptions.md +134 -0
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +15 -0
- package/docs/interfaces/EmbeddedCheckoutStyles.md +141 -0
- package/docs/interfaces/EmbeddedContentOptions.md +15 -0
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +76 -0
- package/docs/interfaces/FlashMessage.md +29 -0
- package/docs/interfaces/FormField.md +113 -0
- package/docs/interfaces/FormFieldItem.md +22 -0
- package/docs/interfaces/FormFieldOptions.md +29 -0
- package/docs/interfaces/FormFields.md +29 -0
- package/docs/interfaces/GatewayOrderPayment.md +108 -0
- package/docs/interfaces/GiftCertificate.md +43 -0
- package/docs/interfaces/GiftCertificateItem.md +78 -0
- package/docs/interfaces/GiftCertificateOrderPayment.md +94 -0
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +31 -0
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +42 -0
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +93 -0
- package/docs/interfaces/HostedCardFieldOptions.md +35 -0
- package/docs/interfaces/HostedCardFieldOptionsMap.md +36 -0
- package/docs/interfaces/HostedFieldStylesMap.md +29 -0
- package/docs/interfaces/HostedFormOptions.md +114 -0
- package/docs/interfaces/HostedInputBlurEvent.md +28 -0
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +28 -0
- package/docs/interfaces/HostedInputEnterEvent.md +28 -0
- package/docs/interfaces/HostedInputFocusEvent.md +28 -0
- package/docs/interfaces/HostedInputValidateErrorData.md +29 -0
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +50 -0
- package/docs/interfaces/HostedInputValidateEvent.md +22 -0
- package/docs/interfaces/HostedInputValidateResults.md +22 -0
- package/docs/interfaces/HostedInstrument.md +22 -0
- package/docs/interfaces/HostedStoredCardFieldOptions.md +54 -0
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +22 -0
- package/docs/interfaces/IbanElementOptions.md +82 -0
- package/docs/interfaces/IdealElementOptions.md +70 -0
- package/docs/interfaces/IndividualCardElementOptions.md +36 -0
- package/docs/interfaces/InitializationStrategy.md +21 -0
- package/docs/interfaces/InlineElementStyles.md +53 -0
- package/docs/interfaces/InputDetail.md +80 -0
- package/docs/interfaces/InputDetail_2.md +80 -0
- package/docs/interfaces/InputStyles.md +152 -0
- package/docs/interfaces/Item.md +22 -0
- package/docs/interfaces/Item_2.md +26 -0
- package/docs/interfaces/Item_3.md +26 -0
- package/docs/interfaces/KlarnaLoadResponse.md +28 -0
- package/docs/interfaces/KlarnaLoadResponse_2.md +28 -0
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +73 -0
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +73 -0
- package/docs/interfaces/LabelStyles.md +76 -0
- package/docs/interfaces/LanguageConfig.md +57 -0
- package/docs/interfaces/LineItem.md +191 -0
- package/docs/interfaces/LineItemCategory.md +15 -0
- package/docs/interfaces/LineItemMap.md +36 -0
- package/docs/interfaces/LineItemOption.md +36 -0
- package/docs/interfaces/LineItemSocialData.md +36 -0
- package/docs/interfaces/LinkStyles.md +90 -0
- package/docs/interfaces/LoadingIndicatorStyles.md +29 -0
- package/docs/interfaces/Locales.md +7 -0
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +35 -0
- package/docs/interfaces/MolliePaymentInitializeOptions.md +96 -0
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +57 -0
- package/docs/interfaces/MonerisStylingProps.md +80 -0
- package/docs/interfaces/NonceGenerationError.md +29 -0
- package/docs/interfaces/NonceInstrument.md +36 -0
- package/docs/interfaces/Option.md +22 -0
- package/docs/interfaces/OptionsResponse.md +77 -0
- package/docs/interfaces/OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/Order.md +190 -0
- package/docs/interfaces/OrderConsignment.md +15 -0
- package/docs/interfaces/OrderPayment.md +58 -0
- package/docs/interfaces/OrderPaymentRequestBody.md +39 -0
- package/docs/interfaces/OrderRequestBody.md +33 -0
- package/docs/interfaces/OrderShippingConsignment.md +218 -0
- package/docs/interfaces/PasswordRequirements.md +36 -0
- package/docs/interfaces/PayPalInstrument.md +91 -0
- package/docs/interfaces/PaymentInitializeOptions.md +406 -0
- package/docs/interfaces/PaymentMethod.md +98 -0
- package/docs/interfaces/PaymentMethodConfig.md +120 -0
- package/docs/interfaces/PaymentRequestOptions.md +67 -0
- package/docs/interfaces/PaymentSettings.md +22 -0
- package/docs/interfaces/PaypalButtonInitializeOptions.md +76 -0
- package/docs/interfaces/PaypalButtonStyleOptions.md +64 -0
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +50 -0
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +35 -0
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +26 -0
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +90 -0
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +15 -0
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +15 -0
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +28 -0
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +29 -0
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +29 -0
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +33 -0
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +36 -0
- package/docs/interfaces/PaypalCommerceFormOptions.md +148 -0
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +186 -0
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +43 -0
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +22 -0
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +26 -0
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +36 -0
- package/docs/interfaces/PaypalFieldsStyleOptions.md +46 -0
- package/docs/interfaces/PhysicalItem.md +311 -0
- package/docs/interfaces/PickupMethod.md +43 -0
- package/docs/interfaces/PickupOptionRequestBody.md +22 -0
- package/docs/interfaces/PickupOptionResult.md +15 -0
- package/docs/interfaces/Promotion.md +15 -0
- package/docs/interfaces/Radius.md +22 -0
- package/docs/interfaces/Region.md +22 -0
- package/docs/interfaces/RequestOptions.md +48 -0
- package/docs/interfaces/SearchArea.md +22 -0
- package/docs/interfaces/SepaPlaceHolder.md +22 -0
- package/docs/interfaces/SepaPlaceHolder_2.md +22 -0
- package/docs/interfaces/ShippingInitializeOptions.md +88 -0
- package/docs/interfaces/ShippingOption.md +64 -0
- package/docs/interfaces/ShippingRequestOptions.md +65 -0
- package/docs/interfaces/ShopperConfig.md +29 -0
- package/docs/interfaces/ShopperCurrency.md +94 -0
- package/docs/interfaces/SignInEmail.md +22 -0
- package/docs/interfaces/SignInEmailRequestBody.md +22 -0
- package/docs/interfaces/SpamProtectionOptions.md +25 -0
- package/docs/interfaces/SquareFormElement.md +28 -0
- package/docs/interfaces/SquarePaymentInitializeOptions.md +131 -0
- package/docs/interfaces/StepStyles.md +120 -0
- package/docs/interfaces/StepTracker.md +64 -0
- package/docs/interfaces/StepTrackerConfig.md +15 -0
- package/docs/interfaces/StoreConfig.md +109 -0
- package/docs/interfaces/StoreCurrency.md +56 -0
- package/docs/interfaces/StoreLinks.md +57 -0
- package/docs/interfaces/StoreProfile.md +71 -0
- package/docs/interfaces/StripeElementCSSProperties.md +170 -0
- package/docs/interfaces/StripeElementClasses.md +63 -0
- package/docs/interfaces/StripeElementStyle.md +44 -0
- package/docs/interfaces/StripeElementStyleVariant.md +285 -0
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +70 -0
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +76 -0
- package/docs/interfaces/StyleOptions.md +44 -0
- package/docs/interfaces/StyleOptions_2.md +44 -0
- package/docs/interfaces/SubInputDetail.md +62 -0
- package/docs/interfaces/SubInputDetail_2.md +62 -0
- package/docs/interfaces/Subscriptions.md +29 -0
- package/docs/interfaces/Tax.md +22 -0
- package/docs/interfaces/TextInputStyles.md +175 -0
- package/docs/interfaces/ThreeDSecure.md +50 -0
- package/docs/interfaces/ThreeDSecureToken.md +15 -0
- package/docs/interfaces/TranslationData.md +7 -0
- package/docs/interfaces/Translations.md +7 -0
- package/docs/interfaces/UnknownObject.md +7 -0
- package/docs/interfaces/VaultedInstrument.md +29 -0
- package/docs/interfaces/WechatDataPaymentMethodState.md +15 -0
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +15 -0
- package/docs/interfaces/WechatState.md +15 -0
- package/docs/interfaces/WechatState_2.md +15 -0
- package/docs/interfaces/WithAccountCreation.md +15 -0
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +22 -0
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +22 -0
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +15 -0
- package/docs/interfaces/WithDocumentInstrument.md +15 -0
- package/docs/interfaces/WithMollieIssuerInstrument.md +22 -0
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +30 -0
- package/docs/interfaces/ZipCodeElementOptions.md +15 -0
- package/package.json +2 -2
- package/docs/classes/CacheKeyResolver.md +0 -58
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CartChangedError
|
|
2
|
+
|
|
3
|
+
# Class: CartChangedError
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`StandardError`](StandardError.md)
|
|
8
|
+
|
|
9
|
+
↳ **`CartChangedError`**
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Constructors
|
|
14
|
+
|
|
15
|
+
- [constructor](CartChangedError.md#constructor)
|
|
16
|
+
|
|
17
|
+
### Properties
|
|
18
|
+
|
|
19
|
+
- [data](CartChangedError.md#data)
|
|
20
|
+
- [name](CartChangedError.md#name)
|
|
21
|
+
- [type](CartChangedError.md#type)
|
|
22
|
+
|
|
23
|
+
## Constructors
|
|
24
|
+
|
|
25
|
+
### constructor
|
|
26
|
+
|
|
27
|
+
• **new CartChangedError**(`previous`, `updated`)
|
|
28
|
+
|
|
29
|
+
#### Parameters
|
|
30
|
+
|
|
31
|
+
| Name | Type |
|
|
32
|
+
| :------ | :------ |
|
|
33
|
+
| `previous` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
34
|
+
| `updated` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
35
|
+
|
|
36
|
+
#### Overrides
|
|
37
|
+
|
|
38
|
+
[StandardError](StandardError.md).[constructor](StandardError.md#constructor)
|
|
39
|
+
|
|
40
|
+
## Properties
|
|
41
|
+
|
|
42
|
+
### data
|
|
43
|
+
|
|
44
|
+
• **data**: `Object`
|
|
45
|
+
|
|
46
|
+
**`alpha`**
|
|
47
|
+
Please note that this option is currently in an early stage of
|
|
48
|
+
development. Therefore the API is unstable and not ready for public
|
|
49
|
+
consumption.
|
|
50
|
+
|
|
51
|
+
#### Type declaration
|
|
52
|
+
|
|
53
|
+
| Name | Type |
|
|
54
|
+
| :------ | :------ |
|
|
55
|
+
| `previous` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
56
|
+
| `updated` | [`ComparableCheckout`](../README.md#comparablecheckout) |
|
|
57
|
+
|
|
58
|
+
___
|
|
59
|
+
|
|
60
|
+
### name
|
|
61
|
+
|
|
62
|
+
• **name**: `string`
|
|
63
|
+
|
|
64
|
+
#### Inherited from
|
|
65
|
+
|
|
66
|
+
[StandardError](StandardError.md).[name](StandardError.md#name)
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### type
|
|
71
|
+
|
|
72
|
+
• **type**: `string`
|
|
73
|
+
|
|
74
|
+
#### Inherited from
|
|
75
|
+
|
|
76
|
+
[StandardError](StandardError.md).[type](StandardError.md#type)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonErrorSelector
|
|
2
|
+
|
|
3
|
+
# Class: CheckoutButtonErrorSelector
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Constructors
|
|
8
|
+
|
|
9
|
+
- [constructor](CheckoutButtonErrorSelector.md#constructor)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [getDeinitializeButtonError](CheckoutButtonErrorSelector.md#getdeinitializebuttonerror)
|
|
14
|
+
- [getInitializeButtonError](CheckoutButtonErrorSelector.md#getinitializebuttonerror)
|
|
15
|
+
|
|
16
|
+
## Constructors
|
|
17
|
+
|
|
18
|
+
### constructor
|
|
19
|
+
|
|
20
|
+
• **new CheckoutButtonErrorSelector**()
|
|
21
|
+
|
|
22
|
+
## Methods
|
|
23
|
+
|
|
24
|
+
### getDeinitializeButtonError
|
|
25
|
+
|
|
26
|
+
▸ **getDeinitializeButtonError**(`methodId?`): `undefined` \| `Error`
|
|
27
|
+
|
|
28
|
+
#### Parameters
|
|
29
|
+
|
|
30
|
+
| Name | Type |
|
|
31
|
+
| :------ | :------ |
|
|
32
|
+
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
33
|
+
|
|
34
|
+
#### Returns
|
|
35
|
+
|
|
36
|
+
`undefined` \| `Error`
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### getInitializeButtonError
|
|
41
|
+
|
|
42
|
+
▸ **getInitializeButtonError**(`methodId?`): `undefined` \| `Error`
|
|
43
|
+
|
|
44
|
+
#### Parameters
|
|
45
|
+
|
|
46
|
+
| Name | Type |
|
|
47
|
+
| :------ | :------ |
|
|
48
|
+
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
49
|
+
|
|
50
|
+
#### Returns
|
|
51
|
+
|
|
52
|
+
`undefined` \| `Error`
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonInitializer
|
|
2
|
+
|
|
3
|
+
# Class: CheckoutButtonInitializer
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Constructors
|
|
8
|
+
|
|
9
|
+
- [constructor](CheckoutButtonInitializer.md#constructor)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [deinitializeButton](CheckoutButtonInitializer.md#deinitializebutton)
|
|
14
|
+
- [getState](CheckoutButtonInitializer.md#getstate)
|
|
15
|
+
- [initializeButton](CheckoutButtonInitializer.md#initializebutton)
|
|
16
|
+
- [subscribe](CheckoutButtonInitializer.md#subscribe)
|
|
17
|
+
|
|
18
|
+
## Constructors
|
|
19
|
+
|
|
20
|
+
### constructor
|
|
21
|
+
|
|
22
|
+
• **new CheckoutButtonInitializer**()
|
|
23
|
+
|
|
24
|
+
## Methods
|
|
25
|
+
|
|
26
|
+
### deinitializeButton
|
|
27
|
+
|
|
28
|
+
▸ **deinitializeButton**(`options`): `Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
29
|
+
|
|
30
|
+
De-initializes the checkout button by performing any necessary clean-ups.
|
|
31
|
+
|
|
32
|
+
```js
|
|
33
|
+
await service.deinitializeButton({
|
|
34
|
+
methodId: 'braintreepaypal',
|
|
35
|
+
});
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Parameters
|
|
39
|
+
|
|
40
|
+
| Name | Type | Description |
|
|
41
|
+
| :------ | :------ | :------ |
|
|
42
|
+
| `options` | [`CheckoutButtonOptions`](../interfaces/CheckoutButtonOptions.md) | Options for deinitializing the checkout button. |
|
|
43
|
+
|
|
44
|
+
#### Returns
|
|
45
|
+
|
|
46
|
+
`Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
47
|
+
|
|
48
|
+
A promise that resolves to the current state.
|
|
49
|
+
|
|
50
|
+
___
|
|
51
|
+
|
|
52
|
+
### getState
|
|
53
|
+
|
|
54
|
+
▸ **getState**(): [`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)
|
|
55
|
+
|
|
56
|
+
Returns a snapshot of the current state.
|
|
57
|
+
|
|
58
|
+
The method returns a new instance every time there is a change in the
|
|
59
|
+
state. You can query the state by calling any of its getter methods.
|
|
60
|
+
|
|
61
|
+
```js
|
|
62
|
+
const state = service.getState();
|
|
63
|
+
|
|
64
|
+
console.log(state.errors.getInitializeButtonError());
|
|
65
|
+
console.log(state.statuses.isInitializingButton());
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Returns
|
|
69
|
+
|
|
70
|
+
[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)
|
|
71
|
+
|
|
72
|
+
The current customer's checkout state
|
|
73
|
+
|
|
74
|
+
___
|
|
75
|
+
|
|
76
|
+
### initializeButton
|
|
77
|
+
|
|
78
|
+
▸ **initializeButton**(`options`): `Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
79
|
+
|
|
80
|
+
Initializes the checkout button of a payment method.
|
|
81
|
+
|
|
82
|
+
When the checkout button is initialized, it will be inserted into the DOM,
|
|
83
|
+
ready to be interacted with by the customer.
|
|
84
|
+
|
|
85
|
+
```js
|
|
86
|
+
initializer.initializeButton({
|
|
87
|
+
methodId: 'braintreepaypal',
|
|
88
|
+
containerId: 'checkoutButton',
|
|
89
|
+
braintreepaypal: {
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
#### Parameters
|
|
95
|
+
|
|
96
|
+
| Name | Type | Description |
|
|
97
|
+
| :------ | :------ | :------ |
|
|
98
|
+
| `options` | [`CheckoutButtonInitializeOptions`](../interfaces/CheckoutButtonInitializeOptions.md) | Options for initializing the checkout button. |
|
|
99
|
+
|
|
100
|
+
#### Returns
|
|
101
|
+
|
|
102
|
+
`Promise`<[`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)\>
|
|
103
|
+
|
|
104
|
+
A promise that resolves to the current state.
|
|
105
|
+
|
|
106
|
+
___
|
|
107
|
+
|
|
108
|
+
### subscribe
|
|
109
|
+
|
|
110
|
+
▸ **subscribe**(`subscriber`, ...`filters`): () => `void`
|
|
111
|
+
|
|
112
|
+
Subscribes to any changes to the current state.
|
|
113
|
+
|
|
114
|
+
The method registers a callback function and executes it every time there
|
|
115
|
+
is a change in the current state.
|
|
116
|
+
|
|
117
|
+
```js
|
|
118
|
+
service.subscribe(state => {
|
|
119
|
+
console.log(state.statuses.isInitializingButton());
|
|
120
|
+
});
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The method can be configured to notify subscribers only regarding
|
|
124
|
+
relevant changes, by providing a filter function.
|
|
125
|
+
|
|
126
|
+
```js
|
|
127
|
+
const filter = state => state.errors.getInitializeButtonError();
|
|
128
|
+
|
|
129
|
+
// Only trigger the subscriber when the cart changes.
|
|
130
|
+
service.subscribe(state => {
|
|
131
|
+
console.log(state.errors.getInitializeButtonError())
|
|
132
|
+
}, filter);
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
#### Parameters
|
|
136
|
+
|
|
137
|
+
| Name | Type | Description |
|
|
138
|
+
| :------ | :------ | :------ |
|
|
139
|
+
| `subscriber` | (`state`: [`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)) => `void` | The function to subscribe to state changes. |
|
|
140
|
+
| `...filters` | (`state`: [`CheckoutButtonSelectors`](../interfaces/CheckoutButtonSelectors.md)) => `any`[] | One or more functions to filter out irrelevant state changes. If more than one function is provided, the subscriber will only be triggered if all conditions are met. |
|
|
141
|
+
|
|
142
|
+
#### Returns
|
|
143
|
+
|
|
144
|
+
`fn`
|
|
145
|
+
|
|
146
|
+
A function, if called, will unsubscribe the subscriber.
|
|
147
|
+
|
|
148
|
+
▸ (): `void`
|
|
149
|
+
|
|
150
|
+
Subscribes to any changes to the current state.
|
|
151
|
+
|
|
152
|
+
The method registers a callback function and executes it every time there
|
|
153
|
+
is a change in the current state.
|
|
154
|
+
|
|
155
|
+
```js
|
|
156
|
+
service.subscribe(state => {
|
|
157
|
+
console.log(state.statuses.isInitializingButton());
|
|
158
|
+
});
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
The method can be configured to notify subscribers only regarding
|
|
162
|
+
relevant changes, by providing a filter function.
|
|
163
|
+
|
|
164
|
+
```js
|
|
165
|
+
const filter = state => state.errors.getInitializeButtonError();
|
|
166
|
+
|
|
167
|
+
// Only trigger the subscriber when the cart changes.
|
|
168
|
+
service.subscribe(state => {
|
|
169
|
+
console.log(state.errors.getInitializeButtonError())
|
|
170
|
+
}, filter);
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
##### Returns
|
|
174
|
+
|
|
175
|
+
`void`
|
|
176
|
+
|
|
177
|
+
A function, if called, will unsubscribe the subscriber.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonStatusSelector
|
|
2
|
+
|
|
3
|
+
# Class: CheckoutButtonStatusSelector
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Constructors
|
|
8
|
+
|
|
9
|
+
- [constructor](CheckoutButtonStatusSelector.md#constructor)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [isDeinitializingButton](CheckoutButtonStatusSelector.md#isdeinitializingbutton)
|
|
14
|
+
- [isInitializingButton](CheckoutButtonStatusSelector.md#isinitializingbutton)
|
|
15
|
+
|
|
16
|
+
## Constructors
|
|
17
|
+
|
|
18
|
+
### constructor
|
|
19
|
+
|
|
20
|
+
• **new CheckoutButtonStatusSelector**()
|
|
21
|
+
|
|
22
|
+
## Methods
|
|
23
|
+
|
|
24
|
+
### isDeinitializingButton
|
|
25
|
+
|
|
26
|
+
▸ **isDeinitializingButton**(`methodId?`): `boolean`
|
|
27
|
+
|
|
28
|
+
#### Parameters
|
|
29
|
+
|
|
30
|
+
| Name | Type |
|
|
31
|
+
| :------ | :------ |
|
|
32
|
+
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
33
|
+
|
|
34
|
+
#### Returns
|
|
35
|
+
|
|
36
|
+
`boolean`
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### isInitializingButton
|
|
41
|
+
|
|
42
|
+
▸ **isInitializingButton**(`methodId?`): `boolean`
|
|
43
|
+
|
|
44
|
+
#### Parameters
|
|
45
|
+
|
|
46
|
+
| Name | Type |
|
|
47
|
+
| :------ | :------ |
|
|
48
|
+
| `methodId?` | [`APPLEPAY`](../enums/CheckoutButtonMethodType.md#applepay) \| [`AMAZON_PAY_V2`](../enums/CheckoutButtonMethodType.md#amazon_pay_v2) \| [`BRAINTREE_PAYPAL`](../enums/CheckoutButtonMethodType.md#braintree_paypal) \| [`BRAINTREE_VENMO`](../enums/CheckoutButtonMethodType.md#braintree_venmo) \| [`BRAINTREE_PAYPAL_CREDIT`](../enums/CheckoutButtonMethodType.md#braintree_paypal_credit) \| [`GOOGLEPAY_ADYENV2`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv2) \| [`GOOGLEPAY_ADYENV3`](../enums/CheckoutButtonMethodType.md#googlepay_adyenv3) \| [`GOOGLEPAY_AUTHORIZENET`](../enums/CheckoutButtonMethodType.md#googlepay_authorizenet) \| [`GOOGLEPAY_BRAINTREE`](../enums/CheckoutButtonMethodType.md#googlepay_braintree) \| [`GOOGLEPAY_CHECKOUTCOM`](../enums/CheckoutButtonMethodType.md#googlepay_checkoutcom) \| [`GOOGLEPAY_CYBERSOURCEV2`](../enums/CheckoutButtonMethodType.md#googlepay_cybersourcev2) \| [`GOOGLEPAY_ORBITAL`](../enums/CheckoutButtonMethodType.md#googlepay_orbital) \| [`GOOGLEPAY_STRIPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripe) \| [`GOOGLEPAY_STRIPEUPE`](../enums/CheckoutButtonMethodType.md#googlepay_stripeupe) \| [`MASTERPASS`](../enums/CheckoutButtonMethodType.md#masterpass) \| [`PAYPALEXPRESS`](../enums/CheckoutButtonMethodType.md#paypalexpress) \| [`PAYPALCOMMERCE`](../enums/CheckoutButtonMethodType.md#paypalcommerce) \| [`PAYPALCOMMERCE_APMS`](../enums/CheckoutButtonMethodType.md#paypalcommerce_apms) \| [`PAYPALCOMMERCE_VENMO`](../enums/CheckoutButtonMethodType.md#paypalcommerce_venmo) |
|
|
49
|
+
|
|
50
|
+
#### Returns
|
|
51
|
+
|
|
52
|
+
`boolean`
|