@bigcommerce/checkout-sdk 1.308.1 → 1.308.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +158 -16
- package/docs/classes/internal_.CartChangedError.md +62 -0
- package/docs/classes/internal_.CheckoutService.md +1528 -0
- package/docs/classes/internal_.CurrencyService.md +56 -0
- package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
- package/docs/classes/internal_.LanguageService.md +103 -0
- package/docs/classes/internal_.RequestError.md +108 -0
- package/docs/classes/internal_.StandardError.md +4 -0
- package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
- package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
- package/docs/enums/internal_.CheckoutIncludes.md +31 -0
- package/docs/enums/internal_.HostedFieldType.md +52 -0
- package/docs/enums/internal_.IconStyle.md +24 -0
- package/docs/enums/internal_.RadiusUnit.md +24 -0
- package/docs/interfaces/internal_.Address.md +4 -0
- package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
- package/docs/interfaces/internal_.AdyenComponent.md +74 -0
- package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
- package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.BankInstrument.md +114 -0
- package/docs/interfaces/internal_.Banner.md +24 -0
- package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
- package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
- package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
- package/docs/interfaces/internal_.BaseInstrument.md +60 -0
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
- package/docs/interfaces/internal_.BillingAddress.md +184 -0
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
- package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
- package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
- package/docs/interfaces/internal_.BodlService.md +172 -0
- package/docs/interfaces/internal_.BodyStyles.md +17 -0
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.BrowserInfo.md +52 -0
- package/docs/interfaces/internal_.ButtonResponse.md +21 -0
- package/docs/interfaces/internal_.ButtonStyles.md +143 -0
- package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.CardElementOptions.md +93 -0
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardInstrument.md +117 -0
- package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
- package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
- package/docs/interfaces/internal_.CardState.md +42 -0
- package/docs/interfaces/internal_.CardStateErrors.md +9 -0
- package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
- package/docs/interfaces/internal_.CardState_2.md +42 -0
- package/docs/interfaces/internal_.Cart.md +108 -0
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
- package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
- package/docs/interfaces/internal_.Checkout.md +204 -0
- package/docs/interfaces/internal_.CheckoutParams.md +17 -0
- package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
- package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
- package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
- package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
- package/docs/interfaces/internal_.Consignment.md +73 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
- package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
- package/docs/interfaces/internal_.Coordinates.md +24 -0
- package/docs/interfaces/internal_.Country.md +45 -0
- package/docs/interfaces/internal_.Coupon.md +45 -0
- package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
- package/docs/interfaces/internal_.CssProperties.md +213 -0
- package/docs/interfaces/internal_.CssProperties_2.md +213 -0
- package/docs/interfaces/internal_.Currency.md +38 -0
- package/docs/interfaces/internal_.CustomItem.md +52 -0
- package/docs/interfaces/internal_.Customer.md +93 -0
- package/docs/interfaces/internal_.CustomerAddress.md +184 -0
- package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
- package/docs/interfaces/internal_.CustomerGroup.md +24 -0
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
- package/docs/interfaces/internal_.DigitalItem.md +312 -0
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
- package/docs/interfaces/internal_.Discount.md +24 -0
- package/docs/interfaces/internal_.DisplaySettings.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
- package/docs/interfaces/internal_.FlashMessage.md +31 -0
- package/docs/interfaces/internal_.FormField.md +115 -0
- package/docs/interfaces/internal_.FormFieldItem.md +24 -0
- package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
- package/docs/interfaces/internal_.FormFields.md +31 -0
- package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
- package/docs/interfaces/internal_.GiftCertificate.md +45 -0
- package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
- package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
- package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
- package/docs/interfaces/internal_.HostedInstrument.md +24 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
- package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
- package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
- package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
- package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
- package/docs/interfaces/internal_.InputDetail.md +82 -0
- package/docs/interfaces/internal_.InputDetail_2.md +82 -0
- package/docs/interfaces/internal_.InputStyles.md +154 -0
- package/docs/interfaces/internal_.Item.md +24 -0
- package/docs/interfaces/internal_.Item_2.md +28 -0
- package/docs/interfaces/internal_.Item_3.md +28 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.LabelStyles.md +78 -0
- package/docs/interfaces/internal_.LanguageConfig.md +59 -0
- package/docs/interfaces/internal_.LineItem.md +163 -8
- package/docs/interfaces/internal_.LineItemCategory.md +17 -0
- package/docs/interfaces/internal_.LineItemMap.md +38 -0
- package/docs/interfaces/internal_.LineItemOption.md +38 -0
- package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
- package/docs/interfaces/internal_.LinkStyles.md +92 -0
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
- package/docs/interfaces/internal_.Locales.md +9 -0
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
- package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
- package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
- package/docs/interfaces/internal_.NonceInstrument.md +38 -0
- package/docs/interfaces/internal_.Option_2.md +24 -0
- package/docs/interfaces/internal_.OptionsResponse.md +79 -0
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.Order.md +199 -0
- package/docs/interfaces/internal_.OrderConsignment.md +17 -0
- package/docs/interfaces/internal_.OrderPayment.md +60 -0
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
- package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
- package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
- package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
- package/docs/interfaces/internal_.PaymentMethod.md +100 -0
- package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
- package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
- package/docs/interfaces/internal_.PaymentSettings.md +24 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
- package/docs/interfaces/internal_.PhysicalItem.md +313 -0
- package/docs/interfaces/internal_.PickupMethod.md +45 -0
- package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
- package/docs/interfaces/internal_.Promotion.md +17 -0
- package/docs/interfaces/internal_.Radius.md +24 -0
- package/docs/interfaces/internal_.Region.md +24 -0
- package/docs/interfaces/internal_.RequestOptions.md +5 -1
- package/docs/interfaces/internal_.SearchArea.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.ShippingOption.md +66 -0
- package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
- package/docs/interfaces/internal_.ShopperConfig.md +31 -0
- package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
- package/docs/interfaces/internal_.SignInEmail.md +24 -0
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
- package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
- package/docs/interfaces/internal_.SquareFormElement.md +30 -0
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
- package/docs/interfaces/internal_.StepStyles.md +122 -0
- package/docs/interfaces/internal_.StepTracker.md +66 -0
- package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
- package/docs/interfaces/internal_.StoreConfig.md +117 -0
- package/docs/interfaces/internal_.StoreCurrency.md +58 -0
- package/docs/interfaces/internal_.StoreLinks.md +59 -0
- package/docs/interfaces/internal_.StoreProfile.md +73 -0
- package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
- package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
- package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
- package/docs/interfaces/internal_.StripeEvent.md +39 -0
- package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.StyleOptions.md +46 -0
- package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
- package/docs/interfaces/internal_.SubInputDetail.md +64 -0
- package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
- package/docs/interfaces/internal_.Subscriptions.md +31 -0
- package/docs/interfaces/internal_.Tax.md +24 -0
- package/docs/interfaces/internal_.TextInputStyles.md +177 -0
- package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
- package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
- package/docs/interfaces/internal_.TranslationData.md +9 -0
- package/docs/interfaces/internal_.Translations.md +9 -0
- package/docs/interfaces/internal_.UnknownObject.md +9 -0
- package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.WechatState.md +17 -0
- package/docs/interfaces/internal_.WechatState_2.md +17 -0
- package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
- package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
- package/docs/modules/internal_.md +515 -51
- package/package.json +1 -1
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
- package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
- package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
- package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
- package/docs/enums/internal_.StyleButtonColor.md +0 -45
- package/docs/enums/internal_.StyleButtonLabel.md +0 -45
- package/docs/enums/internal_.StyleButtonLayout.md +0 -24
- package/docs/enums/internal_.StyleButtonShape.md +0 -24
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
- package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
- package/docs/interfaces/internal_.BraintreeError.md +0 -37
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayV2Price
|
|
2
|
-
|
|
3
|
-
# Interface: AmazonPayV2Price
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).AmazonPayV2Price
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [amount](internal_.AmazonPayV2Price.md#amount)
|
|
12
|
-
- [currencyCode](internal_.AmazonPayV2Price.md#currencycode)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### amount
|
|
17
|
-
|
|
18
|
-
• **amount**: `string`
|
|
19
|
-
|
|
20
|
-
Transaction amount.
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### currencyCode
|
|
25
|
-
|
|
26
|
-
• **currencyCode**: `string`
|
|
27
|
-
|
|
28
|
-
Transaction currency code in ISO 4217 format. Example: USD.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ApplePayButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).ApplePayButtonInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize ApplePay in cart.
|
|
8
|
-
|
|
9
|
-
When ApplePay is initialized, an ApplePay button will be inserted into the
|
|
10
|
-
DOM. When a customer clicks on it, it will trigger Apple sheet.
|
|
11
|
-
|
|
12
|
-
## Table of contents
|
|
13
|
-
|
|
14
|
-
### Properties
|
|
15
|
-
|
|
16
|
-
- [buttonClassName](internal_.ApplePayButtonInitializeOptions.md#buttonclassname)
|
|
17
|
-
|
|
18
|
-
### Methods
|
|
19
|
-
|
|
20
|
-
- [onPaymentAuthorize](internal_.ApplePayButtonInitializeOptions.md#onpaymentauthorize)
|
|
21
|
-
|
|
22
|
-
## Properties
|
|
23
|
-
|
|
24
|
-
### buttonClassName
|
|
25
|
-
|
|
26
|
-
• `Optional` **buttonClassName**: `string`
|
|
27
|
-
|
|
28
|
-
The class name of the ApplePay button style.
|
|
29
|
-
|
|
30
|
-
## Methods
|
|
31
|
-
|
|
32
|
-
### onPaymentAuthorize
|
|
33
|
-
|
|
34
|
-
▸ **onPaymentAuthorize**(): `void`
|
|
35
|
-
|
|
36
|
-
A callback that gets called when a payment is successfully completed.
|
|
37
|
-
|
|
38
|
-
#### Returns
|
|
39
|
-
|
|
40
|
-
`void`
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / ApplePayButtonInitializeOptions\_2
|
|
2
|
-
|
|
3
|
-
# Interface: ApplePayButtonInitializeOptions\_2
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).ApplePayButtonInitializeOptions_2
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize ApplePay in cart.
|
|
8
|
-
|
|
9
|
-
When ApplePay is initialized, an ApplePay button will be inserted into the
|
|
10
|
-
DOM. When a customer clicks on it, it will trigger Apple sheet.
|
|
11
|
-
|
|
12
|
-
## Table of contents
|
|
13
|
-
|
|
14
|
-
### Properties
|
|
15
|
-
|
|
16
|
-
- [buttonClassName](internal_.ApplePayButtonInitializeOptions_2.md#buttonclassname)
|
|
17
|
-
|
|
18
|
-
### Methods
|
|
19
|
-
|
|
20
|
-
- [onPaymentAuthorize](internal_.ApplePayButtonInitializeOptions_2.md#onpaymentauthorize)
|
|
21
|
-
|
|
22
|
-
## Properties
|
|
23
|
-
|
|
24
|
-
### buttonClassName
|
|
25
|
-
|
|
26
|
-
• `Optional` **buttonClassName**: `string`
|
|
27
|
-
|
|
28
|
-
The class name of the ApplePay button style.
|
|
29
|
-
|
|
30
|
-
## Methods
|
|
31
|
-
|
|
32
|
-
### onPaymentAuthorize
|
|
33
|
-
|
|
34
|
-
▸ **onPaymentAuthorize**(): `void`
|
|
35
|
-
|
|
36
|
-
A callback that gets called when a payment is successfully completed.
|
|
37
|
-
|
|
38
|
-
#### Returns
|
|
39
|
-
|
|
40
|
-
`void`
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BaseCheckoutButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BaseCheckoutButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BaseCheckoutButtonInitializeOptions
|
|
6
|
-
|
|
7
|
-
The set of options for configuring the checkout button.
|
|
8
|
-
|
|
9
|
-
## Hierarchy
|
|
10
|
-
|
|
11
|
-
- [`CheckoutButtonOptions`](internal_.CheckoutButtonOptions.md)
|
|
12
|
-
|
|
13
|
-
↳ **`BaseCheckoutButtonInitializeOptions`**
|
|
14
|
-
|
|
15
|
-
## Indexable
|
|
16
|
-
|
|
17
|
-
▪ [key: `string`]: `unknown`
|
|
18
|
-
|
|
19
|
-
## Table of contents
|
|
20
|
-
|
|
21
|
-
### Properties
|
|
22
|
-
|
|
23
|
-
- [amazonpay](internal_.BaseCheckoutButtonInitializeOptions.md#amazonpay)
|
|
24
|
-
- [applepay](internal_.BaseCheckoutButtonInitializeOptions.md#applepay)
|
|
25
|
-
- [braintreepaypal](internal_.BaseCheckoutButtonInitializeOptions.md#braintreepaypal)
|
|
26
|
-
- [braintreepaypalcredit](internal_.BaseCheckoutButtonInitializeOptions.md#braintreepaypalcredit)
|
|
27
|
-
- [braintreevenmo](internal_.BaseCheckoutButtonInitializeOptions.md#braintreevenmo)
|
|
28
|
-
- [containerId](internal_.BaseCheckoutButtonInitializeOptions.md#containerid)
|
|
29
|
-
- [currencyCode](internal_.BaseCheckoutButtonInitializeOptions.md#currencycode)
|
|
30
|
-
- [googlepayadyenv2](internal_.BaseCheckoutButtonInitializeOptions.md#googlepayadyenv2)
|
|
31
|
-
- [googlepayadyenv3](internal_.BaseCheckoutButtonInitializeOptions.md#googlepayadyenv3)
|
|
32
|
-
- [googlepayauthorizenet](internal_.BaseCheckoutButtonInitializeOptions.md#googlepayauthorizenet)
|
|
33
|
-
- [googlepaybnz](internal_.BaseCheckoutButtonInitializeOptions.md#googlepaybnz)
|
|
34
|
-
- [googlepaybraintree](internal_.BaseCheckoutButtonInitializeOptions.md#googlepaybraintree)
|
|
35
|
-
- [googlepaycheckoutcom](internal_.BaseCheckoutButtonInitializeOptions.md#googlepaycheckoutcom)
|
|
36
|
-
- [googlepaycybersourcev2](internal_.BaseCheckoutButtonInitializeOptions.md#googlepaycybersourcev2)
|
|
37
|
-
- [googlepayorbital](internal_.BaseCheckoutButtonInitializeOptions.md#googlepayorbital)
|
|
38
|
-
- [googlepaystripe](internal_.BaseCheckoutButtonInitializeOptions.md#googlepaystripe)
|
|
39
|
-
- [googlepaystripeupe](internal_.BaseCheckoutButtonInitializeOptions.md#googlepaystripeupe)
|
|
40
|
-
- [methodId](internal_.BaseCheckoutButtonInitializeOptions.md#methodid)
|
|
41
|
-
- [params](internal_.BaseCheckoutButtonInitializeOptions.md#params)
|
|
42
|
-
- [paypal](internal_.BaseCheckoutButtonInitializeOptions.md#paypal)
|
|
43
|
-
- [paypalcommerce](internal_.BaseCheckoutButtonInitializeOptions.md#paypalcommerce)
|
|
44
|
-
- [paypalcommercealternativemethods](internal_.BaseCheckoutButtonInitializeOptions.md#paypalcommercealternativemethods)
|
|
45
|
-
- [paypalcommercecredit](internal_.BaseCheckoutButtonInitializeOptions.md#paypalcommercecredit)
|
|
46
|
-
- [paypalcommerceinline](internal_.BaseCheckoutButtonInitializeOptions.md#paypalcommerceinline)
|
|
47
|
-
- [paypalcommercevenmo](internal_.BaseCheckoutButtonInitializeOptions.md#paypalcommercevenmo)
|
|
48
|
-
- [timeout](internal_.BaseCheckoutButtonInitializeOptions.md#timeout)
|
|
49
|
-
|
|
50
|
-
## Properties
|
|
51
|
-
|
|
52
|
-
### amazonpay
|
|
53
|
-
|
|
54
|
-
• `Optional` **amazonpay**: [`AmazonPayV2ButtonParameters`](../modules/internal_.md#amazonpayv2buttonparameters)
|
|
55
|
-
|
|
56
|
-
The options that are required to facilitate AmazonPayV2. They can be
|
|
57
|
-
omitted unless you need to support AmazonPayV2.
|
|
58
|
-
|
|
59
|
-
___
|
|
60
|
-
|
|
61
|
-
### applepay
|
|
62
|
-
|
|
63
|
-
• `Optional` **applepay**: [`ApplePayButtonInitializeOptions`](internal_.ApplePayButtonInitializeOptions.md)
|
|
64
|
-
|
|
65
|
-
The options that are required to initialize the ApplePay payment method.
|
|
66
|
-
They can be omitted unless you need to support ApplePay in cart.
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### braintreepaypal
|
|
71
|
-
|
|
72
|
-
• `Optional` **braintreepaypal**: [`BraintreePaypalButtonInitializeOptions`](internal_.BraintreePaypalButtonInitializeOptions.md)
|
|
73
|
-
|
|
74
|
-
The options that are required to facilitate Braintree PayPal. They can be
|
|
75
|
-
omitted unless you need to support Braintree PayPal.
|
|
76
|
-
|
|
77
|
-
___
|
|
78
|
-
|
|
79
|
-
### braintreepaypalcredit
|
|
80
|
-
|
|
81
|
-
• `Optional` **braintreepaypalcredit**: [`BraintreePaypalCreditButtonInitializeOptions`](internal_.BraintreePaypalCreditButtonInitializeOptions.md)
|
|
82
|
-
|
|
83
|
-
The options that are required to facilitate Braintree Credit. They can be
|
|
84
|
-
omitted unless you need to support Braintree Credit.
|
|
85
|
-
|
|
86
|
-
___
|
|
87
|
-
|
|
88
|
-
### braintreevenmo
|
|
89
|
-
|
|
90
|
-
• `Optional` **braintreevenmo**: [`BraintreeVenmoButtonInitializeOptions`](internal_.BraintreeVenmoButtonInitializeOptions.md)
|
|
91
|
-
|
|
92
|
-
The options that are required to facilitate Braintree Venmo. They can be
|
|
93
|
-
omitted unless you need to support Braintree Venmo.
|
|
94
|
-
|
|
95
|
-
___
|
|
96
|
-
|
|
97
|
-
### containerId
|
|
98
|
-
|
|
99
|
-
• **containerId**: `string`
|
|
100
|
-
|
|
101
|
-
The ID of a container which the checkout button should be inserted.
|
|
102
|
-
|
|
103
|
-
___
|
|
104
|
-
|
|
105
|
-
### currencyCode
|
|
106
|
-
|
|
107
|
-
• `Optional` **currencyCode**: `string`
|
|
108
|
-
|
|
109
|
-
The option that is required to load payment method configuration for provided currency code in Buy Now flow.
|
|
110
|
-
|
|
111
|
-
___
|
|
112
|
-
|
|
113
|
-
### googlepayadyenv2
|
|
114
|
-
|
|
115
|
-
• `Optional` **googlepayadyenv2**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
116
|
-
|
|
117
|
-
The options that are required to initialize the GooglePay payment method.
|
|
118
|
-
They can be omitted unless you need to support adyenv2 GooglePay.
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
|
-
### googlepayadyenv3
|
|
123
|
-
|
|
124
|
-
• `Optional` **googlepayadyenv3**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
125
|
-
|
|
126
|
-
The options that are required to initialize the GooglePay payment method.
|
|
127
|
-
They can be omitted unless you need to support adyenv2 GooglePay.
|
|
128
|
-
|
|
129
|
-
___
|
|
130
|
-
|
|
131
|
-
### googlepayauthorizenet
|
|
132
|
-
|
|
133
|
-
• `Optional` **googlepayauthorizenet**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
134
|
-
|
|
135
|
-
The options that are required to facilitate Authorize.Net GooglePay.
|
|
136
|
-
They can be omitted unless you need to support Authorize.Net GooglePay.
|
|
137
|
-
|
|
138
|
-
___
|
|
139
|
-
|
|
140
|
-
### googlepaybnz
|
|
141
|
-
|
|
142
|
-
• `Optional` **googlepaybnz**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
143
|
-
|
|
144
|
-
The options that are required to facilitate BNZ GooglePay. They can be
|
|
145
|
-
omitted unless you need to support BNZ GooglePay.
|
|
146
|
-
|
|
147
|
-
___
|
|
148
|
-
|
|
149
|
-
### googlepaybraintree
|
|
150
|
-
|
|
151
|
-
• `Optional` **googlepaybraintree**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
152
|
-
|
|
153
|
-
The options that are required to facilitate Braintree GooglePay. They can be
|
|
154
|
-
omitted unless you need to support Braintree GooglePay.
|
|
155
|
-
|
|
156
|
-
___
|
|
157
|
-
|
|
158
|
-
### googlepaycheckoutcom
|
|
159
|
-
|
|
160
|
-
• `Optional` **googlepaycheckoutcom**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
161
|
-
|
|
162
|
-
The options that are required to facilitate Checkout.com GooglePay. They can be
|
|
163
|
-
omitted unless you need to support Checkout.com GooglePay.
|
|
164
|
-
|
|
165
|
-
___
|
|
166
|
-
|
|
167
|
-
### googlepaycybersourcev2
|
|
168
|
-
|
|
169
|
-
• `Optional` **googlepaycybersourcev2**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
170
|
-
|
|
171
|
-
The options that are required to facilitate CybersourceV2 GooglePay. They can be
|
|
172
|
-
omitted unless you need to support CybersourceV2 GooglePay.
|
|
173
|
-
|
|
174
|
-
___
|
|
175
|
-
|
|
176
|
-
### googlepayorbital
|
|
177
|
-
|
|
178
|
-
• `Optional` **googlepayorbital**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
179
|
-
|
|
180
|
-
The options that are required to facilitate Orbital GooglePay. They can be
|
|
181
|
-
omitted unless you need to support Orbital GooglePay.
|
|
182
|
-
|
|
183
|
-
___
|
|
184
|
-
|
|
185
|
-
### googlepaystripe
|
|
186
|
-
|
|
187
|
-
• `Optional` **googlepaystripe**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
188
|
-
|
|
189
|
-
The options that are required to facilitate Stripe GooglePay. They can be
|
|
190
|
-
omitted unless you need to support Stripe GooglePay.
|
|
191
|
-
|
|
192
|
-
___
|
|
193
|
-
|
|
194
|
-
### googlepaystripeupe
|
|
195
|
-
|
|
196
|
-
• `Optional` **googlepaystripeupe**: [`GooglePayButtonInitializeOptions`](internal_.GooglePayButtonInitializeOptions.md)
|
|
197
|
-
|
|
198
|
-
The options that are required to facilitate Stripe GooglePay. They can be
|
|
199
|
-
omitted unless you need to support Stripe GooglePay.
|
|
200
|
-
|
|
201
|
-
___
|
|
202
|
-
|
|
203
|
-
### methodId
|
|
204
|
-
|
|
205
|
-
• **methodId**: [`CheckoutButtonMethodType`](../enums/internal_.CheckoutButtonMethodType.md)
|
|
206
|
-
|
|
207
|
-
The identifier of the payment method.
|
|
208
|
-
|
|
209
|
-
#### Inherited from
|
|
210
|
-
|
|
211
|
-
[CheckoutButtonOptions](internal_.CheckoutButtonOptions.md).[methodId](internal_.CheckoutButtonOptions.md#methodid)
|
|
212
|
-
|
|
213
|
-
___
|
|
214
|
-
|
|
215
|
-
### params
|
|
216
|
-
|
|
217
|
-
• `Optional` **params**: `Object`
|
|
218
|
-
|
|
219
|
-
The parameters of the request, if required.
|
|
220
|
-
|
|
221
|
-
#### Inherited from
|
|
222
|
-
|
|
223
|
-
[CheckoutButtonOptions](internal_.CheckoutButtonOptions.md).[params](internal_.CheckoutButtonOptions.md#params)
|
|
224
|
-
|
|
225
|
-
___
|
|
226
|
-
|
|
227
|
-
### paypal
|
|
228
|
-
|
|
229
|
-
• `Optional` **paypal**: [`PaypalButtonInitializeOptions`](internal_.PaypalButtonInitializeOptions.md)
|
|
230
|
-
|
|
231
|
-
The options that are required to facilitate PayPal. They can be omitted
|
|
232
|
-
unless you need to support Paypal.
|
|
233
|
-
|
|
234
|
-
___
|
|
235
|
-
|
|
236
|
-
### paypalcommerce
|
|
237
|
-
|
|
238
|
-
• `Optional` **paypalcommerce**: [`PaypalCommerceButtonInitializeOptions`](internal_.PaypalCommerceButtonInitializeOptions.md)
|
|
239
|
-
|
|
240
|
-
The options that are required to facilitate PayPal Commerce V2. They can be omitted
|
|
241
|
-
unless you need to support Paypal Commerce.
|
|
242
|
-
|
|
243
|
-
___
|
|
244
|
-
|
|
245
|
-
### paypalcommercealternativemethods
|
|
246
|
-
|
|
247
|
-
• `Optional` **paypalcommercealternativemethods**: [`PaypalCommerceAlternativeMethodsButtonOptions`](internal_.PaypalCommerceAlternativeMethodsButtonOptions.md)
|
|
248
|
-
|
|
249
|
-
The options that are required to facilitate PayPal Commerce. They can be omitted
|
|
250
|
-
unless you need to support PayPal Commerce Alternative Payment Methods.
|
|
251
|
-
|
|
252
|
-
___
|
|
253
|
-
|
|
254
|
-
### paypalcommercecredit
|
|
255
|
-
|
|
256
|
-
• `Optional` **paypalcommercecredit**: [`PaypalCommerceCreditButtonInitializeOptions`](internal_.PaypalCommerceCreditButtonInitializeOptions.md)
|
|
257
|
-
|
|
258
|
-
The options that are required to facilitate PayPal Commerce. They can be omitted
|
|
259
|
-
unless you need to support PayPal Commerce Credit / PayLater.
|
|
260
|
-
|
|
261
|
-
___
|
|
262
|
-
|
|
263
|
-
### paypalcommerceinline
|
|
264
|
-
|
|
265
|
-
• `Optional` **paypalcommerceinline**: [`PaypalCommerceInlineCheckoutButtonInitializeOptions`](internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md)
|
|
266
|
-
|
|
267
|
-
The options that are required to facilitate PayPal Commerce Inline Checkout. They can be omitted
|
|
268
|
-
unless you need to support PayPal Commerce Inline(Accelerated) Checkout.
|
|
269
|
-
|
|
270
|
-
___
|
|
271
|
-
|
|
272
|
-
### paypalcommercevenmo
|
|
273
|
-
|
|
274
|
-
• `Optional` **paypalcommercevenmo**: [`PaypalCommerceVenmoButtonInitializeOptions`](internal_.PaypalCommerceVenmoButtonInitializeOptions.md)
|
|
275
|
-
|
|
276
|
-
The options that are required to facilitate PayPal Commerce Venmo. They can be omitted
|
|
277
|
-
unless you need to support PayPal Commerce Venmo.
|
|
278
|
-
|
|
279
|
-
___
|
|
280
|
-
|
|
281
|
-
### timeout
|
|
282
|
-
|
|
283
|
-
• `Optional` **timeout**: `default`
|
|
284
|
-
|
|
285
|
-
Provide this option if you want to cancel or time out the request. If the
|
|
286
|
-
timeout object completes before the request, the request will be
|
|
287
|
-
cancelled.
|
|
288
|
-
|
|
289
|
-
#### Inherited from
|
|
290
|
-
|
|
291
|
-
[CheckoutButtonOptions](internal_.CheckoutButtonOptions.md).[timeout](internal_.CheckoutButtonOptions.md#timeout)
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreeError
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreeError
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreeError
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- `Error`
|
|
10
|
-
|
|
11
|
-
↳ **`BraintreeError`**
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [code](internal_.BraintreeError.md#code)
|
|
18
|
-
- [details](internal_.BraintreeError.md#details)
|
|
19
|
-
- [type](internal_.BraintreeError.md#type)
|
|
20
|
-
|
|
21
|
-
## Properties
|
|
22
|
-
|
|
23
|
-
### code
|
|
24
|
-
|
|
25
|
-
• **code**: `string`
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### details
|
|
30
|
-
|
|
31
|
-
• `Optional` **details**: `unknown`
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### type
|
|
36
|
-
|
|
37
|
-
• **type**: ``"CUSTOMER"`` \| ``"MERCHANT"`` \| ``"NETWORK"`` \| ``"INTERNAL"`` \| ``"UNKNOWN"``
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreePaypalButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreePaypalButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreePaypalButtonInitializeOptions
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [buyNowInitializeOptions](internal_.BraintreePaypalButtonInitializeOptions.md#buynowinitializeoptions)
|
|
12
|
-
- [currencyCode](internal_.BraintreePaypalButtonInitializeOptions.md#currencycode)
|
|
13
|
-
- [messagingContainerId](internal_.BraintreePaypalButtonInitializeOptions.md#messagingcontainerid)
|
|
14
|
-
- [shippingAddress](internal_.BraintreePaypalButtonInitializeOptions.md#shippingaddress)
|
|
15
|
-
- [style](internal_.BraintreePaypalButtonInitializeOptions.md#style)
|
|
16
|
-
|
|
17
|
-
### Methods
|
|
18
|
-
|
|
19
|
-
- [onAuthorizeError](internal_.BraintreePaypalButtonInitializeOptions.md#onauthorizeerror)
|
|
20
|
-
- [onError](internal_.BraintreePaypalButtonInitializeOptions.md#onerror)
|
|
21
|
-
- [onPaymentError](internal_.BraintreePaypalButtonInitializeOptions.md#onpaymenterror)
|
|
22
|
-
|
|
23
|
-
## Properties
|
|
24
|
-
|
|
25
|
-
### buyNowInitializeOptions
|
|
26
|
-
|
|
27
|
-
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
28
|
-
|
|
29
|
-
The options that are required to initialize Buy Now functionality.
|
|
30
|
-
|
|
31
|
-
#### Type declaration
|
|
32
|
-
|
|
33
|
-
| Name | Type |
|
|
34
|
-
| :------ | :------ |
|
|
35
|
-
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](internal_.BuyNowCartRequestBody.md) |
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### currencyCode
|
|
40
|
-
|
|
41
|
-
• `Optional` **currencyCode**: `string`
|
|
42
|
-
|
|
43
|
-
The option that used to initialize a PayPal script with provided currency code.
|
|
44
|
-
|
|
45
|
-
___
|
|
46
|
-
|
|
47
|
-
### messagingContainerId
|
|
48
|
-
|
|
49
|
-
• `Optional` **messagingContainerId**: `string`
|
|
50
|
-
|
|
51
|
-
The ID of a container which the messaging should be inserted.
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
### shippingAddress
|
|
56
|
-
|
|
57
|
-
• `Optional` **shippingAddress**: ``null`` \| [`Address`](internal_.Address.md)
|
|
58
|
-
|
|
59
|
-
Address to be used for shipping.
|
|
60
|
-
If not provided, it will use the first saved address from the active customer.
|
|
61
|
-
|
|
62
|
-
___
|
|
63
|
-
|
|
64
|
-
### style
|
|
65
|
-
|
|
66
|
-
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](internal_.PaypalButtonStyleOptions.md), ``"label"`` \| ``"size"`` \| ``"color"`` \| ``"height"`` \| ``"layout"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"``\>
|
|
67
|
-
|
|
68
|
-
A set of styling options for the checkout button.
|
|
69
|
-
|
|
70
|
-
## Methods
|
|
71
|
-
|
|
72
|
-
### onAuthorizeError
|
|
73
|
-
|
|
74
|
-
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
75
|
-
|
|
76
|
-
A callback that gets called if unable to authorize and tokenize payment.
|
|
77
|
-
|
|
78
|
-
#### Parameters
|
|
79
|
-
|
|
80
|
-
| Name | Type | Description |
|
|
81
|
-
| :------ | :------ | :------ |
|
|
82
|
-
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
83
|
-
|
|
84
|
-
#### Returns
|
|
85
|
-
|
|
86
|
-
`void`
|
|
87
|
-
|
|
88
|
-
___
|
|
89
|
-
|
|
90
|
-
### onError
|
|
91
|
-
|
|
92
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
93
|
-
|
|
94
|
-
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
95
|
-
|
|
96
|
-
#### Parameters
|
|
97
|
-
|
|
98
|
-
| Name | Type | Description |
|
|
99
|
-
| :------ | :------ | :------ |
|
|
100
|
-
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
101
|
-
|
|
102
|
-
#### Returns
|
|
103
|
-
|
|
104
|
-
`void`
|
|
105
|
-
|
|
106
|
-
___
|
|
107
|
-
|
|
108
|
-
### onPaymentError
|
|
109
|
-
|
|
110
|
-
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
111
|
-
|
|
112
|
-
A callback that gets called if unable to submit payment.
|
|
113
|
-
|
|
114
|
-
#### Parameters
|
|
115
|
-
|
|
116
|
-
| Name | Type | Description |
|
|
117
|
-
| :------ | :------ | :------ |
|
|
118
|
-
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
119
|
-
|
|
120
|
-
#### Returns
|
|
121
|
-
|
|
122
|
-
`void`
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BraintreePaypalCreditButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BraintreePaypalCreditButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BraintreePaypalCreditButtonInitializeOptions
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [buyNowInitializeOptions](internal_.BraintreePaypalCreditButtonInitializeOptions.md#buynowinitializeoptions)
|
|
12
|
-
- [currencyCode](internal_.BraintreePaypalCreditButtonInitializeOptions.md#currencycode)
|
|
13
|
-
- [shippingAddress](internal_.BraintreePaypalCreditButtonInitializeOptions.md#shippingaddress)
|
|
14
|
-
- [style](internal_.BraintreePaypalCreditButtonInitializeOptions.md#style)
|
|
15
|
-
|
|
16
|
-
### Methods
|
|
17
|
-
|
|
18
|
-
- [onAuthorizeError](internal_.BraintreePaypalCreditButtonInitializeOptions.md#onauthorizeerror)
|
|
19
|
-
- [onError](internal_.BraintreePaypalCreditButtonInitializeOptions.md#onerror)
|
|
20
|
-
- [onPaymentError](internal_.BraintreePaypalCreditButtonInitializeOptions.md#onpaymenterror)
|
|
21
|
-
|
|
22
|
-
## Properties
|
|
23
|
-
|
|
24
|
-
### buyNowInitializeOptions
|
|
25
|
-
|
|
26
|
-
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
27
|
-
|
|
28
|
-
The options that are required to initialize Buy Now functionality.
|
|
29
|
-
|
|
30
|
-
#### Type declaration
|
|
31
|
-
|
|
32
|
-
| Name | Type |
|
|
33
|
-
| :------ | :------ |
|
|
34
|
-
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](internal_.BuyNowCartRequestBody.md) |
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### currencyCode
|
|
39
|
-
|
|
40
|
-
• `Optional` **currencyCode**: `string`
|
|
41
|
-
|
|
42
|
-
The option that used to initialize a PayPal script with provided currency code.
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### shippingAddress
|
|
47
|
-
|
|
48
|
-
• `Optional` **shippingAddress**: ``null`` \| [`Address`](internal_.Address.md)
|
|
49
|
-
|
|
50
|
-
Address to be used for shipping.
|
|
51
|
-
If not provided, it will use the first saved address from the active customer.
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
### style
|
|
56
|
-
|
|
57
|
-
• `Optional` **style**: `Pick`<[`PaypalButtonStyleOptions`](internal_.PaypalButtonStyleOptions.md), ``"label"`` \| ``"size"`` \| ``"color"`` \| ``"height"`` \| ``"layout"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"``\>
|
|
58
|
-
|
|
59
|
-
A set of styling options for the checkout button.
|
|
60
|
-
|
|
61
|
-
## Methods
|
|
62
|
-
|
|
63
|
-
### onAuthorizeError
|
|
64
|
-
|
|
65
|
-
▸ `Optional` **onAuthorizeError**(`error`): `void`
|
|
66
|
-
|
|
67
|
-
A callback that gets called if unable to authorize and tokenize payment.
|
|
68
|
-
|
|
69
|
-
#### Parameters
|
|
70
|
-
|
|
71
|
-
| Name | Type | Description |
|
|
72
|
-
| :------ | :------ | :------ |
|
|
73
|
-
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
74
|
-
|
|
75
|
-
#### Returns
|
|
76
|
-
|
|
77
|
-
`void`
|
|
78
|
-
|
|
79
|
-
___
|
|
80
|
-
|
|
81
|
-
### onError
|
|
82
|
-
|
|
83
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
84
|
-
|
|
85
|
-
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
86
|
-
|
|
87
|
-
#### Parameters
|
|
88
|
-
|
|
89
|
-
| Name | Type | Description |
|
|
90
|
-
| :------ | :------ | :------ |
|
|
91
|
-
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
92
|
-
|
|
93
|
-
#### Returns
|
|
94
|
-
|
|
95
|
-
`void`
|
|
96
|
-
|
|
97
|
-
___
|
|
98
|
-
|
|
99
|
-
### onPaymentError
|
|
100
|
-
|
|
101
|
-
▸ `Optional` **onPaymentError**(`error`): `void`
|
|
102
|
-
|
|
103
|
-
A callback that gets called if unable to submit payment.
|
|
104
|
-
|
|
105
|
-
#### Parameters
|
|
106
|
-
|
|
107
|
-
| Name | Type | Description |
|
|
108
|
-
| :------ | :------ | :------ |
|
|
109
|
-
| `error` | [`BraintreeError`](internal_.BraintreeError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
|
|
110
|
-
|
|
111
|
-
#### Returns
|
|
112
|
-
|
|
113
|
-
`void`
|