@bigcommerce/checkout-sdk 1.271.2 → 1.271.3

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.
Files changed (349) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/checkout-button.d.ts +671 -651
  3. package/dist/checkout-button.js +1 -1
  4. package/dist/checkout-button.umd.js +1 -1
  5. package/dist/checkout-sdk.d.ts +7275 -763
  6. package/dist/checkout-sdk.js +1 -1
  7. package/dist/checkout-sdk.umd.js +1 -1
  8. package/dist/embedded-checkout.d.ts +242 -218
  9. package/dist/internal-mappers.d.ts +762 -763
  10. package/dist/tsdoc-metadata.json +11 -11
  11. package/docs/README.md +756 -126
  12. package/docs/classes/CartChangedError.md +76 -0
  13. package/docs/classes/CheckoutButtonErrorSelector.md +52 -0
  14. package/docs/classes/CheckoutButtonInitializer.md +177 -0
  15. package/docs/classes/CheckoutButtonStatusSelector.md +52 -0
  16. package/docs/classes/CheckoutService.md +1645 -0
  17. package/docs/classes/CurrencyService.md +54 -0
  18. package/docs/classes/EmbeddedCheckout.md +40 -0
  19. package/docs/classes/LanguageService.md +101 -0
  20. package/docs/classes/RequestError.md +106 -0
  21. package/docs/classes/StandardError.md +71 -0
  22. package/docs/enums/AmazonPayV2CheckoutLanguage.md +57 -0
  23. package/docs/enums/AmazonPayV2LedgerCurrency.md +36 -0
  24. package/docs/enums/AmazonPayV2PayOptions.md +26 -0
  25. package/docs/enums/AmazonPayV2Placement.md +53 -0
  26. package/docs/enums/BraintreeFormFieldType.md +50 -0
  27. package/docs/enums/ButtonColor.md +29 -0
  28. package/docs/enums/ButtonType.md +22 -0
  29. package/docs/enums/CheckoutButtonMethodType.md +141 -0
  30. package/docs/enums/CheckoutIncludes.md +29 -0
  31. package/docs/enums/EmbeddedCheckoutEventType.md +50 -0
  32. package/docs/enums/HostedFieldType.md +50 -0
  33. package/docs/enums/HostedInputEventType.md +85 -0
  34. package/docs/enums/IconStyle.md +22 -0
  35. package/docs/enums/PaypalButtonStyleColorOption.md +36 -0
  36. package/docs/enums/PaypalButtonStyleLabelOption.md +43 -0
  37. package/docs/enums/PaypalButtonStyleLayoutOption.md +22 -0
  38. package/docs/enums/PaypalButtonStyleShapeOption.md +22 -0
  39. package/docs/enums/PaypalButtonStyleSizeOption.md +36 -0
  40. package/docs/enums/PaypalCommerceFormFieldType.md +50 -0
  41. package/docs/enums/RadiusUnit.md +22 -0
  42. package/docs/enums/StyleButtonColor.md +43 -0
  43. package/docs/enums/StyleButtonLabel.md +43 -0
  44. package/docs/enums/StyleButtonLayout.md +22 -0
  45. package/docs/enums/StyleButtonShape.md +22 -0
  46. package/docs/interfaces/Address.md +164 -0
  47. package/docs/interfaces/AddressRequestBody.md +100 -0
  48. package/docs/interfaces/AdyenAdditionalActionCallbacks.md +68 -0
  49. package/docs/interfaces/AdyenAdditionalActionCallbacks_2.md +66 -0
  50. package/docs/interfaces/AdyenAdditionalActionOptions.md +106 -0
  51. package/docs/interfaces/AdyenAdditionalActionOptions_2.md +106 -0
  52. package/docs/interfaces/AdyenBaseCardComponentOptions.md +33 -0
  53. package/docs/interfaces/AdyenBaseCardComponentOptions_2.md +33 -0
  54. package/docs/interfaces/AdyenComponent.md +72 -0
  55. package/docs/interfaces/AdyenComponentEvents.md +74 -0
  56. package/docs/interfaces/AdyenComponentEvents_2.md +74 -0
  57. package/docs/interfaces/AdyenComponent_2.md +72 -0
  58. package/docs/interfaces/AdyenCreditCardComponentOptions.md +185 -0
  59. package/docs/interfaces/AdyenIdealComponentOptions.md +17 -0
  60. package/docs/interfaces/AdyenPaymentMethodState.md +21 -0
  61. package/docs/interfaces/AdyenPaymentMethodState_2.md +15 -0
  62. package/docs/interfaces/AdyenPlaceholderData.md +33 -0
  63. package/docs/interfaces/AdyenPlaceholderData_2.md +33 -0
  64. package/docs/interfaces/AdyenThreeDS2Options.md +97 -0
  65. package/docs/interfaces/AdyenV2PaymentInitializeOptions.md +161 -0
  66. package/docs/interfaces/AdyenV3CreditCardComponentOptions.md +185 -0
  67. package/docs/interfaces/AdyenV3PaymentInitializeOptions.md +135 -0
  68. package/docs/interfaces/AmazonPayCustomerInitializeOptions.md +65 -0
  69. package/docs/interfaces/AmazonPayOrderReference.md +30 -0
  70. package/docs/interfaces/AmazonPayPaymentInitializeOptions.md +100 -0
  71. package/docs/interfaces/AmazonPayShippingInitializeOptions.md +85 -0
  72. package/docs/interfaces/AmazonPayV2ButtonParams.md +71 -0
  73. package/docs/interfaces/AmazonPayV2CheckoutSession.md +35 -0
  74. package/docs/interfaces/AmazonPayV2CustomerInitializeOptions.md +24 -0
  75. package/docs/interfaces/AmazonPayV2PaymentInitializeOptions.md +39 -0
  76. package/docs/interfaces/AmazonPayV2ShippingInitializeOptions.md +26 -0
  77. package/docs/interfaces/AmazonPayWidgetError.md +25 -0
  78. package/docs/interfaces/ApplePayButtonInitializeOptions.md +38 -0
  79. package/docs/interfaces/ApplePayCustomerInitializeOptions.md +77 -0
  80. package/docs/interfaces/ApplePayPaymentInitializeOptions.md +40 -0
  81. package/docs/interfaces/BankInstrument.md +112 -0
  82. package/docs/interfaces/Banner.md +22 -0
  83. package/docs/interfaces/BaseAccountInstrument.md +91 -0
  84. package/docs/interfaces/BaseElementOptions.md +17 -0
  85. package/docs/interfaces/BaseElementOptions_2.md +48 -0
  86. package/docs/interfaces/BaseIndividualElementOptions.md +67 -0
  87. package/docs/interfaces/BaseInstrument.md +58 -0
  88. package/docs/interfaces/BillingAddress.md +182 -0
  89. package/docs/interfaces/BillingAddressRequestBody.md +153 -0
  90. package/docs/interfaces/BlockElementStyles.md +105 -0
  91. package/docs/interfaces/BlueSnapV2PaymentInitializeOptions.md +72 -0
  92. package/docs/interfaces/BlueSnapV2StyleProps.md +29 -0
  93. package/docs/interfaces/BodyStyles.md +15 -0
  94. package/docs/interfaces/BoltCustomerInitializeOptions.md +30 -0
  95. package/docs/interfaces/BoltPaymentInitializeOptions.md +94 -0
  96. package/docs/interfaces/BraintreeError.md +35 -0
  97. package/docs/interfaces/BraintreeFormFieldCardTypeChangeEventData.md +15 -0
  98. package/docs/interfaces/BraintreeFormFieldKeyboardEventData.md +15 -0
  99. package/docs/interfaces/BraintreeFormFieldOptions.md +35 -0
  100. package/docs/interfaces/BraintreeFormFieldStylesMap.md +29 -0
  101. package/docs/interfaces/BraintreeFormFieldValidateErrorData.md +29 -0
  102. package/docs/interfaces/BraintreeFormFieldValidateEventData.md +33 -0
  103. package/docs/interfaces/BraintreeFormFieldsMap.md +36 -0
  104. package/docs/interfaces/BraintreeFormOptions.md +110 -0
  105. package/docs/interfaces/BraintreePaymentInitializeOptions.md +101 -0
  106. package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +96 -0
  107. package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +87 -0
  108. package/docs/interfaces/BraintreeStoredCardFieldOptions.md +54 -0
  109. package/docs/interfaces/BraintreeStoredCardFieldsMap.md +22 -0
  110. package/docs/interfaces/BraintreeThreeDSecureOptions.md +51 -0
  111. package/docs/interfaces/BraintreeVenmoButtonInitializeOptions.md +27 -0
  112. package/docs/interfaces/BraintreeVerifyPayload.md +51 -0
  113. package/docs/interfaces/BraintreeVisaCheckoutCustomerInitializeOptions.md +35 -0
  114. package/docs/interfaces/BraintreeVisaCheckoutPaymentInitializeOptions.md +70 -0
  115. package/docs/interfaces/BrowserInfo.md +50 -0
  116. package/docs/interfaces/ButtonResponse.md +19 -0
  117. package/docs/interfaces/ButtonStyles.md +141 -0
  118. package/docs/interfaces/CardCvcElementOptions.md +72 -0
  119. package/docs/interfaces/CardDataPaymentMethodState.md +15 -0
  120. package/docs/interfaces/CardDataPaymentMethodState_2.md +15 -0
  121. package/docs/interfaces/CardElementOptions.md +91 -0
  122. package/docs/interfaces/CardExpiryElementOptions.md +72 -0
  123. package/docs/interfaces/CardInstrument.md +115 -0
  124. package/docs/interfaces/CardNumberElementOptions.md +88 -0
  125. package/docs/interfaces/CardPaymentMethodState.md +60 -0
  126. package/docs/interfaces/CardPaymentMethodState_2.md +43 -0
  127. package/docs/interfaces/CardState.md +40 -0
  128. package/docs/interfaces/CardStateErrors.md +7 -0
  129. package/docs/interfaces/CardStateErrors_2.md +7 -0
  130. package/docs/interfaces/CardState_2.md +40 -0
  131. package/docs/interfaces/Cart.md +99 -0
  132. package/docs/interfaces/ChasePayCustomerInitializeOptions.md +15 -0
  133. package/docs/interfaces/ChasePayInitializeOptions.md +98 -0
  134. package/docs/interfaces/CheckableInputStyles.md +175 -0
  135. package/docs/interfaces/ChecklistStyles.md +127 -0
  136. package/docs/interfaces/Checkout.md +195 -0
  137. package/docs/interfaces/CheckoutButtonInitializeOptions.md +244 -0
  138. package/docs/interfaces/CheckoutButtonInitializerOptions.md +22 -0
  139. package/docs/interfaces/CheckoutButtonOptions.md +55 -0
  140. package/docs/interfaces/CheckoutButtonSelectors.md +22 -0
  141. package/docs/interfaces/CheckoutParams.md +15 -0
  142. package/docs/interfaces/CheckoutPayment.md +42 -0
  143. package/docs/interfaces/CheckoutRequestBody.md +15 -0
  144. package/docs/interfaces/CheckoutSelectors.md +29 -0
  145. package/docs/interfaces/CheckoutServiceOptions.md +36 -0
  146. package/docs/interfaces/CheckoutSettings.md +201 -0
  147. package/docs/interfaces/CheckoutStoreErrorSelector.md +636 -0
  148. package/docs/interfaces/CheckoutStoreSelector.md +501 -0
  149. package/docs/interfaces/CheckoutStoreStatusSelector.md +758 -0
  150. package/docs/interfaces/Consignment.md +71 -0
  151. package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithAddress.md +29 -0
  152. package/docs/interfaces/ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +29 -0
  153. package/docs/interfaces/ConsignmentCreateRequestBody.md +36 -0
  154. package/docs/interfaces/ConsignmentLineItem.md +22 -0
  155. package/docs/interfaces/ConsignmentPickupOption.md +15 -0
  156. package/docs/interfaces/ConsignmentUpdateRequestBody.md +43 -0
  157. package/docs/interfaces/Coordinates.md +22 -0
  158. package/docs/interfaces/Country.md +43 -0
  159. package/docs/interfaces/Coupon.md +43 -0
  160. package/docs/interfaces/CreditCardInstrument.md +85 -0
  161. package/docs/interfaces/CreditCardPaymentInitializeOptions.md +91 -0
  162. package/docs/interfaces/CreditCardPlaceHolder.md +29 -0
  163. package/docs/interfaces/CreditCardPlaceHolder_2.md +29 -0
  164. package/docs/interfaces/CssProperties.md +211 -0
  165. package/docs/interfaces/CssProperties_2.md +211 -0
  166. package/docs/interfaces/Currency.md +36 -0
  167. package/docs/interfaces/CustomError.md +43 -0
  168. package/docs/interfaces/CustomItem.md +50 -0
  169. package/docs/interfaces/Customer.md +84 -0
  170. package/docs/interfaces/CustomerAccountRequestBody.md +50 -0
  171. package/docs/interfaces/CustomerAddress.md +182 -0
  172. package/docs/interfaces/CustomerCredentials.md +22 -0
  173. package/docs/interfaces/CustomerGroup.md +22 -0
  174. package/docs/interfaces/CustomerInitializeOptions.md +221 -0
  175. package/docs/interfaces/CustomerPasswordRequirements.md +36 -0
  176. package/docs/interfaces/CustomerRequestOptions.md +60 -0
  177. package/docs/interfaces/DigitalItem.md +310 -0
  178. package/docs/interfaces/DigitalRiverElementClasses.md +67 -0
  179. package/docs/interfaces/DigitalRiverPaymentInitializeOptions.md +146 -0
  180. package/docs/interfaces/Discount.md +22 -0
  181. package/docs/interfaces/EmbeddedCheckoutCompleteEvent.md +15 -0
  182. package/docs/interfaces/EmbeddedCheckoutError.md +29 -0
  183. package/docs/interfaces/EmbeddedCheckoutErrorEvent.md +22 -0
  184. package/docs/interfaces/EmbeddedCheckoutFrameErrorEvent.md +22 -0
  185. package/docs/interfaces/EmbeddedCheckoutFrameLoadedEvent.md +22 -0
  186. package/docs/interfaces/EmbeddedCheckoutLoadedEvent.md +15 -0
  187. package/docs/interfaces/EmbeddedCheckoutMessenger.md +109 -0
  188. package/docs/interfaces/EmbeddedCheckoutMessengerOptions.md +22 -0
  189. package/docs/interfaces/EmbeddedCheckoutOptions.md +134 -0
  190. package/docs/interfaces/EmbeddedCheckoutSignedOutEvent.md +15 -0
  191. package/docs/interfaces/EmbeddedCheckoutStyles.md +141 -0
  192. package/docs/interfaces/EmbeddedContentOptions.md +15 -0
  193. package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +76 -0
  194. package/docs/interfaces/FlashMessage.md +29 -0
  195. package/docs/interfaces/FormField.md +113 -0
  196. package/docs/interfaces/FormFieldItem.md +22 -0
  197. package/docs/interfaces/FormFieldOptions.md +29 -0
  198. package/docs/interfaces/FormFields.md +29 -0
  199. package/docs/interfaces/GatewayOrderPayment.md +108 -0
  200. package/docs/interfaces/GiftCertificate.md +43 -0
  201. package/docs/interfaces/GiftCertificateItem.md +78 -0
  202. package/docs/interfaces/GiftCertificateOrderPayment.md +94 -0
  203. package/docs/interfaces/GooglePayButtonInitializeOptions.md +31 -0
  204. package/docs/interfaces/GooglePayCustomerInitializeOptions.md +42 -0
  205. package/docs/interfaces/GooglePayPaymentInitializeOptions.md +93 -0
  206. package/docs/interfaces/HostedCardFieldOptions.md +35 -0
  207. package/docs/interfaces/HostedCardFieldOptionsMap.md +36 -0
  208. package/docs/interfaces/HostedFieldStylesMap.md +29 -0
  209. package/docs/interfaces/HostedFormOptions.md +114 -0
  210. package/docs/interfaces/HostedInputBlurEvent.md +28 -0
  211. package/docs/interfaces/HostedInputCardTypeChangeEvent.md +28 -0
  212. package/docs/interfaces/HostedInputEnterEvent.md +28 -0
  213. package/docs/interfaces/HostedInputFocusEvent.md +28 -0
  214. package/docs/interfaces/HostedInputValidateErrorData.md +29 -0
  215. package/docs/interfaces/HostedInputValidateErrorDataMap.md +50 -0
  216. package/docs/interfaces/HostedInputValidateEvent.md +22 -0
  217. package/docs/interfaces/HostedInputValidateResults.md +22 -0
  218. package/docs/interfaces/HostedInstrument.md +22 -0
  219. package/docs/interfaces/HostedStoredCardFieldOptions.md +54 -0
  220. package/docs/interfaces/HostedStoredCardFieldOptionsMap.md +22 -0
  221. package/docs/interfaces/IbanElementOptions.md +82 -0
  222. package/docs/interfaces/IdealElementOptions.md +70 -0
  223. package/docs/interfaces/IndividualCardElementOptions.md +36 -0
  224. package/docs/interfaces/InitializationStrategy.md +21 -0
  225. package/docs/interfaces/InlineElementStyles.md +53 -0
  226. package/docs/interfaces/InputDetail.md +80 -0
  227. package/docs/interfaces/InputDetail_2.md +80 -0
  228. package/docs/interfaces/InputStyles.md +152 -0
  229. package/docs/interfaces/Item.md +22 -0
  230. package/docs/interfaces/Item_2.md +26 -0
  231. package/docs/interfaces/Item_3.md +26 -0
  232. package/docs/interfaces/KlarnaLoadResponse.md +28 -0
  233. package/docs/interfaces/KlarnaLoadResponse_2.md +28 -0
  234. package/docs/interfaces/KlarnaPaymentInitializeOptions.md +73 -0
  235. package/docs/interfaces/KlarnaV2PaymentInitializeOptions.md +73 -0
  236. package/docs/interfaces/LabelStyles.md +76 -0
  237. package/docs/interfaces/LanguageConfig.md +57 -0
  238. package/docs/interfaces/LineItem.md +191 -0
  239. package/docs/interfaces/LineItemCategory.md +15 -0
  240. package/docs/interfaces/LineItemMap.md +36 -0
  241. package/docs/interfaces/LineItemOption.md +36 -0
  242. package/docs/interfaces/LineItemSocialData.md +36 -0
  243. package/docs/interfaces/LinkStyles.md +90 -0
  244. package/docs/interfaces/LoadingIndicatorStyles.md +29 -0
  245. package/docs/interfaces/Locales.md +7 -0
  246. package/docs/interfaces/MasterpassCustomerInitializeOptions.md +17 -0
  247. package/docs/interfaces/MasterpassPaymentInitializeOptions.md +35 -0
  248. package/docs/interfaces/MolliePaymentInitializeOptions.md +96 -0
  249. package/docs/interfaces/MonerisPaymentInitializeOptions.md +57 -0
  250. package/docs/interfaces/MonerisStylingProps.md +80 -0
  251. package/docs/interfaces/NonceGenerationError.md +29 -0
  252. package/docs/interfaces/NonceInstrument.md +36 -0
  253. package/docs/interfaces/Option.md +22 -0
  254. package/docs/interfaces/OptionsResponse.md +77 -0
  255. package/docs/interfaces/OpyPaymentInitializeOptions.md +40 -0
  256. package/docs/interfaces/Order.md +190 -0
  257. package/docs/interfaces/OrderConsignment.md +15 -0
  258. package/docs/interfaces/OrderPayment.md +58 -0
  259. package/docs/interfaces/OrderPaymentRequestBody.md +39 -0
  260. package/docs/interfaces/OrderRequestBody.md +33 -0
  261. package/docs/interfaces/OrderShippingConsignment.md +218 -0
  262. package/docs/interfaces/PasswordRequirements.md +36 -0
  263. package/docs/interfaces/PayPalInstrument.md +91 -0
  264. package/docs/interfaces/PaymentInitializeOptions.md +406 -0
  265. package/docs/interfaces/PaymentMethod.md +98 -0
  266. package/docs/interfaces/PaymentMethodConfig.md +120 -0
  267. package/docs/interfaces/PaymentRequestOptions.md +67 -0
  268. package/docs/interfaces/PaymentSettings.md +22 -0
  269. package/docs/interfaces/PaypalButtonInitializeOptions.md +76 -0
  270. package/docs/interfaces/PaypalButtonStyleOptions.md +64 -0
  271. package/docs/interfaces/PaypalButtonStyleOptions_2.md +50 -0
  272. package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +35 -0
  273. package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +26 -0
  274. package/docs/interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md +90 -0
  275. package/docs/interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md +15 -0
  276. package/docs/interfaces/PaypalCommerceFormFieldKeyboardEventData.md +15 -0
  277. package/docs/interfaces/PaypalCommerceFormFieldOptions.md +28 -0
  278. package/docs/interfaces/PaypalCommerceFormFieldStylesMap.md +29 -0
  279. package/docs/interfaces/PaypalCommerceFormFieldValidateErrorData.md +29 -0
  280. package/docs/interfaces/PaypalCommerceFormFieldValidateEventData.md +33 -0
  281. package/docs/interfaces/PaypalCommerceFormFieldsMap.md +36 -0
  282. package/docs/interfaces/PaypalCommerceFormOptions.md +148 -0
  283. package/docs/interfaces/PaypalCommercePaymentInitializeOptions.md +186 -0
  284. package/docs/interfaces/PaypalCommerceStoredCardFieldOptions.md +43 -0
  285. package/docs/interfaces/PaypalCommerceStoredCardFieldsMap.md +22 -0
  286. package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +26 -0
  287. package/docs/interfaces/PaypalExpressPaymentInitializeOptions.md +36 -0
  288. package/docs/interfaces/PaypalFieldsStyleOptions.md +46 -0
  289. package/docs/interfaces/PhysicalItem.md +311 -0
  290. package/docs/interfaces/PickupMethod.md +43 -0
  291. package/docs/interfaces/PickupOptionRequestBody.md +22 -0
  292. package/docs/interfaces/PickupOptionResult.md +15 -0
  293. package/docs/interfaces/Promotion.md +15 -0
  294. package/docs/interfaces/Radius.md +22 -0
  295. package/docs/interfaces/Region.md +22 -0
  296. package/docs/interfaces/RequestOptions.md +48 -0
  297. package/docs/interfaces/SearchArea.md +22 -0
  298. package/docs/interfaces/SepaPlaceHolder.md +22 -0
  299. package/docs/interfaces/SepaPlaceHolder_2.md +22 -0
  300. package/docs/interfaces/ShippingInitializeOptions.md +88 -0
  301. package/docs/interfaces/ShippingOption.md +64 -0
  302. package/docs/interfaces/ShippingRequestOptions.md +65 -0
  303. package/docs/interfaces/ShopperConfig.md +29 -0
  304. package/docs/interfaces/ShopperCurrency.md +94 -0
  305. package/docs/interfaces/SignInEmail.md +22 -0
  306. package/docs/interfaces/SignInEmailRequestBody.md +22 -0
  307. package/docs/interfaces/SpamProtectionOptions.md +25 -0
  308. package/docs/interfaces/SquareFormElement.md +28 -0
  309. package/docs/interfaces/SquarePaymentInitializeOptions.md +131 -0
  310. package/docs/interfaces/StepStyles.md +120 -0
  311. package/docs/interfaces/StepTracker.md +64 -0
  312. package/docs/interfaces/StepTrackerConfig.md +15 -0
  313. package/docs/interfaces/StoreConfig.md +109 -0
  314. package/docs/interfaces/StoreCurrency.md +56 -0
  315. package/docs/interfaces/StoreLinks.md +57 -0
  316. package/docs/interfaces/StoreProfile.md +71 -0
  317. package/docs/interfaces/StripeElementCSSProperties.md +170 -0
  318. package/docs/interfaces/StripeElementClasses.md +63 -0
  319. package/docs/interfaces/StripeElementStyle.md +44 -0
  320. package/docs/interfaces/StripeElementStyleVariant.md +285 -0
  321. package/docs/interfaces/StripeUPEPaymentInitializeOptions.md +70 -0
  322. package/docs/interfaces/StripeV3PaymentInitializeOptions.md +76 -0
  323. package/docs/interfaces/StyleOptions.md +44 -0
  324. package/docs/interfaces/StyleOptions_2.md +44 -0
  325. package/docs/interfaces/SubInputDetail.md +62 -0
  326. package/docs/interfaces/SubInputDetail_2.md +62 -0
  327. package/docs/interfaces/Subscriptions.md +29 -0
  328. package/docs/interfaces/Tax.md +22 -0
  329. package/docs/interfaces/TextInputStyles.md +175 -0
  330. package/docs/interfaces/ThreeDSecure.md +50 -0
  331. package/docs/interfaces/ThreeDSecureToken.md +15 -0
  332. package/docs/interfaces/TranslationData.md +7 -0
  333. package/docs/interfaces/Translations.md +7 -0
  334. package/docs/interfaces/UnknownObject.md +7 -0
  335. package/docs/interfaces/VaultedInstrument.md +29 -0
  336. package/docs/interfaces/WechatDataPaymentMethodState.md +15 -0
  337. package/docs/interfaces/WechatDataPaymentMethodState_2.md +15 -0
  338. package/docs/interfaces/WechatState.md +15 -0
  339. package/docs/interfaces/WechatState_2.md +15 -0
  340. package/docs/interfaces/WithAccountCreation.md +15 -0
  341. package/docs/interfaces/WithCheckoutcomFawryInstrument.md +22 -0
  342. package/docs/interfaces/WithCheckoutcomSEPAInstrument.md +22 -0
  343. package/docs/interfaces/WithCheckoutcomiDealInstrument.md +15 -0
  344. package/docs/interfaces/WithDocumentInstrument.md +15 -0
  345. package/docs/interfaces/WithMollieIssuerInstrument.md +22 -0
  346. package/docs/interfaces/WorldpayPaymentInitializeOptions.md +30 -0
  347. package/docs/interfaces/ZipCodeElementOptions.md +15 -0
  348. package/package.json +2 -2
  349. package/docs/classes/CacheKeyResolver.md +0 -58
@@ -0,0 +1,29 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BlueSnapV2StyleProps
2
+
3
+ # Interface: BlueSnapV2StyleProps
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [border](BlueSnapV2StyleProps.md#border)
10
+ - [height](BlueSnapV2StyleProps.md#height)
11
+ - [width](BlueSnapV2StyleProps.md#width)
12
+
13
+ ## Properties
14
+
15
+ ### border
16
+
17
+ • `Optional` **border**: `string`
18
+
19
+ ___
20
+
21
+ ### height
22
+
23
+ • `Optional` **height**: `string`
24
+
25
+ ___
26
+
27
+ ### width
28
+
29
+ • `Optional` **width**: `string`
@@ -0,0 +1,15 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BodyStyles
2
+
3
+ # Interface: BodyStyles
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [backgroundColor](BodyStyles.md#backgroundcolor)
10
+
11
+ ## Properties
12
+
13
+ ### backgroundColor
14
+
15
+ • `Optional` **backgroundColor**: `string`
@@ -0,0 +1,30 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BoltCustomerInitializeOptions
2
+
3
+ # Interface: BoltCustomerInitializeOptions
4
+
5
+ A set of options that are required to initialize the customer step of
6
+ checkout to support Bolt.
7
+
8
+ ## Table of contents
9
+
10
+ ### Methods
11
+
12
+ - [onInit](BoltCustomerInitializeOptions.md#oninit)
13
+
14
+ ## Methods
15
+
16
+ ### onInit
17
+
18
+ ▸ `Optional` **onInit**(`hasBoltAccount`): `void`
19
+
20
+ A callback that gets called on initialize the strategy
21
+
22
+ #### Parameters
23
+
24
+ | Name | Type | Description |
25
+ | :------ | :------ | :------ |
26
+ | `hasBoltAccount` | `boolean` | The hasBoltAccount variable handle the result of checking user account availability on Bolt. |
27
+
28
+ #### Returns
29
+
30
+ `void`
@@ -0,0 +1,94 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BoltPaymentInitializeOptions
2
+
3
+ # Interface: BoltPaymentInitializeOptions
4
+
5
+ A set of options that are required to initialize the Bolt payment method with:
6
+
7
+ 1) Bolt Full Checkout:
8
+
9
+ If the customer chooses to pay with Bolt, he will be asked to
10
+ enter his payment details via Bolt Full Checkout.
11
+
12
+ ```js
13
+ service.initializePayment({
14
+ methodId: 'bolt',
15
+ });
16
+ ```
17
+
18
+ 2) Bolt Client:
19
+
20
+ If the customer chooses to pay with Bolt in payment section of Checkout page,
21
+ the Bolt Payment Modal will be shown, and the customer will be asked
22
+ to enter payment details via Bolt Modal
23
+
24
+ ```js
25
+ service.initializePayment({
26
+ methodId: 'bolt',
27
+ bolt: {
28
+ useBigCommerceCheckout: true,
29
+ }
30
+ });
31
+ ```
32
+
33
+ 3) Bolt Embedded:
34
+
35
+ A set of options that are required to initialize the Bolt payment method
36
+ for presenting its credit card form.
37
+
38
+ ```html
39
+ <!-- These containers are where the hosted (iframed) credit card field will be inserted -->
40
+ <div id="bolt-embedded"></div>
41
+ ```
42
+
43
+ ```js
44
+ service.initializePayment({
45
+ methodId: 'bolt',
46
+ bolt: {
47
+ useBigCommerceCheckout: true,
48
+ containerId: 'boltEmbeddedContainerId',
49
+ }
50
+ });
51
+ ```
52
+
53
+ ## Table of contents
54
+
55
+ ### Properties
56
+
57
+ - [containerId](BoltPaymentInitializeOptions.md#containerid)
58
+ - [useBigCommerceCheckout](BoltPaymentInitializeOptions.md#usebigcommercecheckout)
59
+
60
+ ### Methods
61
+
62
+ - [onPaymentSelect](BoltPaymentInitializeOptions.md#onpaymentselect)
63
+
64
+ ## Properties
65
+
66
+ ### containerId
67
+
68
+ • `Optional` **containerId**: `string`
69
+
70
+ The CSS selector of a container where the Bolt Embedded payment field should be inserted into.
71
+
72
+ ___
73
+
74
+ ### useBigCommerceCheckout
75
+
76
+ • **useBigCommerceCheckout**: `boolean`
77
+
78
+ ## Methods
79
+
80
+ ### onPaymentSelect
81
+
82
+ ▸ `Optional` **onPaymentSelect**(`hasBoltAccount`): `void`
83
+
84
+ A callback that gets called when the customer selects Bolt as payment option.
85
+
86
+ #### Parameters
87
+
88
+ | Name | Type |
89
+ | :------ | :------ |
90
+ | `hasBoltAccount` | `boolean` |
91
+
92
+ #### Returns
93
+
94
+ `void`
@@ -0,0 +1,35 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeError
2
+
3
+ # Interface: BraintreeError
4
+
5
+ ## Hierarchy
6
+
7
+ - `Error`
8
+
9
+ ↳ **`BraintreeError`**
10
+
11
+ ## Table of contents
12
+
13
+ ### Properties
14
+
15
+ - [code](BraintreeError.md#code)
16
+ - [details](BraintreeError.md#details)
17
+ - [type](BraintreeError.md#type)
18
+
19
+ ## Properties
20
+
21
+ ### code
22
+
23
+ • **code**: `string`
24
+
25
+ ___
26
+
27
+ ### details
28
+
29
+ • `Optional` **details**: `unknown`
30
+
31
+ ___
32
+
33
+ ### type
34
+
35
+ • **type**: ``"CUSTOMER"`` \| ``"MERCHANT"`` \| ``"NETWORK"`` \| ``"INTERNAL"`` \| ``"UNKNOWN"``
@@ -0,0 +1,15 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldCardTypeChangeEventData
2
+
3
+ # Interface: BraintreeFormFieldCardTypeChangeEventData
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [cardType](BraintreeFormFieldCardTypeChangeEventData.md#cardtype)
10
+
11
+ ## Properties
12
+
13
+ ### cardType
14
+
15
+ • `Optional` **cardType**: `string`
@@ -0,0 +1,15 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldKeyboardEventData
2
+
3
+ # Interface: BraintreeFormFieldKeyboardEventData
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [fieldType](BraintreeFormFieldKeyboardEventData.md#fieldtype)
10
+
11
+ ## Properties
12
+
13
+ ### fieldType
14
+
15
+ • **fieldType**: `string`
@@ -0,0 +1,35 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldOptions
2
+
3
+ # Interface: BraintreeFormFieldOptions
4
+
5
+ ## Hierarchy
6
+
7
+ - **`BraintreeFormFieldOptions`**
8
+
9
+ ↳ [`BraintreeStoredCardFieldOptions`](BraintreeStoredCardFieldOptions.md)
10
+
11
+ ## Table of contents
12
+
13
+ ### Properties
14
+
15
+ - [accessibilityLabel](BraintreeFormFieldOptions.md#accessibilitylabel)
16
+ - [containerId](BraintreeFormFieldOptions.md#containerid)
17
+ - [placeholder](BraintreeFormFieldOptions.md#placeholder)
18
+
19
+ ## Properties
20
+
21
+ ### accessibilityLabel
22
+
23
+ • `Optional` **accessibilityLabel**: `string`
24
+
25
+ ___
26
+
27
+ ### containerId
28
+
29
+ • **containerId**: `string`
30
+
31
+ ___
32
+
33
+ ### placeholder
34
+
35
+ • `Optional` **placeholder**: `string`
@@ -0,0 +1,29 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldStylesMap
2
+
3
+ # Interface: BraintreeFormFieldStylesMap
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [default](BraintreeFormFieldStylesMap.md#default)
10
+ - [error](BraintreeFormFieldStylesMap.md#error)
11
+ - [focus](BraintreeFormFieldStylesMap.md#focus)
12
+
13
+ ## Properties
14
+
15
+ ### default
16
+
17
+ • `Optional` **default**: `Partial`<`Pick`<`CSSStyleDeclaration`, ``"color"`` \| ``"fontFamily"`` \| ``"fontSize"`` \| ``"fontWeight"``\>\>
18
+
19
+ ___
20
+
21
+ ### error
22
+
23
+ • `Optional` **error**: `Partial`<`Pick`<`CSSStyleDeclaration`, ``"color"`` \| ``"fontFamily"`` \| ``"fontSize"`` \| ``"fontWeight"``\>\>
24
+
25
+ ___
26
+
27
+ ### focus
28
+
29
+ • `Optional` **focus**: `Partial`<`Pick`<`CSSStyleDeclaration`, ``"color"`` \| ``"fontFamily"`` \| ``"fontSize"`` \| ``"fontWeight"``\>\>
@@ -0,0 +1,29 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldValidateErrorData
2
+
3
+ # Interface: BraintreeFormFieldValidateErrorData
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [fieldType](BraintreeFormFieldValidateErrorData.md#fieldtype)
10
+ - [message](BraintreeFormFieldValidateErrorData.md#message)
11
+ - [type](BraintreeFormFieldValidateErrorData.md#type)
12
+
13
+ ## Properties
14
+
15
+ ### fieldType
16
+
17
+ • **fieldType**: `string`
18
+
19
+ ___
20
+
21
+ ### message
22
+
23
+ • **message**: `string`
24
+
25
+ ___
26
+
27
+ ### type
28
+
29
+ • **type**: `string`
@@ -0,0 +1,33 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldValidateEventData
2
+
3
+ # Interface: BraintreeFormFieldValidateEventData
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [errors](BraintreeFormFieldValidateEventData.md#errors)
10
+ - [isValid](BraintreeFormFieldValidateEventData.md#isvalid)
11
+
12
+ ## Properties
13
+
14
+ ### errors
15
+
16
+ • **errors**: `Object`
17
+
18
+ #### Type declaration
19
+
20
+ | Name | Type |
21
+ | :------ | :------ |
22
+ | `cardCode?` | [`BraintreeFormFieldValidateErrorData`](BraintreeFormFieldValidateErrorData.md)[] |
23
+ | `cardCodeVerification?` | [`BraintreeFormFieldValidateErrorData`](BraintreeFormFieldValidateErrorData.md)[] |
24
+ | `cardExpiry?` | [`BraintreeFormFieldValidateErrorData`](BraintreeFormFieldValidateErrorData.md)[] |
25
+ | `cardName?` | [`BraintreeFormFieldValidateErrorData`](BraintreeFormFieldValidateErrorData.md)[] |
26
+ | `cardNumber?` | [`BraintreeFormFieldValidateErrorData`](BraintreeFormFieldValidateErrorData.md)[] |
27
+ | `cardNumberVerification?` | [`BraintreeFormFieldValidateErrorData`](BraintreeFormFieldValidateErrorData.md)[] |
28
+
29
+ ___
30
+
31
+ ### isValid
32
+
33
+ • **isValid**: `boolean`
@@ -0,0 +1,36 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormFieldsMap
2
+
3
+ # Interface: BraintreeFormFieldsMap
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [cardCode](BraintreeFormFieldsMap.md#cardcode)
10
+ - [cardExpiry](BraintreeFormFieldsMap.md#cardexpiry)
11
+ - [cardName](BraintreeFormFieldsMap.md#cardname)
12
+ - [cardNumber](BraintreeFormFieldsMap.md#cardnumber)
13
+
14
+ ## Properties
15
+
16
+ ### cardCode
17
+
18
+ • `Optional` **cardCode**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
19
+
20
+ ___
21
+
22
+ ### cardExpiry
23
+
24
+ • **cardExpiry**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
25
+
26
+ ___
27
+
28
+ ### cardName
29
+
30
+ • **cardName**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
31
+
32
+ ___
33
+
34
+ ### cardNumber
35
+
36
+ • **cardNumber**: [`BraintreeFormFieldOptions`](BraintreeFormFieldOptions.md)
@@ -0,0 +1,110 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreeFormOptions
2
+
3
+ # Interface: BraintreeFormOptions
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [fields](BraintreeFormOptions.md#fields)
10
+ - [styles](BraintreeFormOptions.md#styles)
11
+
12
+ ### Methods
13
+
14
+ - [onBlur](BraintreeFormOptions.md#onblur)
15
+ - [onCardTypeChange](BraintreeFormOptions.md#oncardtypechange)
16
+ - [onEnter](BraintreeFormOptions.md#onenter)
17
+ - [onFocus](BraintreeFormOptions.md#onfocus)
18
+ - [onValidate](BraintreeFormOptions.md#onvalidate)
19
+
20
+ ## Properties
21
+
22
+ ### fields
23
+
24
+ • **fields**: [`BraintreeFormFieldsMap`](BraintreeFormFieldsMap.md) \| [`BraintreeStoredCardFieldsMap`](BraintreeStoredCardFieldsMap.md)
25
+
26
+ ___
27
+
28
+ ### styles
29
+
30
+ • `Optional` **styles**: [`BraintreeFormFieldStylesMap`](BraintreeFormFieldStylesMap.md)
31
+
32
+ ## Methods
33
+
34
+ ### onBlur
35
+
36
+ ▸ `Optional` **onBlur**(`data`): `void`
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type |
41
+ | :------ | :------ |
42
+ | `data` | [`BraintreeFormFieldKeyboardEventData`](BraintreeFormFieldKeyboardEventData.md) |
43
+
44
+ #### Returns
45
+
46
+ `void`
47
+
48
+ ___
49
+
50
+ ### onCardTypeChange
51
+
52
+ ▸ `Optional` **onCardTypeChange**(`data`): `void`
53
+
54
+ #### Parameters
55
+
56
+ | Name | Type |
57
+ | :------ | :------ |
58
+ | `data` | [`BraintreeFormFieldCardTypeChangeEventData`](BraintreeFormFieldCardTypeChangeEventData.md) |
59
+
60
+ #### Returns
61
+
62
+ `void`
63
+
64
+ ___
65
+
66
+ ### onEnter
67
+
68
+ ▸ `Optional` **onEnter**(`data`): `void`
69
+
70
+ #### Parameters
71
+
72
+ | Name | Type |
73
+ | :------ | :------ |
74
+ | `data` | [`BraintreeFormFieldKeyboardEventData`](BraintreeFormFieldKeyboardEventData.md) |
75
+
76
+ #### Returns
77
+
78
+ `void`
79
+
80
+ ___
81
+
82
+ ### onFocus
83
+
84
+ ▸ `Optional` **onFocus**(`data`): `void`
85
+
86
+ #### Parameters
87
+
88
+ | Name | Type |
89
+ | :------ | :------ |
90
+ | `data` | [`BraintreeFormFieldKeyboardEventData`](BraintreeFormFieldKeyboardEventData.md) |
91
+
92
+ #### Returns
93
+
94
+ `void`
95
+
96
+ ___
97
+
98
+ ### onValidate
99
+
100
+ ▸ `Optional` **onValidate**(`data`): `void`
101
+
102
+ #### Parameters
103
+
104
+ | Name | Type |
105
+ | :------ | :------ |
106
+ | `data` | [`BraintreeFormFieldValidateEventData`](BraintreeFormFieldValidateEventData.md) |
107
+
108
+ #### Returns
109
+
110
+ `void`
@@ -0,0 +1,101 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / BraintreePaymentInitializeOptions
2
+
3
+ # Interface: BraintreePaymentInitializeOptions
4
+
5
+ A set of options that are required to initialize the Braintree payment
6
+ method. You need to provide the options if you want to support 3D Secure
7
+ authentication flow.
8
+
9
+ ```html
10
+ <!-- These containers are where the hosted (iframed) credit card fields will be inserted -->
11
+ <div id="card-number"></div>
12
+ <div id="card-name"></div>
13
+ <div id="card-expiry"></div>
14
+ <div id="card-code"></div>
15
+ ```
16
+
17
+ ```js
18
+ service.initializePayment({
19
+ methodId: 'braintree',
20
+ braintree: {
21
+ form: {
22
+ fields: {
23
+ cardNumber: { containerId: 'card-number' },
24
+ cardName: { containerId: 'card-name' },
25
+ cardExpiry: { containerId: 'card-expiry' },
26
+ cardCode: { containerId: 'card-code' },
27
+ },
28
+ },
29
+ },
30
+ });
31
+ ```
32
+
33
+ Additional options can be passed in to customize the fields and register
34
+ event callbacks.
35
+
36
+ ```js
37
+ service.initializePayment({
38
+ methodId: 'braintree',
39
+ creditCard: {
40
+ form: {
41
+ fields: {
42
+ cardNumber: { containerId: 'card-number' },
43
+ cardName: { containerId: 'card-name' },
44
+ cardExpiry: { containerId: 'card-expiry' },
45
+ cardCode: { containerId: 'card-code' },
46
+ },
47
+ styles: {
48
+ default: {
49
+ color: '#000',
50
+ },
51
+ error: {
52
+ color: '#f00',
53
+ },
54
+ focus: {
55
+ color: '#0f0',
56
+ },
57
+ },
58
+ onBlur({ fieldType }) {
59
+ console.log(fieldType);
60
+ },
61
+ onFocus({ fieldType }) {
62
+ console.log(fieldType);
63
+ },
64
+ onEnter({ fieldType }) {
65
+ console.log(fieldType);
66
+ },
67
+ onCardTypeChange({ cardType }) {
68
+ console.log(cardType);
69
+ },
70
+ onValidate({ errors, isValid }) {
71
+ console.log(errors);
72
+ console.log(isValid);
73
+ },
74
+ },
75
+ },
76
+ });
77
+ ```
78
+
79
+ ## Table of contents
80
+
81
+ ### Properties
82
+
83
+ - [form](BraintreePaymentInitializeOptions.md#form)
84
+ - [threeDSecure](BraintreePaymentInitializeOptions.md#threedsecure)
85
+
86
+ ## Properties
87
+
88
+ ### form
89
+
90
+ • `Optional` **form**: [`BraintreeFormOptions`](BraintreeFormOptions.md)
91
+
92
+ **`alpha`**
93
+ Please note that this option is currently in an early stage of
94
+ development. Therefore the API is unstable and not ready for public
95
+ consumption.
96
+
97
+ ___
98
+
99
+ ### threeDSecure
100
+
101
+ • `Optional` **threeDSecure**: [`BraintreeThreeDSecureOptions`](BraintreeThreeDSecureOptions.md)