@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,85 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayShippingInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayShippingInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the shipping step of
|
|
6
|
-
checkout in order to support Amazon Pay.
|
|
7
|
-
|
|
8
|
-
When Amazon Pay is initialized, a widget will be inserted into the DOM. The
|
|
9
|
-
widget has a list of shipping addresses for the customer to choose from.
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [container](AmazonPayShippingInitializeOptions.md#container)
|
|
16
|
-
|
|
17
|
-
### Methods
|
|
18
|
-
|
|
19
|
-
- [onAddressSelect](AmazonPayShippingInitializeOptions.md#onaddressselect)
|
|
20
|
-
- [onError](AmazonPayShippingInitializeOptions.md#onerror)
|
|
21
|
-
- [onReady](AmazonPayShippingInitializeOptions.md#onready)
|
|
22
|
-
|
|
23
|
-
## Properties
|
|
24
|
-
|
|
25
|
-
### container
|
|
26
|
-
|
|
27
|
-
• **container**: `string`
|
|
28
|
-
|
|
29
|
-
The ID of a container which the address widget should insert into.
|
|
30
|
-
|
|
31
|
-
## Methods
|
|
32
|
-
|
|
33
|
-
### onAddressSelect
|
|
34
|
-
|
|
35
|
-
▸ `Optional` **onAddressSelect**(`reference`): `void`
|
|
36
|
-
|
|
37
|
-
A callback that gets called when the customer selects an address option.
|
|
38
|
-
|
|
39
|
-
#### Parameters
|
|
40
|
-
|
|
41
|
-
| Name | Type | Description |
|
|
42
|
-
| :------ | :------ | :------ |
|
|
43
|
-
| `reference` | [`AmazonPayOrderReference`](AmazonPayOrderReference.md) | The order reference provided by Amazon. |
|
|
44
|
-
|
|
45
|
-
#### Returns
|
|
46
|
-
|
|
47
|
-
`void`
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### onError
|
|
52
|
-
|
|
53
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
54
|
-
|
|
55
|
-
A callback that gets called if unable to initialize the widget or select
|
|
56
|
-
one of the address options provided by the widget.
|
|
57
|
-
|
|
58
|
-
#### Parameters
|
|
59
|
-
|
|
60
|
-
| Name | Type | Description |
|
|
61
|
-
| :------ | :------ | :------ |
|
|
62
|
-
| `error` | [`AmazonPayWidgetError`](AmazonPayWidgetError.md) \| [`StandardError`](../classes/StandardError.md) | The error object describing the failure of the initialization. |
|
|
63
|
-
|
|
64
|
-
#### Returns
|
|
65
|
-
|
|
66
|
-
`void`
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### onReady
|
|
71
|
-
|
|
72
|
-
▸ `Optional` **onReady**(`reference`): `void`
|
|
73
|
-
|
|
74
|
-
A callback that gets called when the widget is loaded and ready to be
|
|
75
|
-
interacted with.
|
|
76
|
-
|
|
77
|
-
#### Parameters
|
|
78
|
-
|
|
79
|
-
| Name | Type | Description |
|
|
80
|
-
| :------ | :------ | :------ |
|
|
81
|
-
| `reference` | [`AmazonPayOrderReference`](AmazonPayOrderReference.md) | The order reference provided by Amazon. |
|
|
82
|
-
|
|
83
|
-
#### Returns
|
|
84
|
-
|
|
85
|
-
`void`
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayV2ButtonParams
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayV2ButtonParams
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [checkoutLanguage](AmazonPayV2ButtonParams.md#checkoutlanguage)
|
|
10
|
-
- [createCheckoutSession](AmazonPayV2ButtonParams.md#createcheckoutsession)
|
|
11
|
-
- [ledgerCurrency](AmazonPayV2ButtonParams.md#ledgercurrency)
|
|
12
|
-
- [merchantId](AmazonPayV2ButtonParams.md#merchantid)
|
|
13
|
-
- [placement](AmazonPayV2ButtonParams.md#placement)
|
|
14
|
-
- [productType](AmazonPayV2ButtonParams.md#producttype)
|
|
15
|
-
- [sandbox](AmazonPayV2ButtonParams.md#sandbox)
|
|
16
|
-
|
|
17
|
-
## Properties
|
|
18
|
-
|
|
19
|
-
### checkoutLanguage
|
|
20
|
-
|
|
21
|
-
• `Optional` **checkoutLanguage**: [`en_US`](../enums/AmazonPayV2CheckoutLanguage.md#en_us) \| [`en_GB`](../enums/AmazonPayV2CheckoutLanguage.md#en_gb) \| [`de_DE`](../enums/AmazonPayV2CheckoutLanguage.md#de_de) \| [`fr_FR`](../enums/AmazonPayV2CheckoutLanguage.md#fr_fr) \| [`it_IT`](../enums/AmazonPayV2CheckoutLanguage.md#it_it) \| [`es_ES`](../enums/AmazonPayV2CheckoutLanguage.md#es_es) \| [`ja_JP`](../enums/AmazonPayV2CheckoutLanguage.md#ja_jp)
|
|
22
|
-
|
|
23
|
-
Language used to render the button and text on Amazon Pay hosted pages.
|
|
24
|
-
|
|
25
|
-
___
|
|
26
|
-
|
|
27
|
-
### createCheckoutSession
|
|
28
|
-
|
|
29
|
-
• **createCheckoutSession**: [`AmazonPayV2CheckoutSession`](AmazonPayV2CheckoutSession.md)
|
|
30
|
-
|
|
31
|
-
Configuration for calling the endpoint to Create Checkout Session.
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### ledgerCurrency
|
|
36
|
-
|
|
37
|
-
• **ledgerCurrency**: [`AmazonPayV2LedgerCurrency`](../enums/AmazonPayV2LedgerCurrency.md)
|
|
38
|
-
|
|
39
|
-
Ledger currency provided during registration for the given merchant identifier.
|
|
40
|
-
|
|
41
|
-
___
|
|
42
|
-
|
|
43
|
-
### merchantId
|
|
44
|
-
|
|
45
|
-
• **merchantId**: `string`
|
|
46
|
-
|
|
47
|
-
Amazon Pay merchant account identifier.
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### placement
|
|
52
|
-
|
|
53
|
-
• **placement**: [`AmazonPayV2Placement`](../enums/AmazonPayV2Placement.md)
|
|
54
|
-
|
|
55
|
-
Placement of the Amazon Pay button on your website.
|
|
56
|
-
|
|
57
|
-
___
|
|
58
|
-
|
|
59
|
-
### productType
|
|
60
|
-
|
|
61
|
-
• `Optional` **productType**: [`PayAndShip`](../enums/AmazonPayV2PayOptions.md#payandship) \| [`PayOnly`](../enums/AmazonPayV2PayOptions.md#payonly)
|
|
62
|
-
|
|
63
|
-
Product type selected for checkout. Default is 'PayAndShip'.
|
|
64
|
-
|
|
65
|
-
___
|
|
66
|
-
|
|
67
|
-
### sandbox
|
|
68
|
-
|
|
69
|
-
• `Optional` **sandbox**: `boolean`
|
|
70
|
-
|
|
71
|
-
Sets button to Sandbox environment. Default is false.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayV2CheckoutSession
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayV2CheckoutSession
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [extractAmazonCheckoutSessionId](AmazonPayV2CheckoutSession.md#extractamazoncheckoutsessionid)
|
|
10
|
-
- [method](AmazonPayV2CheckoutSession.md#method)
|
|
11
|
-
- [url](AmazonPayV2CheckoutSession.md#url)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### extractAmazonCheckoutSessionId
|
|
16
|
-
|
|
17
|
-
• `Optional` **extractAmazonCheckoutSessionId**: `string`
|
|
18
|
-
|
|
19
|
-
Checkout Session ID parameter in the response. Default is 'checkoutSessionId'.
|
|
20
|
-
|
|
21
|
-
___
|
|
22
|
-
|
|
23
|
-
### method
|
|
24
|
-
|
|
25
|
-
• `Optional` **method**: ``"GET"`` \| ``"POST"``
|
|
26
|
-
|
|
27
|
-
HTTP request method. Default is 'POST'.
|
|
28
|
-
|
|
29
|
-
___
|
|
30
|
-
|
|
31
|
-
### url
|
|
32
|
-
|
|
33
|
-
• **url**: `string`
|
|
34
|
-
|
|
35
|
-
Endpoint URL to Create Checkout Session.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayV2CustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayV2CustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the customer step of
|
|
6
|
-
checkout in order to support AmazonPayV2.
|
|
7
|
-
|
|
8
|
-
When AmazonPayV2 is initialized, a sign-in button will be inserted into the
|
|
9
|
-
DOM. When the customer clicks on it, they will be redirected to Amazon to
|
|
10
|
-
sign in.
|
|
11
|
-
|
|
12
|
-
## Table of contents
|
|
13
|
-
|
|
14
|
-
### Properties
|
|
15
|
-
|
|
16
|
-
- [container](AmazonPayV2CustomerInitializeOptions.md#container)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### container
|
|
21
|
-
|
|
22
|
-
• **container**: `string`
|
|
23
|
-
|
|
24
|
-
The ID of a container which the sign-in button should insert into.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayV2PaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayV2PaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the payment step of
|
|
6
|
-
checkout in order to support AmazonPayV2.
|
|
7
|
-
|
|
8
|
-
When AmazonPayV2 is initialized, a change payment button will be bound.
|
|
9
|
-
When the customer clicks on it, they will be redirected to Amazon to
|
|
10
|
-
select a different payment method.
|
|
11
|
-
|
|
12
|
-
```html
|
|
13
|
-
<!-- This is where the Amazon button will be inserted -->
|
|
14
|
-
<div id="edit-button"></div>
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
service.initializePayment({
|
|
19
|
-
methodId: 'amazonpay',
|
|
20
|
-
amazonpay: {
|
|
21
|
-
editButtonId: 'edit-button',
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
## Table of contents
|
|
26
|
-
|
|
27
|
-
### Properties
|
|
28
|
-
|
|
29
|
-
- [editButtonId](AmazonPayV2PaymentInitializeOptions.md#editbuttonid)
|
|
30
|
-
|
|
31
|
-
## Properties
|
|
32
|
-
|
|
33
|
-
### editButtonId
|
|
34
|
-
|
|
35
|
-
• `Optional` **editButtonId**: `string`
|
|
36
|
-
|
|
37
|
-
This editButtonId is used to set an event listener, provide an element ID
|
|
38
|
-
if you want users to be able to select a different payment method by
|
|
39
|
-
clicking on a button. It should be an HTML element.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayV2ShippingInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayV2ShippingInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the shipping step of
|
|
6
|
-
checkout in order to support AmazonPayV2.
|
|
7
|
-
|
|
8
|
-
When AmazonPayV2 is initialized, a change shipping button will be bound.
|
|
9
|
-
When the customer clicks on it, they will be redirected to Amazon to
|
|
10
|
-
select a different shipping address.
|
|
11
|
-
|
|
12
|
-
## Table of contents
|
|
13
|
-
|
|
14
|
-
### Properties
|
|
15
|
-
|
|
16
|
-
- [editAddressButtonId](AmazonPayV2ShippingInitializeOptions.md#editaddressbuttonid)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### editAddressButtonId
|
|
21
|
-
|
|
22
|
-
• `Optional` **editAddressButtonId**: `string`
|
|
23
|
-
|
|
24
|
-
This editAddressButtonId is used to set an event listener, provide an
|
|
25
|
-
element ID if you want users to be able to select a different shipping
|
|
26
|
-
address by clicking on a button. It should be an HTML element.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayWidgetError
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayWidgetError
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- `Error`
|
|
8
|
-
|
|
9
|
-
↳ **`AmazonPayWidgetError`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Methods
|
|
14
|
-
|
|
15
|
-
- [getErrorCode](AmazonPayWidgetError.md#geterrorcode)
|
|
16
|
-
|
|
17
|
-
## Methods
|
|
18
|
-
|
|
19
|
-
### getErrorCode
|
|
20
|
-
|
|
21
|
-
▸ **getErrorCode**(): `string`
|
|
22
|
-
|
|
23
|
-
#### Returns
|
|
24
|
-
|
|
25
|
-
`string`
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ApplePayButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize ApplePay in cart.
|
|
6
|
-
|
|
7
|
-
When ApplePay is initialized, an ApplePay button will be inserted into the
|
|
8
|
-
DOM. When a customer clicks on it, it will trigger Apple sheet.
|
|
9
|
-
|
|
10
|
-
## Table of contents
|
|
11
|
-
|
|
12
|
-
### Properties
|
|
13
|
-
|
|
14
|
-
- [buttonClassName](ApplePayButtonInitializeOptions.md#buttonclassname)
|
|
15
|
-
|
|
16
|
-
### Methods
|
|
17
|
-
|
|
18
|
-
- [onPaymentAuthorize](ApplePayButtonInitializeOptions.md#onpaymentauthorize)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### buttonClassName
|
|
23
|
-
|
|
24
|
-
• `Optional` **buttonClassName**: `string`
|
|
25
|
-
|
|
26
|
-
The class name of the ApplePay button style.
|
|
27
|
-
|
|
28
|
-
## Methods
|
|
29
|
-
|
|
30
|
-
### onPaymentAuthorize
|
|
31
|
-
|
|
32
|
-
▸ **onPaymentAuthorize**(): `void`
|
|
33
|
-
|
|
34
|
-
A callback that gets called when a payment is successfully completed.
|
|
35
|
-
|
|
36
|
-
#### Returns
|
|
37
|
-
|
|
38
|
-
`void`
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ApplePayButtonInitializeOptions_2
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayButtonInitializeOptions\_2
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize ApplePay in cart.
|
|
6
|
-
|
|
7
|
-
When ApplePay is initialized, an ApplePay button will be inserted into the
|
|
8
|
-
DOM. When a customer clicks on it, it will trigger Apple sheet.
|
|
9
|
-
|
|
10
|
-
## Table of contents
|
|
11
|
-
|
|
12
|
-
### Properties
|
|
13
|
-
|
|
14
|
-
- [buttonClassName](ApplePayButtonInitializeOptions_2.md#buttonclassname)
|
|
15
|
-
|
|
16
|
-
### Methods
|
|
17
|
-
|
|
18
|
-
- [onPaymentAuthorize](ApplePayButtonInitializeOptions_2.md#onpaymentauthorize)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### buttonClassName
|
|
23
|
-
|
|
24
|
-
• `Optional` **buttonClassName**: `string`
|
|
25
|
-
|
|
26
|
-
The class name of the ApplePay button style.
|
|
27
|
-
|
|
28
|
-
## Methods
|
|
29
|
-
|
|
30
|
-
### onPaymentAuthorize
|
|
31
|
-
|
|
32
|
-
▸ **onPaymentAuthorize**(): `void`
|
|
33
|
-
|
|
34
|
-
A callback that gets called when a payment is successfully completed.
|
|
35
|
-
|
|
36
|
-
#### Returns
|
|
37
|
-
|
|
38
|
-
`void`
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ApplePayCustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayCustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the customer step of
|
|
6
|
-
checkout in order to support ApplePay.
|
|
7
|
-
|
|
8
|
-
When ApplePay is initialized, a sign-in button will be inserted into the
|
|
9
|
-
DOM. When the customer clicks on it, it will trigger apple sheet
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [container](ApplePayCustomerInitializeOptions.md#container)
|
|
16
|
-
- [shippingLabel](ApplePayCustomerInitializeOptions.md#shippinglabel)
|
|
17
|
-
- [subtotalLabel](ApplePayCustomerInitializeOptions.md#subtotallabel)
|
|
18
|
-
|
|
19
|
-
### Methods
|
|
20
|
-
|
|
21
|
-
- [onError](ApplePayCustomerInitializeOptions.md#onerror)
|
|
22
|
-
- [onPaymentAuthorize](ApplePayCustomerInitializeOptions.md#onpaymentauthorize)
|
|
23
|
-
|
|
24
|
-
## Properties
|
|
25
|
-
|
|
26
|
-
### container
|
|
27
|
-
|
|
28
|
-
• **container**: `string`
|
|
29
|
-
|
|
30
|
-
The ID of a container which the sign-in button should insert into.
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### shippingLabel
|
|
35
|
-
|
|
36
|
-
• `Optional` **shippingLabel**: `string`
|
|
37
|
-
|
|
38
|
-
Shipping label to be passed to apple sheet.
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### subtotalLabel
|
|
43
|
-
|
|
44
|
-
• `Optional` **subtotalLabel**: `string`
|
|
45
|
-
|
|
46
|
-
Sub total label to be passed to apple sheet.
|
|
47
|
-
|
|
48
|
-
## Methods
|
|
49
|
-
|
|
50
|
-
### onError
|
|
51
|
-
|
|
52
|
-
▸ `Optional` **onError**(`error?`): `void`
|
|
53
|
-
|
|
54
|
-
A callback that gets called if unable to initialize the widget or select
|
|
55
|
-
one of the address options provided by the widget.
|
|
56
|
-
|
|
57
|
-
#### Parameters
|
|
58
|
-
|
|
59
|
-
| Name | Type | Description |
|
|
60
|
-
| :------ | :------ | :------ |
|
|
61
|
-
| `error?` | `Error` | The error object describing the failure. |
|
|
62
|
-
|
|
63
|
-
#### Returns
|
|
64
|
-
|
|
65
|
-
`void`
|
|
66
|
-
|
|
67
|
-
___
|
|
68
|
-
|
|
69
|
-
### onPaymentAuthorize
|
|
70
|
-
|
|
71
|
-
▸ **onPaymentAuthorize**(): `void`
|
|
72
|
-
|
|
73
|
-
A callback that gets called when a payment is successfully completed.
|
|
74
|
-
|
|
75
|
-
#### Returns
|
|
76
|
-
|
|
77
|
-
`void`
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ApplePayCustomerInitializeOptions_2
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayCustomerInitializeOptions\_2
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the customer step of
|
|
6
|
-
checkout in order to support ApplePay.
|
|
7
|
-
|
|
8
|
-
When ApplePay is initialized, a sign-in button will be inserted into the
|
|
9
|
-
DOM. When the customer clicks on it, it will trigger apple sheet
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [container](ApplePayCustomerInitializeOptions_2.md#container)
|
|
16
|
-
- [shippingLabel](ApplePayCustomerInitializeOptions_2.md#shippinglabel)
|
|
17
|
-
- [subtotalLabel](ApplePayCustomerInitializeOptions_2.md#subtotallabel)
|
|
18
|
-
|
|
19
|
-
### Methods
|
|
20
|
-
|
|
21
|
-
- [onError](ApplePayCustomerInitializeOptions_2.md#onerror)
|
|
22
|
-
- [onPaymentAuthorize](ApplePayCustomerInitializeOptions_2.md#onpaymentauthorize)
|
|
23
|
-
|
|
24
|
-
## Properties
|
|
25
|
-
|
|
26
|
-
### container
|
|
27
|
-
|
|
28
|
-
• **container**: `string`
|
|
29
|
-
|
|
30
|
-
The ID of a container which the sign-in button should insert into.
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### shippingLabel
|
|
35
|
-
|
|
36
|
-
• `Optional` **shippingLabel**: `string`
|
|
37
|
-
|
|
38
|
-
Shipping label to be passed to apple sheet.
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### subtotalLabel
|
|
43
|
-
|
|
44
|
-
• `Optional` **subtotalLabel**: `string`
|
|
45
|
-
|
|
46
|
-
Sub total label to be passed to apple sheet.
|
|
47
|
-
|
|
48
|
-
## Methods
|
|
49
|
-
|
|
50
|
-
### onError
|
|
51
|
-
|
|
52
|
-
▸ `Optional` **onError**(`error?`): `void`
|
|
53
|
-
|
|
54
|
-
A callback that gets called if unable to initialize the widget or select
|
|
55
|
-
one of the address options provided by the widget.
|
|
56
|
-
|
|
57
|
-
#### Parameters
|
|
58
|
-
|
|
59
|
-
| Name | Type | Description |
|
|
60
|
-
| :------ | :------ | :------ |
|
|
61
|
-
| `error?` | `Error` | The error object describing the failure. |
|
|
62
|
-
|
|
63
|
-
#### Returns
|
|
64
|
-
|
|
65
|
-
`void`
|
|
66
|
-
|
|
67
|
-
___
|
|
68
|
-
|
|
69
|
-
### onPaymentAuthorize
|
|
70
|
-
|
|
71
|
-
▸ **onPaymentAuthorize**(): `void`
|
|
72
|
-
|
|
73
|
-
A callback that gets called when a payment is successfully completed.
|
|
74
|
-
|
|
75
|
-
#### Returns
|
|
76
|
-
|
|
77
|
-
`void`
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ApplePayPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Applepay payment method with:
|
|
6
|
-
|
|
7
|
-
1) ApplePay:
|
|
8
|
-
|
|
9
|
-
```js
|
|
10
|
-
service.initializePayment({
|
|
11
|
-
methodId: 'applepay',
|
|
12
|
-
applepay: {
|
|
13
|
-
shippingLabel: 'Shipping',
|
|
14
|
-
subtotalLabel: 'Sub total',
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Table of contents
|
|
20
|
-
|
|
21
|
-
### Properties
|
|
22
|
-
|
|
23
|
-
- [shippingLabel](ApplePayPaymentInitializeOptions.md#shippinglabel)
|
|
24
|
-
- [subtotalLabel](ApplePayPaymentInitializeOptions.md#subtotallabel)
|
|
25
|
-
|
|
26
|
-
## Properties
|
|
27
|
-
|
|
28
|
-
### shippingLabel
|
|
29
|
-
|
|
30
|
-
• `Optional` **shippingLabel**: `string`
|
|
31
|
-
|
|
32
|
-
Shipping label to be passed to apple sheet.
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### subtotalLabel
|
|
37
|
-
|
|
38
|
-
• `Optional` **subtotalLabel**: `string`
|
|
39
|
-
|
|
40
|
-
Sub total label to be passed to apple sheet.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ApplePayPaymentInitializeOptions_2
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayPaymentInitializeOptions\_2
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Applepay payment method with:
|
|
6
|
-
|
|
7
|
-
1) ApplePay:
|
|
8
|
-
|
|
9
|
-
```js
|
|
10
|
-
service.initializePayment({
|
|
11
|
-
methodId: 'applepay',
|
|
12
|
-
applepay: {
|
|
13
|
-
shippingLabel: 'Shipping',
|
|
14
|
-
subtotalLabel: 'Sub total',
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Table of contents
|
|
20
|
-
|
|
21
|
-
### Properties
|
|
22
|
-
|
|
23
|
-
- [shippingLabel](ApplePayPaymentInitializeOptions_2.md#shippinglabel)
|
|
24
|
-
- [subtotalLabel](ApplePayPaymentInitializeOptions_2.md#subtotallabel)
|
|
25
|
-
|
|
26
|
-
## Properties
|
|
27
|
-
|
|
28
|
-
### shippingLabel
|
|
29
|
-
|
|
30
|
-
• `Optional` **shippingLabel**: `string`
|
|
31
|
-
|
|
32
|
-
Shipping label to be passed to apple sheet.
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### subtotalLabel
|
|
37
|
-
|
|
38
|
-
• `Optional` **subtotalLabel**: `string`
|
|
39
|
-
|
|
40
|
-
Sub total label to be passed to apple sheet.
|