@bigcommerce/checkout-sdk 1.271.1 → 1.271.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/checkout-button.d.ts +651 -730
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +763 -7438
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/dist/embedded-checkout.d.ts +218 -242
- package/dist/internal-mappers.d.ts +763 -762
- package/dist/tsdoc-metadata.json +11 -11
- package/docs/README.md +126 -811
- package/docs/classes/CacheKeyResolver.md +58 -0
- package/package.json +2 -2
- package/docs/classes/CartChangedError.md +0 -76
- package/docs/classes/CheckoutButtonErrorSelector.md +0 -52
- package/docs/classes/CheckoutButtonInitializer.md +0 -177
- package/docs/classes/CheckoutButtonStatusSelector.md +0 -52
- package/docs/classes/CheckoutService.md +0 -1645
- package/docs/classes/CurrencyService.md +0 -54
- package/docs/classes/EmbeddedCheckout.md +0 -40
- package/docs/classes/LanguageService.md +0 -101
- package/docs/classes/RequestError.md +0 -106
- package/docs/classes/StandardError.md +0 -71
- package/docs/enums/AmazonPayV2CheckoutLanguage.md +0 -57
- package/docs/enums/AmazonPayV2LedgerCurrency.md +0 -36
- package/docs/enums/AmazonPayV2PayOptions.md +0 -26
- package/docs/enums/AmazonPayV2Placement.md +0 -53
- package/docs/enums/BraintreeFormFieldType.md +0 -50
- package/docs/enums/ButtonColor.md +0 -29
- package/docs/enums/ButtonType.md +0 -22
- package/docs/enums/CheckoutButtonMethodType.md +0 -141
- package/docs/enums/CheckoutIncludes.md +0 -29
- package/docs/enums/EmbeddedCheckoutEventType.md +0 -50
- package/docs/enums/HostedFieldType.md +0 -50
- package/docs/enums/HostedInputEventType.md +0 -85
- package/docs/enums/IconStyle.md +0 -22
- package/docs/enums/PaypalButtonStyleColorOption.md +0 -36
- package/docs/enums/PaypalButtonStyleLabelOption.md +0 -43
- package/docs/enums/PaypalButtonStyleLayoutOption.md +0 -22
- package/docs/enums/PaypalButtonStyleShapeOption.md +0 -22
- package/docs/enums/PaypalButtonStyleSizeOption.md +0 -36
- package/docs/enums/PaypalCommerceFormFieldType.md +0 -50
- package/docs/enums/RadiusUnit.md +0 -22
- package/docs/enums/StyleButtonColor.md +0 -43
- package/docs/enums/StyleButtonLabel.md +0 -43
- package/docs/enums/StyleButtonLayout.md +0 -22
- package/docs/enums/StyleButtonShape.md +0 -22
- package/docs/interfaces/Address.md +0 -164
- package/docs/interfaces/AddressRequestBody.md +0 -100
- package/docs/interfaces/AdyenAdditionalActionCallbacks.md +0 -68
- package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +0 -66
- package/docs/interfaces/AdyenAdditionalActionOptions.md +0 -106
- package/docs/interfaces/AdyenAdditionalActionOptions_2.md +0 -106
- package/docs/interfaces/AdyenBaseCardComponentOptions.md +0 -33
- package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +0 -33
- package/docs/interfaces/AdyenComponent.md +0 -72
- package/docs/interfaces/AdyenComponentEvents.md +0 -74
- package/docs/interfaces/AdyenComponentEvents_2.md +0 -74
- package/docs/interfaces/AdyenComponent_2.md +0 -72
- package/docs/interfaces/AdyenCreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenIdealComponentOptions.md +0 -17
- package/docs/interfaces/AdyenPaymentMethodState.md +0 -21
- package/docs/interfaces/AdyenPaymentMethodState_2.md +0 -15
- package/docs/interfaces/AdyenPlaceholderData.md +0 -33
- package/docs/interfaces/AdyenPlaceholderData_2.md +0 -33
- package/docs/interfaces/AdyenThreeDS2Options.md +0 -97
- package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +0 -161
- package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +0 -185
- package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +0 -135
- package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +0 -65
- package/docs/interfaces/AmazonPayOrderReference.md +0 -30
- package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +0 -100
- package/docs/interfaces/AmazonPayShippingInitializeOptions.md +0 -85
- package/docs/interfaces/AmazonPayV2ButtonParams.md +0 -71
- package/docs/interfaces/AmazonPayV2CheckoutSession.md +0 -35
- package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +0 -24
- package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +0 -39
- package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +0 -26
- package/docs/interfaces/AmazonPayWidgetError.md +0 -25
- package/docs/interfaces/ApplePayButtonInitializeOptions.md +0 -38
- package/docs/interfaces/ApplePayButtonInitializeOptions_2.md +0 -38
- package/docs/interfaces/ApplePayCustomerInitializeOptions.md +0 -77
- package/docs/interfaces/ApplePayCustomerInitializeOptions_2.md +0 -77
- package/docs/interfaces/ApplePayPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/ApplePayPaymentInitializeOptions_2.md +0 -40
- package/docs/interfaces/BankInstrument.md +0 -112
- package/docs/interfaces/Banner.md +0 -22
- package/docs/interfaces/BaseAccountInstrument.md +0 -91
- package/docs/interfaces/BaseElementOptions.md +0 -17
- package/docs/interfaces/BaseElementOptions_2.md +0 -48
- package/docs/interfaces/BaseIndividualElementOptions.md +0 -67
- package/docs/interfaces/BaseInstrument.md +0 -58
- package/docs/interfaces/BillingAddress.md +0 -182
- package/docs/interfaces/BillingAddressRequestBody.md +0 -153
- package/docs/interfaces/BlockElementStyles.md +0 -105
- package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +0 -72
- package/docs/interfaces/BlueSnapV2StyleProps.md +0 -29
- package/docs/interfaces/BodyStyles.md +0 -15
- package/docs/interfaces/BoltCustomerInitializeOptions.md +0 -30
- package/docs/interfaces/BoltPaymentInitializeOptions.md +0 -94
- package/docs/interfaces/BraintreeError.md +0 -35
- package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/BraintreeFormFieldOptions.md +0 -35
- package/docs/interfaces/BraintreeFormFieldStylesMap.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/BraintreeFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/BraintreeFormFieldsMap.md +0 -36
- package/docs/interfaces/BraintreeFormOptions.md +0 -110
- package/docs/interfaces/BraintreePaymentInitializeOptions.md +0 -101
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +0 -96
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +0 -87
- package/docs/interfaces/BraintreeStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/BraintreeStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/BraintreeThreeDSecureOptions.md +0 -51
- package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +0 -27
- package/docs/interfaces/BraintreeVerifyPayload.md +0 -51
- package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -35
- package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/BrowserInfo.md +0 -50
- package/docs/interfaces/ButtonResponse.md +0 -19
- package/docs/interfaces/ButtonStyles.md +0 -141
- package/docs/interfaces/CardCvcElementOptions.md +0 -72
- package/docs/interfaces/CardDataPaymentMethodState.md +0 -15
- package/docs/interfaces/CardDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/CardElementOptions.md +0 -91
- package/docs/interfaces/CardExpiryElementOptions.md +0 -72
- package/docs/interfaces/CardInstrument.md +0 -115
- package/docs/interfaces/CardNumberElementOptions.md +0 -88
- package/docs/interfaces/CardPaymentMethodState.md +0 -60
- package/docs/interfaces/CardPaymentMethodState_2.md +0 -43
- package/docs/interfaces/CardState.md +0 -40
- package/docs/interfaces/CardStateErrors.md +0 -7
- package/docs/interfaces/CardStateErrors_2.md +0 -7
- package/docs/interfaces/CardState_2.md +0 -40
- package/docs/interfaces/Cart.md +0 -99
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/ChasePayInitializeOptions.md +0 -98
- package/docs/interfaces/CheckableInputStyles.md +0 -175
- package/docs/interfaces/ChecklistStyles.md +0 -127
- package/docs/interfaces/Checkout.md +0 -195
- package/docs/interfaces/CheckoutButtonInitializeOptions_3.md +0 -68
- package/docs/interfaces/CheckoutButtonInitializeOptions_4.md +0 -244
- package/docs/interfaces/CheckoutButtonInitializerOptions.md +0 -22
- package/docs/interfaces/CheckoutButtonOptions.md +0 -55
- package/docs/interfaces/CheckoutButtonOptions_2.md +0 -55
- package/docs/interfaces/CheckoutButtonSelectors.md +0 -22
- package/docs/interfaces/CheckoutParams.md +0 -15
- package/docs/interfaces/CheckoutPayment.md +0 -42
- package/docs/interfaces/CheckoutRequestBody.md +0 -15
- package/docs/interfaces/CheckoutSelectors.md +0 -29
- package/docs/interfaces/CheckoutServiceOptions.md +0 -36
- package/docs/interfaces/CheckoutSettings.md +0 -201
- package/docs/interfaces/CheckoutStoreErrorSelector.md +0 -636
- package/docs/interfaces/CheckoutStoreSelector.md +0 -501
- package/docs/interfaces/CheckoutStoreStatusSelector.md +0 -758
- package/docs/interfaces/Consignment.md +0 -71
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -29
- package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -29
- package/docs/interfaces/ConsignmentCreateRequestBody.md +0 -36
- package/docs/interfaces/ConsignmentLineItem.md +0 -22
- package/docs/interfaces/ConsignmentPickupOption.md +0 -15
- package/docs/interfaces/ConsignmentUpdateRequestBody.md +0 -43
- package/docs/interfaces/Coordinates.md +0 -22
- package/docs/interfaces/Country.md +0 -43
- package/docs/interfaces/Coupon.md +0 -43
- package/docs/interfaces/CreditCardInstrument.md +0 -85
- package/docs/interfaces/CreditCardPaymentInitializeOptions.md +0 -91
- package/docs/interfaces/CreditCardPlaceHolder.md +0 -29
- package/docs/interfaces/CreditCardPlaceHolder_2.md +0 -29
- package/docs/interfaces/CssProperties.md +0 -211
- package/docs/interfaces/CssProperties_2.md +0 -211
- package/docs/interfaces/Currency.md +0 -36
- package/docs/interfaces/CustomError.md +0 -43
- package/docs/interfaces/CustomItem.md +0 -50
- package/docs/interfaces/Customer.md +0 -84
- package/docs/interfaces/CustomerAccountRequestBody.md +0 -50
- package/docs/interfaces/CustomerAddress.md +0 -182
- package/docs/interfaces/CustomerCredentials.md +0 -22
- package/docs/interfaces/CustomerGroup.md +0 -22
- package/docs/interfaces/CustomerInitializeOptions_3.md +0 -29
- package/docs/interfaces/CustomerInitializeOptions_4.md +0 -221
- package/docs/interfaces/CustomerPasswordRequirements.md +0 -36
- package/docs/interfaces/CustomerRequestOptions.md +0 -23
- package/docs/interfaces/CustomerRequestOptions_2.md +0 -60
- package/docs/interfaces/DigitalItem.md +0 -310
- package/docs/interfaces/DigitalRiverElementClasses.md +0 -67
- package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +0 -146
- package/docs/interfaces/Discount.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutError.md +0 -29
- package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutMessenger.md +0 -109
- package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +0 -22
- package/docs/interfaces/EmbeddedCheckoutOptions.md +0 -134
- package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +0 -15
- package/docs/interfaces/EmbeddedCheckoutStyles.md +0 -141
- package/docs/interfaces/EmbeddedContentOptions.md +0 -15
- package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +0 -76
- package/docs/interfaces/FlashMessage.md +0 -29
- package/docs/interfaces/FormField.md +0 -113
- package/docs/interfaces/FormFieldItem.md +0 -22
- package/docs/interfaces/FormFieldOptions.md +0 -29
- package/docs/interfaces/FormFields.md +0 -29
- package/docs/interfaces/GatewayOrderPayment.md +0 -108
- package/docs/interfaces/GiftCertificate.md +0 -43
- package/docs/interfaces/GiftCertificateItem.md +0 -78
- package/docs/interfaces/GiftCertificateOrderPayment.md +0 -94
- package/docs/interfaces/GooglePayButtonInitializeOptions.md +0 -31
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +0 -42
- package/docs/interfaces/GooglePayPaymentInitializeOptions.md +0 -93
- package/docs/interfaces/HostedCardFieldOptions.md +0 -35
- package/docs/interfaces/HostedCardFieldOptionsMap.md +0 -36
- package/docs/interfaces/HostedFieldStylesMap.md +0 -29
- package/docs/interfaces/HostedFormOptions.md +0 -114
- package/docs/interfaces/HostedInputBlurEvent.md +0 -28
- package/docs/interfaces/HostedInputCardTypeChangeEvent.md +0 -28
- package/docs/interfaces/HostedInputEnterEvent.md +0 -28
- package/docs/interfaces/HostedInputFocusEvent.md +0 -28
- package/docs/interfaces/HostedInputValidateErrorData.md +0 -29
- package/docs/interfaces/HostedInputValidateErrorDataMap.md +0 -50
- package/docs/interfaces/HostedInputValidateEvent.md +0 -22
- package/docs/interfaces/HostedInputValidateResults.md +0 -22
- package/docs/interfaces/HostedInstrument.md +0 -22
- package/docs/interfaces/HostedStoredCardFieldOptions.md +0 -54
- package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +0 -22
- package/docs/interfaces/IbanElementOptions.md +0 -82
- package/docs/interfaces/IdealElementOptions.md +0 -70
- package/docs/interfaces/IndividualCardElementOptions.md +0 -36
- package/docs/interfaces/InitializationStrategy.md +0 -21
- package/docs/interfaces/InlineElementStyles.md +0 -53
- package/docs/interfaces/InputDetail.md +0 -80
- package/docs/interfaces/InputDetail_2.md +0 -80
- package/docs/interfaces/InputStyles.md +0 -152
- package/docs/interfaces/Item.md +0 -22
- package/docs/interfaces/Item_2.md +0 -26
- package/docs/interfaces/Item_3.md +0 -26
- package/docs/interfaces/KlarnaLoadResponse.md +0 -28
- package/docs/interfaces/KlarnaLoadResponse_2.md +0 -28
- package/docs/interfaces/KlarnaPaymentInitializeOptions.md +0 -73
- package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +0 -73
- package/docs/interfaces/LabelStyles.md +0 -76
- package/docs/interfaces/LanguageConfig.md +0 -57
- package/docs/interfaces/LineItem.md +0 -191
- package/docs/interfaces/LineItemCategory.md +0 -15
- package/docs/interfaces/LineItemMap.md +0 -36
- package/docs/interfaces/LineItemOption.md +0 -36
- package/docs/interfaces/LineItemSocialData.md +0 -36
- package/docs/interfaces/LinkStyles.md +0 -90
- package/docs/interfaces/LoadingIndicatorStyles.md +0 -29
- package/docs/interfaces/Locales.md +0 -7
- package/docs/interfaces/MasterpassCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +0 -35
- package/docs/interfaces/MolliePaymentInitializeOptions.md +0 -96
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +0 -57
- package/docs/interfaces/MonerisStylingProps.md +0 -80
- package/docs/interfaces/NonceGenerationError.md +0 -29
- package/docs/interfaces/NonceInstrument.md +0 -36
- package/docs/interfaces/Option.md +0 -22
- package/docs/interfaces/OptionsResponse.md +0 -77
- package/docs/interfaces/OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/Order.md +0 -190
- package/docs/interfaces/OrderConsignment.md +0 -15
- package/docs/interfaces/OrderPayment.md +0 -58
- package/docs/interfaces/OrderPaymentRequestBody.md +0 -39
- package/docs/interfaces/OrderRequestBody.md +0 -33
- package/docs/interfaces/OrderShippingConsignment.md +0 -218
- package/docs/interfaces/PasswordRequirements.md +0 -36
- package/docs/interfaces/PayPalInstrument.md +0 -91
- package/docs/interfaces/PaymentInitializeOptions_3.md +0 -74
- package/docs/interfaces/PaymentInitializeOptions_4.md +0 -406
- package/docs/interfaces/PaymentMethod.md +0 -98
- package/docs/interfaces/PaymentMethodConfig.md +0 -120
- package/docs/interfaces/PaymentRequestOptions.md +0 -67
- package/docs/interfaces/PaymentRequestOptions_2.md +0 -67
- package/docs/interfaces/PaymentSettings.md +0 -22
- package/docs/interfaces/PaypalButtonInitializeOptions.md +0 -76
- package/docs/interfaces/PaypalButtonStyleOptions.md +0 -64
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +0 -50
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +0 -35
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -90
- package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +0 -15
- package/docs/interfaces/PaypalCommerceFormFieldOptions.md +0 -28
- package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +0 -29
- package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +0 -33
- package/docs/interfaces/PaypalCommerceFormFieldsMap.md +0 -36
- package/docs/interfaces/PaypalCommerceFormOptions.md +0 -148
- package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +0 -186
- package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +0 -43
- package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +0 -22
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +0 -26
- package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +0 -36
- package/docs/interfaces/PaypalFieldsStyleOptions.md +0 -46
- package/docs/interfaces/PhysicalItem.md +0 -311
- package/docs/interfaces/PickupMethod.md +0 -43
- package/docs/interfaces/PickupOptionRequestBody.md +0 -22
- package/docs/interfaces/PickupOptionResult.md +0 -15
- package/docs/interfaces/Promotion.md +0 -15
- package/docs/interfaces/Radius.md +0 -22
- package/docs/interfaces/Region.md +0 -22
- package/docs/interfaces/RequestOptions.md +0 -48
- package/docs/interfaces/RequestOptions_2.md +0 -44
- package/docs/interfaces/SearchArea.md +0 -22
- package/docs/interfaces/SepaPlaceHolder.md +0 -22
- package/docs/interfaces/SepaPlaceHolder_2.md +0 -22
- package/docs/interfaces/ShippingInitializeOptions.md +0 -88
- package/docs/interfaces/ShippingOption.md +0 -64
- package/docs/interfaces/ShippingRequestOptions.md +0 -65
- package/docs/interfaces/ShopperConfig.md +0 -29
- package/docs/interfaces/ShopperCurrency.md +0 -94
- package/docs/interfaces/SignInEmail.md +0 -22
- package/docs/interfaces/SignInEmailRequestBody.md +0 -22
- package/docs/interfaces/SpamProtectionOptions.md +0 -25
- package/docs/interfaces/SquareFormElement.md +0 -28
- package/docs/interfaces/SquarePaymentInitializeOptions.md +0 -131
- package/docs/interfaces/StepStyles.md +0 -120
- package/docs/interfaces/StepTracker.md +0 -64
- package/docs/interfaces/StepTrackerConfig.md +0 -15
- package/docs/interfaces/StoreConfig.md +0 -109
- package/docs/interfaces/StoreCurrency.md +0 -56
- package/docs/interfaces/StoreLinks.md +0 -57
- package/docs/interfaces/StoreProfile.md +0 -71
- package/docs/interfaces/StripeElementCSSProperties.md +0 -170
- package/docs/interfaces/StripeElementClasses.md +0 -63
- package/docs/interfaces/StripeElementStyle.md +0 -44
- package/docs/interfaces/StripeElementStyleVariant.md +0 -285
- package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +0 -70
- package/docs/interfaces/StripeV3PaymentInitializeOptions.md +0 -76
- package/docs/interfaces/StyleOptions.md +0 -44
- package/docs/interfaces/StyleOptions_2.md +0 -44
- package/docs/interfaces/SubInputDetail.md +0 -62
- package/docs/interfaces/SubInputDetail_2.md +0 -62
- package/docs/interfaces/Subscriptions.md +0 -29
- package/docs/interfaces/Tax.md +0 -22
- package/docs/interfaces/TextInputStyles.md +0 -175
- package/docs/interfaces/ThreeDSecure.md +0 -50
- package/docs/interfaces/ThreeDSecureToken.md +0 -15
- package/docs/interfaces/TranslationData.md +0 -7
- package/docs/interfaces/Translations.md +0 -7
- package/docs/interfaces/UnknownObject.md +0 -7
- package/docs/interfaces/VaultedInstrument.md +0 -29
- package/docs/interfaces/WechatDataPaymentMethodState.md +0 -15
- package/docs/interfaces/WechatDataPaymentMethodState_2.md +0 -15
- package/docs/interfaces/WechatState.md +0 -15
- package/docs/interfaces/WechatState_2.md +0 -15
- package/docs/interfaces/WithAccountCreation.md +0 -15
- package/docs/interfaces/WithApplePayButtonInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/WithApplePayPaymentInitializeOptions.md +0 -15
- package/docs/interfaces/WithCheckoutcomFawryInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +0 -22
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +0 -15
- package/docs/interfaces/WithDocumentInstrument.md +0 -15
- package/docs/interfaces/WithMollieIssuerInstrument.md +0 -22
- package/docs/interfaces/WorldpayPaymentInitializeOptions.md +0 -30
- package/docs/interfaces/ZipCodeElementOptions.md +0 -15
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalCommerceFormOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalCommerceFormOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [fields](PaypalCommerceFormOptions.md#fields)
|
|
10
|
-
- [styles](PaypalCommerceFormOptions.md#styles)
|
|
11
|
-
|
|
12
|
-
### Methods
|
|
13
|
-
|
|
14
|
-
- [onBlur](PaypalCommerceFormOptions.md#onblur)
|
|
15
|
-
- [onCardTypeChange](PaypalCommerceFormOptions.md#oncardtypechange)
|
|
16
|
-
- [onEnter](PaypalCommerceFormOptions.md#onenter)
|
|
17
|
-
- [onFocus](PaypalCommerceFormOptions.md#onfocus)
|
|
18
|
-
- [onValidate](PaypalCommerceFormOptions.md#onvalidate)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### fields
|
|
23
|
-
|
|
24
|
-
• **fields**: [`PaypalCommerceFormFieldsMap`](PaypalCommerceFormFieldsMap.md) \| [`PaypalCommerceStoredCardFieldsMap`](PaypalCommerceStoredCardFieldsMap.md)
|
|
25
|
-
|
|
26
|
-
Containers for fields can be to present in one set of values
|
|
27
|
-
|
|
28
|
-
```js
|
|
29
|
-
{ cardNumber: { containerId: 'card-number' },
|
|
30
|
-
cardName: { containerId: 'card-name' },
|
|
31
|
-
cardExpiry: { containerId: 'card-expiry' },
|
|
32
|
-
cardCode: { containerId: 'card-code' }, }
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Or in another set of values.
|
|
36
|
-
|
|
37
|
-
```js
|
|
38
|
-
{ cardCodeVerification: { containerId: 'card-number' },
|
|
39
|
-
cardNumberVerification: { containerId: 'card-name' }, }
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### styles
|
|
45
|
-
|
|
46
|
-
• `Optional` **styles**: [`PaypalCommerceFormFieldStylesMap`](PaypalCommerceFormFieldStylesMap.md)
|
|
47
|
-
|
|
48
|
-
Styles for inputs. Change the width, height and other styling.
|
|
49
|
-
|
|
50
|
-
```js
|
|
51
|
-
default: { color: '#000' },
|
|
52
|
-
error: { color: '#f00' },
|
|
53
|
-
focus: { color: '#0f0' }
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Methods
|
|
57
|
-
|
|
58
|
-
### onBlur
|
|
59
|
-
|
|
60
|
-
▸ `Optional` **onBlur**(`data`): `void`
|
|
61
|
-
|
|
62
|
-
A callback that gets called when a field loses focus.
|
|
63
|
-
|
|
64
|
-
#### Parameters
|
|
65
|
-
|
|
66
|
-
| Name | Type |
|
|
67
|
-
| :------ | :------ |
|
|
68
|
-
| `data` | [`PaypalCommerceFormFieldKeyboardEventData`](PaypalCommerceFormFieldKeyboardEventData.md) |
|
|
69
|
-
|
|
70
|
-
#### Returns
|
|
71
|
-
|
|
72
|
-
`void`
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### onCardTypeChange
|
|
77
|
-
|
|
78
|
-
▸ `Optional` **onCardTypeChange**(`data`): `void`
|
|
79
|
-
|
|
80
|
-
A callback that gets called when activity within
|
|
81
|
-
the number field has changed such that the possible
|
|
82
|
-
card type has changed.
|
|
83
|
-
|
|
84
|
-
#### Parameters
|
|
85
|
-
|
|
86
|
-
| Name | Type |
|
|
87
|
-
| :------ | :------ |
|
|
88
|
-
| `data` | [`PaypalCommerceFormFieldCardTypeChangeEventData`](PaypalCommerceFormFieldCardTypeChangeEventData.md) |
|
|
89
|
-
|
|
90
|
-
#### Returns
|
|
91
|
-
|
|
92
|
-
`void`
|
|
93
|
-
|
|
94
|
-
___
|
|
95
|
-
|
|
96
|
-
### onEnter
|
|
97
|
-
|
|
98
|
-
▸ `Optional` **onEnter**(`data`): `void`
|
|
99
|
-
|
|
100
|
-
A callback that gets called when the user requests submission
|
|
101
|
-
of an input field, by pressing the Enter or Return key
|
|
102
|
-
on their keyboard, or mobile equivalent.
|
|
103
|
-
|
|
104
|
-
#### Parameters
|
|
105
|
-
|
|
106
|
-
| Name | Type |
|
|
107
|
-
| :------ | :------ |
|
|
108
|
-
| `data` | [`PaypalCommerceFormFieldKeyboardEventData`](PaypalCommerceFormFieldKeyboardEventData.md) |
|
|
109
|
-
|
|
110
|
-
#### Returns
|
|
111
|
-
|
|
112
|
-
`void`
|
|
113
|
-
|
|
114
|
-
___
|
|
115
|
-
|
|
116
|
-
### onFocus
|
|
117
|
-
|
|
118
|
-
▸ `Optional` **onFocus**(`data`): `void`
|
|
119
|
-
|
|
120
|
-
A callback that gets called when a field gains focus.
|
|
121
|
-
|
|
122
|
-
#### Parameters
|
|
123
|
-
|
|
124
|
-
| Name | Type |
|
|
125
|
-
| :------ | :------ |
|
|
126
|
-
| `data` | [`PaypalCommerceFormFieldKeyboardEventData`](PaypalCommerceFormFieldKeyboardEventData.md) |
|
|
127
|
-
|
|
128
|
-
#### Returns
|
|
129
|
-
|
|
130
|
-
`void`
|
|
131
|
-
|
|
132
|
-
___
|
|
133
|
-
|
|
134
|
-
### onValidate
|
|
135
|
-
|
|
136
|
-
▸ `Optional` **onValidate**(`data`): `void`
|
|
137
|
-
|
|
138
|
-
A callback that gets called when the validity of a field has changed.
|
|
139
|
-
|
|
140
|
-
#### Parameters
|
|
141
|
-
|
|
142
|
-
| Name | Type |
|
|
143
|
-
| :------ | :------ |
|
|
144
|
-
| `data` | [`PaypalCommerceFormFieldValidateEventData`](PaypalCommerceFormFieldValidateEventData.md) |
|
|
145
|
-
|
|
146
|
-
#### Returns
|
|
147
|
-
|
|
148
|
-
`void`
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalCommercePaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalCommercePaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the PayPal Commerce payment
|
|
6
|
-
method for presenting its PayPal button.
|
|
7
|
-
|
|
8
|
-
Please note that the minimum version of checkout-sdk is 1.100
|
|
9
|
-
|
|
10
|
-
Also, PayPal (also known as PayPal Commerce Platform) requires specific options to initialize the PayPal Smart Payment Button on checkout page that substitutes a standard submit button
|
|
11
|
-
```html
|
|
12
|
-
<!-- This is where the PayPal button will be inserted -->
|
|
13
|
-
<div id="container"></div>
|
|
14
|
-
<!-- This is where the PayPal alternative payment methods fields will be inserted. -->
|
|
15
|
-
<div id="apm-fields-container"></div>
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
```js
|
|
19
|
-
service.initializePayment({
|
|
20
|
-
methodId: 'paypalcommerce',
|
|
21
|
-
paypalcommerce: {
|
|
22
|
-
container: '#container',
|
|
23
|
-
apmFieldsContainer: '#apm-fields-container',
|
|
24
|
-
apmFieldsStyles: {
|
|
25
|
-
base: {
|
|
26
|
-
backgroundColor: 'transparent',
|
|
27
|
-
},
|
|
28
|
-
input: {
|
|
29
|
-
backgroundColor: 'white',
|
|
30
|
-
fontSize: '1rem',
|
|
31
|
-
color: '#333',
|
|
32
|
-
borderColor: '#d9d9d9',
|
|
33
|
-
borderRadius: '4px',
|
|
34
|
-
borderWidth: '1px',
|
|
35
|
-
padding: '1rem',
|
|
36
|
-
},
|
|
37
|
-
invalid: {
|
|
38
|
-
color: '#ed6a6a',
|
|
39
|
-
},
|
|
40
|
-
active: {
|
|
41
|
-
color: '#4496f6',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
clientId: 'YOUR_CLIENT_ID',
|
|
45
|
-
// Callback for submitting payment form that gets called when a buyer approves PayPal payment
|
|
46
|
-
submitForm: () => {
|
|
47
|
-
// Example function
|
|
48
|
-
this.submitOrder(
|
|
49
|
-
{
|
|
50
|
-
payment: { methodId: 'paypalcommerce', }
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
},
|
|
54
|
-
// Callback is used to define the state of the payment form, validate if it is applicable for submit.
|
|
55
|
-
onValidate: (resolve, reject) => {
|
|
56
|
-
// Example function
|
|
57
|
-
const isValid = this.validatePaymentForm();
|
|
58
|
-
if (isValid) {
|
|
59
|
-
return resolve();
|
|
60
|
-
}
|
|
61
|
-
return reject();
|
|
62
|
-
},
|
|
63
|
-
// Callback that is called right before render of a Smart Payment Button. It gets called when a buyer is eligible for use of the particular PayPal method. This callback can be used to hide the standard submit button.
|
|
64
|
-
onRenderButton: () => {
|
|
65
|
-
// Example function
|
|
66
|
-
this.hidePaymentSubmitButton();
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Table of contents
|
|
73
|
-
|
|
74
|
-
### Properties
|
|
75
|
-
|
|
76
|
-
- [apmFieldsContainer](PaypalCommercePaymentInitializeOptions.md#apmfieldscontainer)
|
|
77
|
-
- [apmFieldsStyles](PaypalCommercePaymentInitializeOptions.md#apmfieldsstyles)
|
|
78
|
-
- [clientId](PaypalCommercePaymentInitializeOptions.md#clientid)
|
|
79
|
-
- [container](PaypalCommercePaymentInitializeOptions.md#container)
|
|
80
|
-
|
|
81
|
-
### Methods
|
|
82
|
-
|
|
83
|
-
- [onError](PaypalCommercePaymentInitializeOptions.md#onerror)
|
|
84
|
-
- [onRenderButton](PaypalCommercePaymentInitializeOptions.md#onrenderbutton)
|
|
85
|
-
- [onValidate](PaypalCommercePaymentInitializeOptions.md#onvalidate)
|
|
86
|
-
- [submitForm](PaypalCommercePaymentInitializeOptions.md#submitform)
|
|
87
|
-
|
|
88
|
-
## Properties
|
|
89
|
-
|
|
90
|
-
### apmFieldsContainer
|
|
91
|
-
|
|
92
|
-
• `Optional` **apmFieldsContainer**: `string`
|
|
93
|
-
|
|
94
|
-
The CSS selector of a container where the alternative payment methods fields widget should be inserted into.
|
|
95
|
-
It's necessary to specify this parameter when using Alternative Payment Methods.
|
|
96
|
-
Without it alternative payment methods will not work.
|
|
97
|
-
|
|
98
|
-
___
|
|
99
|
-
|
|
100
|
-
### apmFieldsStyles
|
|
101
|
-
|
|
102
|
-
• `Optional` **apmFieldsStyles**: [`PaypalFieldsStyleOptions`](PaypalFieldsStyleOptions.md)
|
|
103
|
-
|
|
104
|
-
Object with styles to customize alternative payment methods fields.
|
|
105
|
-
|
|
106
|
-
___
|
|
107
|
-
|
|
108
|
-
### clientId
|
|
109
|
-
|
|
110
|
-
• **clientId**: `string`
|
|
111
|
-
|
|
112
|
-
The Client ID of the Paypal App
|
|
113
|
-
|
|
114
|
-
___
|
|
115
|
-
|
|
116
|
-
### container
|
|
117
|
-
|
|
118
|
-
• **container**: `string`
|
|
119
|
-
|
|
120
|
-
The CSS selector of a container where the payment widget should be inserted into.
|
|
121
|
-
|
|
122
|
-
## Methods
|
|
123
|
-
|
|
124
|
-
### onError
|
|
125
|
-
|
|
126
|
-
▸ `Optional` **onError**(`error`): `void`
|
|
127
|
-
|
|
128
|
-
A callback for displaying error popup. This callback requires error object as parameter.
|
|
129
|
-
|
|
130
|
-
#### Parameters
|
|
131
|
-
|
|
132
|
-
| Name | Type |
|
|
133
|
-
| :------ | :------ |
|
|
134
|
-
| `error` | `Error` |
|
|
135
|
-
|
|
136
|
-
#### Returns
|
|
137
|
-
|
|
138
|
-
`void`
|
|
139
|
-
|
|
140
|
-
___
|
|
141
|
-
|
|
142
|
-
### onRenderButton
|
|
143
|
-
|
|
144
|
-
▸ `Optional` **onRenderButton**(): `void`
|
|
145
|
-
|
|
146
|
-
A callback right before render Smart Payment Button that gets called when
|
|
147
|
-
Smart Payment Button is eligible. This callback can be used to hide the standard submit button.
|
|
148
|
-
|
|
149
|
-
#### Returns
|
|
150
|
-
|
|
151
|
-
`void`
|
|
152
|
-
|
|
153
|
-
___
|
|
154
|
-
|
|
155
|
-
### onValidate
|
|
156
|
-
|
|
157
|
-
▸ **onValidate**(`resolve`, `reject`): `Promise`<`void`\>
|
|
158
|
-
|
|
159
|
-
A callback that gets called when a buyer click on Smart Payment Button
|
|
160
|
-
and should validate payment form.
|
|
161
|
-
|
|
162
|
-
#### Parameters
|
|
163
|
-
|
|
164
|
-
| Name | Type | Description |
|
|
165
|
-
| :------ | :------ | :------ |
|
|
166
|
-
| `resolve` | () => `void` | A function, that gets called if form is valid. |
|
|
167
|
-
| `reject` | () => `void` | A function, that gets called if form is not valid. |
|
|
168
|
-
|
|
169
|
-
#### Returns
|
|
170
|
-
|
|
171
|
-
`Promise`<`void`\>
|
|
172
|
-
|
|
173
|
-
reject() or resolve()
|
|
174
|
-
|
|
175
|
-
___
|
|
176
|
-
|
|
177
|
-
### submitForm
|
|
178
|
-
|
|
179
|
-
▸ **submitForm**(): `void`
|
|
180
|
-
|
|
181
|
-
A callback for submitting payment form that gets called
|
|
182
|
-
when buyer approved PayPal account.
|
|
183
|
-
|
|
184
|
-
#### Returns
|
|
185
|
-
|
|
186
|
-
`void`
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalCommerceStoredCardFieldOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalCommerceStoredCardFieldOptions
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`PaypalCommerceFormFieldOptions`](PaypalCommerceFormFieldOptions.md)
|
|
8
|
-
|
|
9
|
-
↳ **`PaypalCommerceStoredCardFieldOptions`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [containerId](PaypalCommerceStoredCardFieldOptions.md#containerid)
|
|
16
|
-
- [instrumentId](PaypalCommerceStoredCardFieldOptions.md#instrumentid)
|
|
17
|
-
- [placeholder](PaypalCommerceStoredCardFieldOptions.md#placeholder)
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### containerId
|
|
22
|
-
|
|
23
|
-
• **containerId**: `string`
|
|
24
|
-
|
|
25
|
-
#### Inherited from
|
|
26
|
-
|
|
27
|
-
[PaypalCommerceFormFieldOptions](PaypalCommerceFormFieldOptions.md).[containerId](PaypalCommerceFormFieldOptions.md#containerid)
|
|
28
|
-
|
|
29
|
-
___
|
|
30
|
-
|
|
31
|
-
### instrumentId
|
|
32
|
-
|
|
33
|
-
• **instrumentId**: `string`
|
|
34
|
-
|
|
35
|
-
___
|
|
36
|
-
|
|
37
|
-
### placeholder
|
|
38
|
-
|
|
39
|
-
• `Optional` **placeholder**: `string`
|
|
40
|
-
|
|
41
|
-
#### Inherited from
|
|
42
|
-
|
|
43
|
-
[PaypalCommerceFormFieldOptions](PaypalCommerceFormFieldOptions.md).[placeholder](PaypalCommerceFormFieldOptions.md#placeholder)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalCommerceStoredCardFieldsMap
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalCommerceStoredCardFieldsMap
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [cardCodeVerification](PaypalCommerceStoredCardFieldsMap.md#cardcodeverification)
|
|
10
|
-
- [cardNumberVerification](PaypalCommerceStoredCardFieldsMap.md#cardnumberverification)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### cardCodeVerification
|
|
15
|
-
|
|
16
|
-
• `Optional` **cardCodeVerification**: [`PaypalCommerceStoredCardFieldOptions`](PaypalCommerceStoredCardFieldOptions.md)
|
|
17
|
-
|
|
18
|
-
___
|
|
19
|
-
|
|
20
|
-
### cardNumberVerification
|
|
21
|
-
|
|
22
|
-
• `Optional` **cardNumberVerification**: [`PaypalCommerceStoredCardFieldOptions`](PaypalCommerceStoredCardFieldOptions.md)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalCommerceVenmoButtonInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalCommerceVenmoButtonInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [initializesOnCheckoutPage](PaypalCommerceVenmoButtonInitializeOptions.md#initializesoncheckoutpage)
|
|
10
|
-
- [style](PaypalCommerceVenmoButtonInitializeOptions.md#style)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### initializesOnCheckoutPage
|
|
15
|
-
|
|
16
|
-
• `Optional` **initializesOnCheckoutPage**: `boolean`
|
|
17
|
-
|
|
18
|
-
Flag which helps to detect that the strategy initializes on Checkout page
|
|
19
|
-
|
|
20
|
-
___
|
|
21
|
-
|
|
22
|
-
### style
|
|
23
|
-
|
|
24
|
-
• `Optional` **style**: [`PaypalButtonStyleOptions_2`](PaypalButtonStyleOptions_2.md)
|
|
25
|
-
|
|
26
|
-
A set of styling options for the checkout button.
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalExpressPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalExpressPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the PayPal Express payment
|
|
6
|
-
method.
|
|
7
|
-
|
|
8
|
-
```js
|
|
9
|
-
service.initializePayment({
|
|
10
|
-
methodId: 'paypalexpress',
|
|
11
|
-
});
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
An additional flag can be passed in to always start the payment flow through
|
|
15
|
-
a redirect rather than a popup.
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
service.initializePayment({
|
|
19
|
-
methodId: 'paypalexpress',
|
|
20
|
-
paypalexpress: {
|
|
21
|
-
useRedirectFlow: true,
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Table of contents
|
|
27
|
-
|
|
28
|
-
### Properties
|
|
29
|
-
|
|
30
|
-
- [useRedirectFlow](PaypalExpressPaymentInitializeOptions.md#useredirectflow)
|
|
31
|
-
|
|
32
|
-
## Properties
|
|
33
|
-
|
|
34
|
-
### useRedirectFlow
|
|
35
|
-
|
|
36
|
-
• `Optional` **useRedirectFlow**: `boolean`
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalFieldsStyleOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalFieldsStyleOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [rules](PaypalFieldsStyleOptions.md#rules)
|
|
10
|
-
- [variables](PaypalFieldsStyleOptions.md#variables)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### rules
|
|
15
|
-
|
|
16
|
-
• `Optional` **rules**: `Object`
|
|
17
|
-
|
|
18
|
-
#### Index signature
|
|
19
|
-
|
|
20
|
-
▪ [key: `string`]: `any`
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### variables
|
|
25
|
-
|
|
26
|
-
• `Optional` **variables**: `Object`
|
|
27
|
-
|
|
28
|
-
#### Type declaration
|
|
29
|
-
|
|
30
|
-
| Name | Type |
|
|
31
|
-
| :------ | :------ |
|
|
32
|
-
| `borderColor?` | `string` |
|
|
33
|
-
| `borderFocusColor?` | `string` |
|
|
34
|
-
| `borderRadius?` | `string` |
|
|
35
|
-
| `borderWidth?` | `string` |
|
|
36
|
-
| `colorBackground?` | `string` |
|
|
37
|
-
| `colorDanger?` | `string` |
|
|
38
|
-
| `colorInfo?` | `string` |
|
|
39
|
-
| `colorTextPlaceholder?` | `string` |
|
|
40
|
-
| `fontFamily?` | `string` |
|
|
41
|
-
| `fontSizeBase?` | `string` |
|
|
42
|
-
| `fontSizeLg?` | `string` |
|
|
43
|
-
| `fontSizeM?` | `string` |
|
|
44
|
-
| `fontSizeSm?` | `string` |
|
|
45
|
-
| `spacingUnit?` | `string` |
|
|
46
|
-
| `textColor?` | `string` |
|