@bigcommerce/checkout-sdk 1.308.1 → 1.308.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +158 -16
- package/docs/classes/internal_.CartChangedError.md +62 -0
- package/docs/classes/internal_.CheckoutService.md +1528 -0
- package/docs/classes/internal_.CurrencyService.md +56 -0
- package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
- package/docs/classes/internal_.LanguageService.md +103 -0
- package/docs/classes/internal_.RequestError.md +108 -0
- package/docs/classes/internal_.StandardError.md +4 -0
- package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
- package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
- package/docs/enums/internal_.CheckoutIncludes.md +31 -0
- package/docs/enums/internal_.HostedFieldType.md +52 -0
- package/docs/enums/internal_.IconStyle.md +24 -0
- package/docs/enums/internal_.RadiusUnit.md +24 -0
- package/docs/interfaces/internal_.Address.md +4 -0
- package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
- package/docs/interfaces/internal_.AdyenComponent.md +74 -0
- package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
- package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
- package/docs/interfaces/internal_.BankInstrument.md +114 -0
- package/docs/interfaces/internal_.Banner.md +24 -0
- package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
- package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
- package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
- package/docs/interfaces/internal_.BaseInstrument.md +60 -0
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
- package/docs/interfaces/internal_.BillingAddress.md +184 -0
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
- package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
- package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
- package/docs/interfaces/internal_.BodlService.md +172 -0
- package/docs/interfaces/internal_.BodyStyles.md +17 -0
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.BrowserInfo.md +52 -0
- package/docs/interfaces/internal_.ButtonResponse.md +21 -0
- package/docs/interfaces/internal_.ButtonStyles.md +143 -0
- package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.CardElementOptions.md +93 -0
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
- package/docs/interfaces/internal_.CardInstrument.md +117 -0
- package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
- package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
- package/docs/interfaces/internal_.CardState.md +42 -0
- package/docs/interfaces/internal_.CardStateErrors.md +9 -0
- package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
- package/docs/interfaces/internal_.CardState_2.md +42 -0
- package/docs/interfaces/internal_.Cart.md +108 -0
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
- package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
- package/docs/interfaces/internal_.Checkout.md +204 -0
- package/docs/interfaces/internal_.CheckoutParams.md +17 -0
- package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
- package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
- package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
- package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
- package/docs/interfaces/internal_.Consignment.md +73 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
- package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
- package/docs/interfaces/internal_.Coordinates.md +24 -0
- package/docs/interfaces/internal_.Country.md +45 -0
- package/docs/interfaces/internal_.Coupon.md +45 -0
- package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
- package/docs/interfaces/internal_.CssProperties.md +213 -0
- package/docs/interfaces/internal_.CssProperties_2.md +213 -0
- package/docs/interfaces/internal_.Currency.md +38 -0
- package/docs/interfaces/internal_.CustomItem.md +52 -0
- package/docs/interfaces/internal_.Customer.md +93 -0
- package/docs/interfaces/internal_.CustomerAddress.md +184 -0
- package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
- package/docs/interfaces/internal_.CustomerGroup.md +24 -0
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
- package/docs/interfaces/internal_.DigitalItem.md +312 -0
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
- package/docs/interfaces/internal_.Discount.md +24 -0
- package/docs/interfaces/internal_.DisplaySettings.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
- package/docs/interfaces/internal_.FlashMessage.md +31 -0
- package/docs/interfaces/internal_.FormField.md +115 -0
- package/docs/interfaces/internal_.FormFieldItem.md +24 -0
- package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
- package/docs/interfaces/internal_.FormFields.md +31 -0
- package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
- package/docs/interfaces/internal_.GiftCertificate.md +45 -0
- package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
- package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
- package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
- package/docs/interfaces/internal_.HostedInstrument.md +24 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
- package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
- package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
- package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
- package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
- package/docs/interfaces/internal_.InputDetail.md +82 -0
- package/docs/interfaces/internal_.InputDetail_2.md +82 -0
- package/docs/interfaces/internal_.InputStyles.md +154 -0
- package/docs/interfaces/internal_.Item.md +24 -0
- package/docs/interfaces/internal_.Item_2.md +28 -0
- package/docs/interfaces/internal_.Item_3.md +28 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
- package/docs/interfaces/internal_.LabelStyles.md +78 -0
- package/docs/interfaces/internal_.LanguageConfig.md +59 -0
- package/docs/interfaces/internal_.LineItem.md +163 -8
- package/docs/interfaces/internal_.LineItemCategory.md +17 -0
- package/docs/interfaces/internal_.LineItemMap.md +38 -0
- package/docs/interfaces/internal_.LineItemOption.md +38 -0
- package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
- package/docs/interfaces/internal_.LinkStyles.md +92 -0
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
- package/docs/interfaces/internal_.Locales.md +9 -0
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
- package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
- package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
- package/docs/interfaces/internal_.NonceInstrument.md +38 -0
- package/docs/interfaces/internal_.Option_2.md +24 -0
- package/docs/interfaces/internal_.OptionsResponse.md +79 -0
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.Order.md +199 -0
- package/docs/interfaces/internal_.OrderConsignment.md +17 -0
- package/docs/interfaces/internal_.OrderPayment.md +60 -0
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
- package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
- package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
- package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
- package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
- package/docs/interfaces/internal_.PaymentMethod.md +100 -0
- package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
- package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
- package/docs/interfaces/internal_.PaymentSettings.md +24 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
- package/docs/interfaces/internal_.PhysicalItem.md +313 -0
- package/docs/interfaces/internal_.PickupMethod.md +45 -0
- package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
- package/docs/interfaces/internal_.Promotion.md +17 -0
- package/docs/interfaces/internal_.Radius.md +24 -0
- package/docs/interfaces/internal_.Region.md +24 -0
- package/docs/interfaces/internal_.RequestOptions.md +5 -1
- package/docs/interfaces/internal_.SearchArea.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
- package/docs/interfaces/internal_.ShippingOption.md +66 -0
- package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
- package/docs/interfaces/internal_.ShopperConfig.md +31 -0
- package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
- package/docs/interfaces/internal_.SignInEmail.md +24 -0
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
- package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
- package/docs/interfaces/internal_.SquareFormElement.md +30 -0
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
- package/docs/interfaces/internal_.StepStyles.md +122 -0
- package/docs/interfaces/internal_.StepTracker.md +66 -0
- package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
- package/docs/interfaces/internal_.StoreConfig.md +117 -0
- package/docs/interfaces/internal_.StoreCurrency.md +58 -0
- package/docs/interfaces/internal_.StoreLinks.md +59 -0
- package/docs/interfaces/internal_.StoreProfile.md +73 -0
- package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
- package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
- package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
- package/docs/interfaces/internal_.StripeEvent.md +39 -0
- package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.StyleOptions.md +46 -0
- package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
- package/docs/interfaces/internal_.SubInputDetail.md +64 -0
- package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
- package/docs/interfaces/internal_.Subscriptions.md +31 -0
- package/docs/interfaces/internal_.Tax.md +24 -0
- package/docs/interfaces/internal_.TextInputStyles.md +177 -0
- package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
- package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
- package/docs/interfaces/internal_.TranslationData.md +9 -0
- package/docs/interfaces/internal_.Translations.md +9 -0
- package/docs/interfaces/internal_.UnknownObject.md +9 -0
- package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
- package/docs/interfaces/internal_.WechatState.md +17 -0
- package/docs/interfaces/internal_.WechatState_2.md +17 -0
- package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
- package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
- package/docs/modules/internal_.md +515 -51
- package/package.json +1 -1
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
- package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
- package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
- package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
- package/docs/enums/internal_.StyleButtonColor.md +0 -45
- package/docs/enums/internal_.StyleButtonLabel.md +0 -45
- package/docs/enums/internal_.StyleButtonLayout.md +0 -24
- package/docs/enums/internal_.StyleButtonShape.md +0 -24
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
- package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
- package/docs/interfaces/internal_.BraintreeError.md +0 -37
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenCreditCardComponentOptions
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenCreditCardComponentOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenCreditCardComponentOptions
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`AdyenBaseCardComponentOptions`](internal_.AdyenBaseCardComponentOptions.md)
|
|
10
|
+
|
|
11
|
+
- [`AdyenComponentEvents`](internal_.AdyenComponentEvents.md)
|
|
12
|
+
|
|
13
|
+
↳ **`AdyenCreditCardComponentOptions`**
|
|
14
|
+
|
|
15
|
+
## Table of contents
|
|
16
|
+
|
|
17
|
+
### Properties
|
|
18
|
+
|
|
19
|
+
- [brands](internal_.AdyenCreditCardComponentOptions.md#brands)
|
|
20
|
+
- [data](internal_.AdyenCreditCardComponentOptions.md#data)
|
|
21
|
+
- [details](internal_.AdyenCreditCardComponentOptions.md#details)
|
|
22
|
+
- [enableStoreDetails](internal_.AdyenCreditCardComponentOptions.md#enablestoredetails)
|
|
23
|
+
- [groupTypes](internal_.AdyenCreditCardComponentOptions.md#grouptypes)
|
|
24
|
+
- [hasHolderName](internal_.AdyenCreditCardComponentOptions.md#hasholdername)
|
|
25
|
+
- [holderNameRequired](internal_.AdyenCreditCardComponentOptions.md#holdernamerequired)
|
|
26
|
+
- [placeholders](internal_.AdyenCreditCardComponentOptions.md#placeholders)
|
|
27
|
+
- [styles](internal_.AdyenCreditCardComponentOptions.md#styles)
|
|
28
|
+
|
|
29
|
+
### Methods
|
|
30
|
+
|
|
31
|
+
- [onChange](internal_.AdyenCreditCardComponentOptions.md#onchange)
|
|
32
|
+
- [onError](internal_.AdyenCreditCardComponentOptions.md#onerror)
|
|
33
|
+
- [onFieldValid](internal_.AdyenCreditCardComponentOptions.md#onfieldvalid)
|
|
34
|
+
|
|
35
|
+
## Properties
|
|
36
|
+
|
|
37
|
+
### brands
|
|
38
|
+
|
|
39
|
+
• `Optional` **brands**: `string`[]
|
|
40
|
+
|
|
41
|
+
Array of card brands that will be recognized by the component.
|
|
42
|
+
|
|
43
|
+
#### Inherited from
|
|
44
|
+
|
|
45
|
+
[AdyenBaseCardComponentOptions](internal_.AdyenBaseCardComponentOptions.md).[brands](internal_.AdyenBaseCardComponentOptions.md#brands)
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### data
|
|
50
|
+
|
|
51
|
+
• `Optional` **data**: [`AdyenPlaceholderData`](internal_.AdyenPlaceholderData.md)
|
|
52
|
+
|
|
53
|
+
Information to prefill fields.
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### details
|
|
58
|
+
|
|
59
|
+
• `Optional` **details**: [`InputDetail`](internal_.InputDetail.md)[]
|
|
60
|
+
|
|
61
|
+
Set an object containing the details array for type: scheme from
|
|
62
|
+
the /paymentMethods response.
|
|
63
|
+
|
|
64
|
+
___
|
|
65
|
+
|
|
66
|
+
### enableStoreDetails
|
|
67
|
+
|
|
68
|
+
• `Optional` **enableStoreDetails**: `boolean`
|
|
69
|
+
|
|
70
|
+
Set to true to show the checkbox to save card details for the next payment.
|
|
71
|
+
|
|
72
|
+
___
|
|
73
|
+
|
|
74
|
+
### groupTypes
|
|
75
|
+
|
|
76
|
+
• `Optional` **groupTypes**: `string`[]
|
|
77
|
+
|
|
78
|
+
Defaults to ['mc','visa','amex']. Configure supported card types to
|
|
79
|
+
facilitate brand recognition used in the Secured Fields onBrand callback.
|
|
80
|
+
See list of available card types. If a shopper enters a card type not
|
|
81
|
+
specified in the GroupTypes configuration, the onBrand callback will not be invoked.
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### hasHolderName
|
|
86
|
+
|
|
87
|
+
• `Optional` **hasHolderName**: `boolean`
|
|
88
|
+
|
|
89
|
+
Set to true to request the name of the card holder.
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### holderNameRequired
|
|
94
|
+
|
|
95
|
+
• `Optional` **holderNameRequired**: `boolean`
|
|
96
|
+
|
|
97
|
+
Set to true to require the card holder name.
|
|
98
|
+
|
|
99
|
+
___
|
|
100
|
+
|
|
101
|
+
### placeholders
|
|
102
|
+
|
|
103
|
+
• `Optional` **placeholders**: [`CreditCardPlaceHolder`](internal_.CreditCardPlaceHolder.md) \| [`SepaPlaceHolder`](internal_.SepaPlaceHolder.md)
|
|
104
|
+
|
|
105
|
+
Specify the sample values you want to appear for card detail input fields.
|
|
106
|
+
|
|
107
|
+
___
|
|
108
|
+
|
|
109
|
+
### styles
|
|
110
|
+
|
|
111
|
+
• `Optional` **styles**: [`StyleOptions`](internal_.StyleOptions.md)
|
|
112
|
+
|
|
113
|
+
Set a style object to customize the input fields. See Styling Secured Fields
|
|
114
|
+
for a list of supported properties.
|
|
115
|
+
|
|
116
|
+
#### Inherited from
|
|
117
|
+
|
|
118
|
+
[AdyenBaseCardComponentOptions](internal_.AdyenBaseCardComponentOptions.md).[styles](internal_.AdyenBaseCardComponentOptions.md#styles)
|
|
119
|
+
|
|
120
|
+
## Methods
|
|
121
|
+
|
|
122
|
+
### onChange
|
|
123
|
+
|
|
124
|
+
▸ `Optional` **onChange**(`state`, `component`): `void`
|
|
125
|
+
|
|
126
|
+
Called when the shopper enters data in the card input fields.
|
|
127
|
+
Here you have the option to override your main Adyen Checkout configuration.
|
|
128
|
+
|
|
129
|
+
#### Parameters
|
|
130
|
+
|
|
131
|
+
| Name | Type |
|
|
132
|
+
| :------ | :------ |
|
|
133
|
+
| `state` | [`AdyenComponentState`](../modules/internal_.md#adyencomponentstate) |
|
|
134
|
+
| `component` | [`AdyenComponent`](internal_.AdyenComponent.md) |
|
|
135
|
+
|
|
136
|
+
#### Returns
|
|
137
|
+
|
|
138
|
+
`void`
|
|
139
|
+
|
|
140
|
+
#### Inherited from
|
|
141
|
+
|
|
142
|
+
[AdyenComponentEvents](internal_.AdyenComponentEvents.md).[onChange](internal_.AdyenComponentEvents.md#onchange)
|
|
143
|
+
|
|
144
|
+
___
|
|
145
|
+
|
|
146
|
+
### onError
|
|
147
|
+
|
|
148
|
+
▸ `Optional` **onError**(`state`, `component`): `void`
|
|
149
|
+
|
|
150
|
+
Called in case of an invalid card number, invalid expiry date, or
|
|
151
|
+
incomplete field. Called again when errors are cleared.
|
|
152
|
+
|
|
153
|
+
#### Parameters
|
|
154
|
+
|
|
155
|
+
| Name | Type |
|
|
156
|
+
| :------ | :------ |
|
|
157
|
+
| `state` | [`AdyenV2ValidationState`](internal_.AdyenV2ValidationState.md) |
|
|
158
|
+
| `component` | [`AdyenComponent`](internal_.AdyenComponent.md) |
|
|
159
|
+
|
|
160
|
+
#### Returns
|
|
161
|
+
|
|
162
|
+
`void`
|
|
163
|
+
|
|
164
|
+
#### Inherited from
|
|
165
|
+
|
|
166
|
+
[AdyenComponentEvents](internal_.AdyenComponentEvents.md).[onError](internal_.AdyenComponentEvents.md#onerror)
|
|
167
|
+
|
|
168
|
+
___
|
|
169
|
+
|
|
170
|
+
### onFieldValid
|
|
171
|
+
|
|
172
|
+
▸ `Optional` **onFieldValid**(`state`, `component`): `void`
|
|
173
|
+
|
|
174
|
+
#### Parameters
|
|
175
|
+
|
|
176
|
+
| Name | Type |
|
|
177
|
+
| :------ | :------ |
|
|
178
|
+
| `state` | [`AdyenV2ValidationState`](internal_.AdyenV2ValidationState.md) |
|
|
179
|
+
| `component` | [`AdyenComponent`](internal_.AdyenComponent.md) |
|
|
180
|
+
|
|
181
|
+
#### Returns
|
|
182
|
+
|
|
183
|
+
`void`
|
|
184
|
+
|
|
185
|
+
#### Inherited from
|
|
186
|
+
|
|
187
|
+
[AdyenComponentEvents](internal_.AdyenComponentEvents.md).[onFieldValid](internal_.AdyenComponentEvents.md#onfieldvalid)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenIdealComponentOptions
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenIdealComponentOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenIdealComponentOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [showImage](internal_.AdyenIdealComponentOptions.md#showimage)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### showImage
|
|
16
|
+
|
|
17
|
+
• `Optional` **showImage**: `boolean`
|
|
18
|
+
|
|
19
|
+
Optional. Set to **false** to remove the bank logos from the iDEAL form.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenPaymentMethodState
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenPaymentMethodState
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenPaymentMethodState
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- **`AdyenPaymentMethodState`**
|
|
10
|
+
|
|
11
|
+
↳ [`CardPaymentMethodState`](internal_.CardPaymentMethodState.md)
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [type](internal_.AdyenPaymentMethodState.md#type)
|
|
18
|
+
|
|
19
|
+
## Properties
|
|
20
|
+
|
|
21
|
+
### type
|
|
22
|
+
|
|
23
|
+
• **type**: `string`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenPaymentMethodState\_2
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenPaymentMethodState\_2
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenPaymentMethodState_2
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [type](internal_.AdyenPaymentMethodState_2.md#type)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
• **type**: `string`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenPlaceholderData
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenPlaceholderData
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenPlaceholderData
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [billingAddress](internal_.AdyenPlaceholderData.md#billingaddress)
|
|
12
|
+
- [holderName](internal_.AdyenPlaceholderData.md#holdername)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### billingAddress
|
|
17
|
+
|
|
18
|
+
• `Optional` **billingAddress**: `Object`
|
|
19
|
+
|
|
20
|
+
#### Type declaration
|
|
21
|
+
|
|
22
|
+
| Name | Type |
|
|
23
|
+
| :------ | :------ |
|
|
24
|
+
| `city` | `string` |
|
|
25
|
+
| `country` | `string` |
|
|
26
|
+
| `houseNumberOrName` | `string` |
|
|
27
|
+
| `postalCode` | `string` |
|
|
28
|
+
| `stateOrProvince` | `string` |
|
|
29
|
+
| `street` | `string` |
|
|
30
|
+
|
|
31
|
+
___
|
|
32
|
+
|
|
33
|
+
### holderName
|
|
34
|
+
|
|
35
|
+
• `Optional` **holderName**: `string`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenPlaceholderData\_2
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenPlaceholderData\_2
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenPlaceholderData_2
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [billingAddress](internal_.AdyenPlaceholderData_2.md#billingaddress)
|
|
12
|
+
- [holderName](internal_.AdyenPlaceholderData_2.md#holdername)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### billingAddress
|
|
17
|
+
|
|
18
|
+
• `Optional` **billingAddress**: `Object`
|
|
19
|
+
|
|
20
|
+
#### Type declaration
|
|
21
|
+
|
|
22
|
+
| Name | Type |
|
|
23
|
+
| :------ | :------ |
|
|
24
|
+
| `city` | `string` |
|
|
25
|
+
| `country` | `string` |
|
|
26
|
+
| `houseNumberOrName` | `string` |
|
|
27
|
+
| `postalCode` | `string` |
|
|
28
|
+
| `stateOrProvince` | `string` |
|
|
29
|
+
| `street` | `string` |
|
|
30
|
+
|
|
31
|
+
___
|
|
32
|
+
|
|
33
|
+
### holderName
|
|
34
|
+
|
|
35
|
+
• `Optional` **holderName**: `string`
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenThreeDS2Options
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenThreeDS2Options
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenThreeDS2Options
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- [`AdyenAdditionalActionCallbacks`](internal_.AdyenAdditionalActionCallbacks.md)
|
|
10
|
+
|
|
11
|
+
↳ **`AdyenThreeDS2Options`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
- [widgetSize](internal_.AdyenThreeDS2Options.md#widgetsize)
|
|
18
|
+
|
|
19
|
+
### Methods
|
|
20
|
+
|
|
21
|
+
- [onBeforeLoad](internal_.AdyenThreeDS2Options.md#onbeforeload)
|
|
22
|
+
- [onComplete](internal_.AdyenThreeDS2Options.md#oncomplete)
|
|
23
|
+
- [onLoad](internal_.AdyenThreeDS2Options.md#onload)
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
### widgetSize
|
|
28
|
+
|
|
29
|
+
• `Optional` **widgetSize**: `string`
|
|
30
|
+
|
|
31
|
+
Specify Three3DS2Challenge Widget Size
|
|
32
|
+
|
|
33
|
+
Values
|
|
34
|
+
'01' = 250px x 400px
|
|
35
|
+
'02' = 390px x 400px
|
|
36
|
+
'03' = 500px x 600px
|
|
37
|
+
'04' = 600px x 400px
|
|
38
|
+
'05' = 100% x 100%
|
|
39
|
+
|
|
40
|
+
## Methods
|
|
41
|
+
|
|
42
|
+
### onBeforeLoad
|
|
43
|
+
|
|
44
|
+
▸ `Optional` **onBeforeLoad**(`shopperInteraction?`): `void`
|
|
45
|
+
|
|
46
|
+
A callback that gets called before adyen component is loaded
|
|
47
|
+
|
|
48
|
+
#### Parameters
|
|
49
|
+
|
|
50
|
+
| Name | Type |
|
|
51
|
+
| :------ | :------ |
|
|
52
|
+
| `shopperInteraction?` | `boolean` |
|
|
53
|
+
|
|
54
|
+
#### Returns
|
|
55
|
+
|
|
56
|
+
`void`
|
|
57
|
+
|
|
58
|
+
#### Inherited from
|
|
59
|
+
|
|
60
|
+
[AdyenAdditionalActionCallbacks](internal_.AdyenAdditionalActionCallbacks.md).[onBeforeLoad](internal_.AdyenAdditionalActionCallbacks.md#onbeforeload)
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### onComplete
|
|
65
|
+
|
|
66
|
+
▸ `Optional` **onComplete**(): `void`
|
|
67
|
+
|
|
68
|
+
A callback that gets called when adyen component verification
|
|
69
|
+
is completed
|
|
70
|
+
|
|
71
|
+
#### Returns
|
|
72
|
+
|
|
73
|
+
`void`
|
|
74
|
+
|
|
75
|
+
#### Inherited from
|
|
76
|
+
|
|
77
|
+
[AdyenAdditionalActionCallbacks](internal_.AdyenAdditionalActionCallbacks.md).[onComplete](internal_.AdyenAdditionalActionCallbacks.md#oncomplete)
|
|
78
|
+
|
|
79
|
+
___
|
|
80
|
+
|
|
81
|
+
### onLoad
|
|
82
|
+
|
|
83
|
+
▸ `Optional` **onLoad**(`cancel?`): `void`
|
|
84
|
+
|
|
85
|
+
A callback that gets called when adyen component is loaded
|
|
86
|
+
|
|
87
|
+
#### Parameters
|
|
88
|
+
|
|
89
|
+
| Name | Type |
|
|
90
|
+
| :------ | :------ |
|
|
91
|
+
| `cancel?` | () => `void` |
|
|
92
|
+
|
|
93
|
+
#### Returns
|
|
94
|
+
|
|
95
|
+
`void`
|
|
96
|
+
|
|
97
|
+
#### Inherited from
|
|
98
|
+
|
|
99
|
+
[AdyenAdditionalActionCallbacks](internal_.AdyenAdditionalActionCallbacks.md).[onLoad](internal_.AdyenAdditionalActionCallbacks.md#onload)
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenV2PaymentInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenV2PaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenV2PaymentInitializeOptions
|
|
6
|
+
|
|
7
|
+
A set of options that are required to initialize the AdyenV2 payment method.
|
|
8
|
+
|
|
9
|
+
Once AdyenV2 payment is initialized, credit card form fields, provided by the
|
|
10
|
+
payment provider as IFrames, will be inserted into the current page. These
|
|
11
|
+
options provide a location and styling for each of the form fields.
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<!-- This is where the credit card component will be inserted -->
|
|
15
|
+
<div id="container"></div>
|
|
16
|
+
|
|
17
|
+
<!-- This is where the secondary components (i.e.: 3DS) will be inserted -->
|
|
18
|
+
<div id="additional-action-container"></div>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
service.initializePayment({
|
|
23
|
+
methodId: 'adyenv2',
|
|
24
|
+
adyenv2: {
|
|
25
|
+
containerId: 'container',
|
|
26
|
+
additionalActionOptions: {
|
|
27
|
+
containerId: 'additional-action-container',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Additional options can be passed in to customize the components and register
|
|
34
|
+
event callbacks.
|
|
35
|
+
|
|
36
|
+
```js
|
|
37
|
+
service.initializePayment({
|
|
38
|
+
methodId: 'adyenv2',
|
|
39
|
+
adyenv2: {
|
|
40
|
+
containerId: 'container',
|
|
41
|
+
additionalActionOptions: {
|
|
42
|
+
containerId: 'additional-action-container',
|
|
43
|
+
onBeforeLoad(shopperInteraction) {
|
|
44
|
+
console.log(shopperInteraction);
|
|
45
|
+
},
|
|
46
|
+
onLoad(cancel) {
|
|
47
|
+
console.log(cancel);
|
|
48
|
+
},
|
|
49
|
+
onComplete() {
|
|
50
|
+
console.log('Completed');
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
options: {
|
|
54
|
+
scheme: {
|
|
55
|
+
hasHolderName: true,
|
|
56
|
+
},
|
|
57
|
+
bcmc: {
|
|
58
|
+
hasHolderName: true,
|
|
59
|
+
},
|
|
60
|
+
ideal: {
|
|
61
|
+
showImage: true,
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Table of contents
|
|
69
|
+
|
|
70
|
+
### Properties
|
|
71
|
+
|
|
72
|
+
- [additionalActionOptions](internal_.AdyenV2PaymentInitializeOptions.md#additionalactionoptions)
|
|
73
|
+
- [cardVerificationContainerId](internal_.AdyenV2PaymentInitializeOptions.md#cardverificationcontainerid)
|
|
74
|
+
- [containerId](internal_.AdyenV2PaymentInitializeOptions.md#containerid)
|
|
75
|
+
- [hasVaultedInstruments](internal_.AdyenV2PaymentInitializeOptions.md#hasvaultedinstruments)
|
|
76
|
+
- [options](internal_.AdyenV2PaymentInitializeOptions.md#options)
|
|
77
|
+
- [shouldShowNumberField](internal_.AdyenV2PaymentInitializeOptions.md#shouldshownumberfield)
|
|
78
|
+
- [threeDS2ContainerId](internal_.AdyenV2PaymentInitializeOptions.md#threeds2containerid)
|
|
79
|
+
- [threeDS2Options](internal_.AdyenV2PaymentInitializeOptions.md#threeds2options)
|
|
80
|
+
|
|
81
|
+
### Methods
|
|
82
|
+
|
|
83
|
+
- [validateCardFields](internal_.AdyenV2PaymentInitializeOptions.md#validatecardfields)
|
|
84
|
+
|
|
85
|
+
## Properties
|
|
86
|
+
|
|
87
|
+
### additionalActionOptions
|
|
88
|
+
|
|
89
|
+
• **additionalActionOptions**: [`AdyenAdditionalActionOptions`](internal_.AdyenAdditionalActionOptions.md)
|
|
90
|
+
|
|
91
|
+
A set of options that are required to initialize additional payment actions.
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### cardVerificationContainerId
|
|
96
|
+
|
|
97
|
+
• `Optional` **cardVerificationContainerId**: `string`
|
|
98
|
+
|
|
99
|
+
The location to insert the Adyen custom card component
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### containerId
|
|
104
|
+
|
|
105
|
+
• **containerId**: `string`
|
|
106
|
+
|
|
107
|
+
The location to insert the Adyen component.
|
|
108
|
+
|
|
109
|
+
___
|
|
110
|
+
|
|
111
|
+
### hasVaultedInstruments
|
|
112
|
+
|
|
113
|
+
• `Optional` **hasVaultedInstruments**: `boolean`
|
|
114
|
+
|
|
115
|
+
True if the Adyen component has some Vaulted instrument
|
|
116
|
+
|
|
117
|
+
___
|
|
118
|
+
|
|
119
|
+
### options
|
|
120
|
+
|
|
121
|
+
• `Optional` **options**: [`Omit_3`](../modules/internal_.md#omit_3)<[`AdyenCreditCardComponentOptions`](internal_.AdyenCreditCardComponentOptions.md), ``"onChange"``\> \| [`AdyenIdealComponentOptions`](internal_.AdyenIdealComponentOptions.md)
|
|
122
|
+
|
|
123
|
+
Optional. Overwriting the default options
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### shouldShowNumberField
|
|
128
|
+
|
|
129
|
+
• `Optional` **shouldShowNumberField**: `boolean`
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### threeDS2ContainerId
|
|
134
|
+
|
|
135
|
+
• **threeDS2ContainerId**: `string`
|
|
136
|
+
|
|
137
|
+
**`deprecated`** The location to insert the Adyen 3DS V2 component.
|
|
138
|
+
Use additionalActionOptions instead as this property will be removed in the future
|
|
139
|
+
|
|
140
|
+
___
|
|
141
|
+
|
|
142
|
+
### threeDS2Options
|
|
143
|
+
|
|
144
|
+
• `Optional` **threeDS2Options**: [`AdyenThreeDS2Options`](internal_.AdyenThreeDS2Options.md)
|
|
145
|
+
|
|
146
|
+
**`deprecated`** Use additionalActionOptions instead as this property will be removed in the future
|
|
147
|
+
|
|
148
|
+
## Methods
|
|
149
|
+
|
|
150
|
+
### validateCardFields
|
|
151
|
+
|
|
152
|
+
▸ **validateCardFields**(`validateState`): `void`
|
|
153
|
+
|
|
154
|
+
#### Parameters
|
|
155
|
+
|
|
156
|
+
| Name | Type |
|
|
157
|
+
| :------ | :------ |
|
|
158
|
+
| `validateState` | [`AdyenV2ValidationState`](internal_.AdyenV2ValidationState.md) |
|
|
159
|
+
|
|
160
|
+
#### Returns
|
|
161
|
+
|
|
162
|
+
`void`
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenV2ValidationState
|
|
2
|
+
|
|
3
|
+
# Interface: AdyenV2ValidationState
|
|
4
|
+
|
|
5
|
+
[<internal>](../modules/internal_.md).AdyenV2ValidationState
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [encryptedFieldName](internal_.AdyenV2ValidationState.md#encryptedfieldname)
|
|
12
|
+
- [endDigits](internal_.AdyenV2ValidationState.md#enddigits)
|
|
13
|
+
- [error](internal_.AdyenV2ValidationState.md#error)
|
|
14
|
+
- [errorKey](internal_.AdyenV2ValidationState.md#errorkey)
|
|
15
|
+
- [fieldType](internal_.AdyenV2ValidationState.md#fieldtype)
|
|
16
|
+
- [i18n](internal_.AdyenV2ValidationState.md#i18n)
|
|
17
|
+
- [valid](internal_.AdyenV2ValidationState.md#valid)
|
|
18
|
+
|
|
19
|
+
## Properties
|
|
20
|
+
|
|
21
|
+
### encryptedFieldName
|
|
22
|
+
|
|
23
|
+
• `Optional` **encryptedFieldName**: `string`
|
|
24
|
+
|
|
25
|
+
___
|
|
26
|
+
|
|
27
|
+
### endDigits
|
|
28
|
+
|
|
29
|
+
• `Optional` **endDigits**: `string`
|
|
30
|
+
|
|
31
|
+
___
|
|
32
|
+
|
|
33
|
+
### error
|
|
34
|
+
|
|
35
|
+
• `Optional` **error**: `string`
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### errorKey
|
|
40
|
+
|
|
41
|
+
• `Optional` **errorKey**: `string`
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### fieldType
|
|
46
|
+
|
|
47
|
+
• `Optional` **fieldType**: [`AdyenV2CardFields`](../enums/internal_.AdyenV2CardFields.md)
|
|
48
|
+
|
|
49
|
+
___
|
|
50
|
+
|
|
51
|
+
### i18n
|
|
52
|
+
|
|
53
|
+
• `Optional` **i18n**: `string`
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### valid
|
|
58
|
+
|
|
59
|
+
• **valid**: `boolean`
|