@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.
Files changed (345) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/checkout-button.js +1 -1
  3. package/dist/checkout-button.umd.js +1 -1
  4. package/dist/checkout-sdk.js +1 -1
  5. package/dist/checkout-sdk.js.map +1 -1
  6. package/dist/checkout-sdk.umd.js +1 -1
  7. package/dist/checkout-sdk.umd.js.map +1 -1
  8. package/docs/README.md +158 -16
  9. package/docs/classes/internal_.CartChangedError.md +62 -0
  10. package/docs/classes/internal_.CheckoutService.md +1528 -0
  11. package/docs/classes/internal_.CurrencyService.md +56 -0
  12. package/docs/classes/internal_.EmbeddedCheckout.md +42 -0
  13. package/docs/classes/internal_.LanguageService.md +103 -0
  14. package/docs/classes/internal_.RequestError.md +108 -0
  15. package/docs/classes/internal_.StandardError.md +4 -0
  16. package/docs/enums/internal_.AdyenV2CardFields.md +31 -0
  17. package/docs/enums/internal_.AdyenV3CardFields.md +31 -0
  18. package/docs/enums/internal_.CheckoutIncludes.md +31 -0
  19. package/docs/enums/internal_.HostedFieldType.md +52 -0
  20. package/docs/enums/internal_.IconStyle.md +24 -0
  21. package/docs/enums/internal_.RadiusUnit.md +24 -0
  22. package/docs/interfaces/internal_.Address.md +4 -0
  23. package/docs/interfaces/internal_.AddressRequestBody.md +2 -0
  24. package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +70 -0
  25. package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +68 -0
  26. package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +108 -0
  27. package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +108 -0
  28. package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +35 -0
  29. package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +42 -0
  30. package/docs/interfaces/internal_.AdyenComponent.md +74 -0
  31. package/docs/interfaces/internal_.AdyenComponentEvents.md +76 -0
  32. package/docs/interfaces/internal_.AdyenComponentEvents_2.md +76 -0
  33. package/docs/interfaces/internal_.AdyenComponent_2.md +74 -0
  34. package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +187 -0
  35. package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +19 -0
  36. package/docs/interfaces/internal_.AdyenPaymentMethodState.md +23 -0
  37. package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +17 -0
  38. package/docs/interfaces/internal_.AdyenPlaceholderData.md +35 -0
  39. package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +35 -0
  40. package/docs/interfaces/internal_.AdyenThreeDS2Options.md +99 -0
  41. package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +162 -0
  42. package/docs/interfaces/internal_.AdyenV2ValidationState.md +59 -0
  43. package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +198 -0
  44. package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +137 -0
  45. package/docs/interfaces/internal_.AdyenV3ValidationState.md +59 -0
  46. package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +67 -0
  47. package/docs/interfaces/internal_.AmazonPayOrderReference.md +32 -0
  48. package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +102 -0
  49. package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +87 -0
  50. package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +26 -0
  51. package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +42 -0
  52. package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +28 -0
  53. package/docs/interfaces/internal_.AmazonPayWidgetError.md +27 -0
  54. package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +79 -0
  55. package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +42 -0
  56. package/docs/interfaces/internal_.BankInstrument.md +114 -0
  57. package/docs/interfaces/internal_.Banner.md +24 -0
  58. package/docs/interfaces/internal_.BaseAccountInstrument.md +93 -0
  59. package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +237 -0
  60. package/docs/interfaces/internal_.BaseElementOptions.md +28 -0
  61. package/docs/interfaces/internal_.BaseElementOptions_2.md +50 -0
  62. package/docs/interfaces/internal_.BaseIndividualElementOptions.md +69 -0
  63. package/docs/interfaces/internal_.BaseInstrument.md +60 -0
  64. package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +376 -0
  65. package/docs/interfaces/internal_.BillingAddress.md +184 -0
  66. package/docs/interfaces/internal_.BillingAddressRequestBody.md +155 -0
  67. package/docs/interfaces/internal_.BlockElementStyles.md +107 -0
  68. package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +75 -0
  69. package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +31 -0
  70. package/docs/interfaces/internal_.BodlEventsPayload.md +9 -0
  71. package/docs/interfaces/internal_.BodlService.md +172 -0
  72. package/docs/interfaces/internal_.BodyStyles.md +17 -0
  73. package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +32 -0
  74. package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +96 -0
  75. package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +91 -0
  76. package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +53 -0
  77. package/docs/interfaces/internal_.BraintreeVerifyPayload.md +53 -0
  78. package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +37 -0
  79. package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +72 -0
  80. package/docs/interfaces/internal_.BrowserInfo.md +52 -0
  81. package/docs/interfaces/internal_.ButtonResponse.md +21 -0
  82. package/docs/interfaces/internal_.ButtonStyles.md +143 -0
  83. package/docs/interfaces/internal_.CardCvcElementOptions.md +74 -0
  84. package/docs/interfaces/internal_.CardDataPaymentMethodState.md +17 -0
  85. package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +17 -0
  86. package/docs/interfaces/internal_.CardElementOptions.md +93 -0
  87. package/docs/interfaces/internal_.CardExpiryElementOptions.md +74 -0
  88. package/docs/interfaces/internal_.CardInstrument.md +117 -0
  89. package/docs/interfaces/internal_.CardNumberElementOptions.md +90 -0
  90. package/docs/interfaces/internal_.CardPaymentMethodState.md +62 -0
  91. package/docs/interfaces/internal_.CardPaymentMethodState_2.md +45 -0
  92. package/docs/interfaces/internal_.CardState.md +42 -0
  93. package/docs/interfaces/internal_.CardStateErrors.md +9 -0
  94. package/docs/interfaces/internal_.CardStateErrors_2.md +9 -0
  95. package/docs/interfaces/internal_.CardState_2.md +42 -0
  96. package/docs/interfaces/internal_.Cart.md +108 -0
  97. package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +17 -0
  98. package/docs/interfaces/internal_.ChasePayInitializeOptions.md +100 -0
  99. package/docs/interfaces/internal_.CheckableInputStyles.md +177 -0
  100. package/docs/interfaces/internal_.ChecklistStyles.md +129 -0
  101. package/docs/interfaces/internal_.Checkout.md +204 -0
  102. package/docs/interfaces/internal_.CheckoutParams.md +17 -0
  103. package/docs/interfaces/internal_.CheckoutPayment.md +44 -0
  104. package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +17 -0
  105. package/docs/interfaces/internal_.CheckoutRequestBody.md +17 -0
  106. package/docs/interfaces/internal_.CheckoutSelectors.md +31 -0
  107. package/docs/interfaces/internal_.CheckoutServiceOptions.md +38 -0
  108. package/docs/interfaces/internal_.CheckoutSettings.md +203 -0
  109. package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +638 -0
  110. package/docs/interfaces/internal_.CheckoutStoreSelector.md +503 -0
  111. package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +760 -0
  112. package/docs/interfaces/internal_.Consignment.md +73 -0
  113. package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +31 -0
  114. package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +31 -0
  115. package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +38 -0
  116. package/docs/interfaces/internal_.ConsignmentLineItem.md +24 -0
  117. package/docs/interfaces/internal_.ConsignmentPickupOption.md +17 -0
  118. package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +45 -0
  119. package/docs/interfaces/internal_.Coordinates.md +24 -0
  120. package/docs/interfaces/internal_.Country.md +45 -0
  121. package/docs/interfaces/internal_.Coupon.md +45 -0
  122. package/docs/interfaces/internal_.CreditCardInstrument.md +87 -0
  123. package/docs/interfaces/internal_.CreditCardPlaceHolder.md +31 -0
  124. package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +31 -0
  125. package/docs/interfaces/internal_.CssProperties.md +213 -0
  126. package/docs/interfaces/internal_.CssProperties_2.md +213 -0
  127. package/docs/interfaces/internal_.Currency.md +38 -0
  128. package/docs/interfaces/internal_.CustomItem.md +52 -0
  129. package/docs/interfaces/internal_.Customer.md +93 -0
  130. package/docs/interfaces/internal_.CustomerAddress.md +184 -0
  131. package/docs/interfaces/internal_.CustomerCredentials.md +24 -0
  132. package/docs/interfaces/internal_.CustomerGroup.md +24 -0
  133. package/docs/interfaces/internal_.CustomerPasswordRequirements.md +38 -0
  134. package/docs/interfaces/internal_.CustomerRequestOptions.md +62 -0
  135. package/docs/interfaces/internal_.DigitalItem.md +312 -0
  136. package/docs/interfaces/internal_.DigitalRiverElementClasses.md +69 -0
  137. package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +148 -0
  138. package/docs/interfaces/internal_.Discount.md +24 -0
  139. package/docs/interfaces/internal_.DisplaySettings.md +17 -0
  140. package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +17 -0
  141. package/docs/interfaces/internal_.EmbeddedCheckoutError.md +31 -0
  142. package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +24 -0
  143. package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +24 -0
  144. package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +24 -0
  145. package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +17 -0
  146. package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +136 -0
  147. package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +17 -0
  148. package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +143 -0
  149. package/docs/interfaces/internal_.EmbeddedContentOptions.md +17 -0
  150. package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +95 -0
  151. package/docs/interfaces/internal_.FlashMessage.md +31 -0
  152. package/docs/interfaces/internal_.FormField.md +115 -0
  153. package/docs/interfaces/internal_.FormFieldItem.md +24 -0
  154. package/docs/interfaces/internal_.FormFieldOptions.md +31 -0
  155. package/docs/interfaces/internal_.FormFields.md +31 -0
  156. package/docs/interfaces/internal_.GatewayOrderPayment.md +110 -0
  157. package/docs/interfaces/internal_.GiftCertificate.md +45 -0
  158. package/docs/interfaces/internal_.GiftCertificateItem.md +80 -0
  159. package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +96 -0
  160. package/docs/interfaces/{internal_.GooglePayButtonInitializeOptions.md → internal_.GooglePayCustomerInitializeOptions.md} +16 -5
  161. package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +95 -0
  162. package/docs/interfaces/internal_.HostedCardFieldOptions.md +37 -0
  163. package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +38 -0
  164. package/docs/interfaces/internal_.HostedFieldStylesMap.md +31 -0
  165. package/docs/interfaces/internal_.HostedFormOptions.md +116 -0
  166. package/docs/interfaces/internal_.HostedInputValidateErrorData.md +31 -0
  167. package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +52 -0
  168. package/docs/interfaces/internal_.HostedInputValidateResults.md +24 -0
  169. package/docs/interfaces/internal_.HostedInstrument.md +24 -0
  170. package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +56 -0
  171. package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +24 -0
  172. package/docs/interfaces/internal_.IbanElementOptions.md +84 -0
  173. package/docs/interfaces/internal_.IdealElementOptions.md +72 -0
  174. package/docs/interfaces/internal_.IndividualCardElementOptions.md +38 -0
  175. package/docs/interfaces/internal_.InitializationStrategy.md +23 -0
  176. package/docs/interfaces/internal_.InlineElementStyles.md +55 -0
  177. package/docs/interfaces/internal_.InputDetail.md +82 -0
  178. package/docs/interfaces/internal_.InputDetail_2.md +82 -0
  179. package/docs/interfaces/internal_.InputStyles.md +154 -0
  180. package/docs/interfaces/internal_.Item.md +24 -0
  181. package/docs/interfaces/internal_.Item_2.md +28 -0
  182. package/docs/interfaces/internal_.Item_3.md +28 -0
  183. package/docs/interfaces/internal_.KlarnaLoadResponse.md +30 -0
  184. package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +30 -0
  185. package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +75 -0
  186. package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +75 -0
  187. package/docs/interfaces/internal_.LabelStyles.md +78 -0
  188. package/docs/interfaces/internal_.LanguageConfig.md +59 -0
  189. package/docs/interfaces/internal_.LineItem.md +163 -8
  190. package/docs/interfaces/internal_.LineItemCategory.md +17 -0
  191. package/docs/interfaces/internal_.LineItemMap.md +38 -0
  192. package/docs/interfaces/internal_.LineItemOption.md +38 -0
  193. package/docs/interfaces/internal_.LineItemSocialData.md +38 -0
  194. package/docs/interfaces/internal_.LinkStyles.md +92 -0
  195. package/docs/interfaces/internal_.LoadingIndicatorStyles.md +31 -0
  196. package/docs/interfaces/internal_.Locales.md +9 -0
  197. package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +19 -0
  198. package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +37 -0
  199. package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +126 -0
  200. package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +59 -0
  201. package/docs/interfaces/internal_.MonerisStylingProps.md +82 -0
  202. package/docs/interfaces/internal_.NonceGenerationError.md +31 -0
  203. package/docs/interfaces/internal_.NonceInstrument.md +38 -0
  204. package/docs/interfaces/internal_.Option_2.md +24 -0
  205. package/docs/interfaces/internal_.OptionsResponse.md +79 -0
  206. package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +40 -0
  207. package/docs/interfaces/internal_.Order.md +199 -0
  208. package/docs/interfaces/internal_.OrderConsignment.md +17 -0
  209. package/docs/interfaces/internal_.OrderPayment.md +60 -0
  210. package/docs/interfaces/internal_.OrderPaymentRequestBody.md +41 -0
  211. package/docs/interfaces/internal_.OrderRequestBody.md +35 -0
  212. package/docs/interfaces/internal_.OrderShippingConsignment.md +220 -0
  213. package/docs/interfaces/internal_.PasswordRequirements.md +38 -0
  214. package/docs/interfaces/internal_.PayPalInstrument.md +93 -0
  215. package/docs/interfaces/internal_.PaymentMethod.md +100 -0
  216. package/docs/interfaces/internal_.PaymentMethodConfig.md +122 -0
  217. package/docs/interfaces/internal_.PaymentRequestOptions.md +69 -0
  218. package/docs/interfaces/internal_.PaymentSettings.md +24 -0
  219. package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +92 -0
  220. package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +17 -0
  221. package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +17 -0
  222. package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +30 -0
  223. package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +31 -0
  224. package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +31 -0
  225. package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +35 -0
  226. package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +38 -0
  227. package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +150 -0
  228. package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +188 -0
  229. package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +45 -0
  230. package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +24 -0
  231. package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +38 -0
  232. package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +48 -0
  233. package/docs/interfaces/internal_.PhysicalItem.md +313 -0
  234. package/docs/interfaces/internal_.PickupMethod.md +45 -0
  235. package/docs/interfaces/internal_.PickupOptionResult.md +17 -0
  236. package/docs/interfaces/internal_.Promotion.md +17 -0
  237. package/docs/interfaces/internal_.Radius.md +24 -0
  238. package/docs/interfaces/internal_.Region.md +24 -0
  239. package/docs/interfaces/internal_.RequestOptions.md +5 -1
  240. package/docs/interfaces/internal_.SearchArea.md +24 -0
  241. package/docs/interfaces/internal_.SepaPlaceHolder.md +24 -0
  242. package/docs/interfaces/internal_.SepaPlaceHolder_2.md +24 -0
  243. package/docs/interfaces/internal_.ShippingInitializeOptions.md +100 -0
  244. package/docs/interfaces/internal_.ShippingOption.md +66 -0
  245. package/docs/interfaces/internal_.ShippingRequestOptions.md +67 -0
  246. package/docs/interfaces/internal_.ShopperConfig.md +31 -0
  247. package/docs/interfaces/internal_.ShopperCurrency.md +96 -0
  248. package/docs/interfaces/internal_.SignInEmail.md +24 -0
  249. package/docs/interfaces/internal_.SignInEmailRequestBody.md +24 -0
  250. package/docs/interfaces/internal_.SpamProtectionOptions.md +27 -0
  251. package/docs/interfaces/internal_.SquareFormElement.md +30 -0
  252. package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +133 -0
  253. package/docs/interfaces/internal_.StepStyles.md +122 -0
  254. package/docs/interfaces/internal_.StepTracker.md +66 -0
  255. package/docs/interfaces/internal_.StepTrackerConfig.md +17 -0
  256. package/docs/interfaces/internal_.StoreConfig.md +117 -0
  257. package/docs/interfaces/internal_.StoreCurrency.md +58 -0
  258. package/docs/interfaces/internal_.StoreLinks.md +59 -0
  259. package/docs/interfaces/internal_.StoreProfile.md +73 -0
  260. package/docs/interfaces/internal_.StripeCustomerEvent.md +76 -0
  261. package/docs/interfaces/internal_.StripeElementCSSProperties.md +172 -0
  262. package/docs/interfaces/internal_.StripeElementClasses.md +65 -0
  263. package/docs/interfaces/internal_.StripeElementStyle.md +46 -0
  264. package/docs/interfaces/internal_.StripeElementStyleVariant.md +289 -0
  265. package/docs/interfaces/internal_.StripeEvent.md +39 -0
  266. package/docs/interfaces/internal_.StripeShippingEvent.md +76 -0
  267. package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +94 -0
  268. package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +72 -0
  269. package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +109 -0
  270. package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +78 -0
  271. package/docs/interfaces/internal_.StyleOptions.md +46 -0
  272. package/docs/interfaces/internal_.StyleOptions_2.md +46 -0
  273. package/docs/interfaces/internal_.SubInputDetail.md +64 -0
  274. package/docs/interfaces/internal_.SubInputDetail_2.md +64 -0
  275. package/docs/interfaces/internal_.Subscriptions.md +31 -0
  276. package/docs/interfaces/internal_.Tax.md +24 -0
  277. package/docs/interfaces/internal_.TextInputStyles.md +177 -0
  278. package/docs/interfaces/internal_.ThreeDSecure.md +52 -0
  279. package/docs/interfaces/internal_.ThreeDSecureToken.md +17 -0
  280. package/docs/interfaces/internal_.TranslationData.md +9 -0
  281. package/docs/interfaces/internal_.Translations.md +9 -0
  282. package/docs/interfaces/internal_.UnknownObject.md +9 -0
  283. package/docs/interfaces/internal_.VaultedInstrument.md +31 -0
  284. package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +17 -0
  285. package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +17 -0
  286. package/docs/interfaces/internal_.WechatState.md +17 -0
  287. package/docs/interfaces/internal_.WechatState_2.md +17 -0
  288. package/docs/interfaces/internal_.WithAccountCreation.md +17 -0
  289. package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +20 -0
  290. package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +20 -0
  291. package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +20 -0
  292. package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +20 -0
  293. package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +24 -0
  294. package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +24 -0
  295. package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +17 -0
  296. package/docs/interfaces/internal_.WithDocumentInstrument.md +17 -0
  297. package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +24 -0
  298. package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +32 -0
  299. package/docs/interfaces/internal_.ZipCodeElementOptions.md +17 -0
  300. package/docs/modules/internal_.md +515 -51
  301. package/package.json +1 -1
  302. package/docs/classes/internal_.CheckoutButtonErrorSelector.md +0 -54
  303. package/docs/classes/internal_.CheckoutButtonInitializer.md +0 -179
  304. package/docs/classes/internal_.CheckoutButtonStatusSelector.md +0 -54
  305. package/docs/enums/internal_.AmazonPayV2ButtonColor.md +0 -31
  306. package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +0 -59
  307. package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +0 -38
  308. package/docs/enums/internal_.AmazonPayV2PayOptions.md +0 -28
  309. package/docs/enums/internal_.AmazonPayV2Placement.md +0 -55
  310. package/docs/enums/internal_.CheckoutButtonMethodType.md +0 -164
  311. package/docs/enums/internal_.PaypalButtonStyleColorOption.md +0 -38
  312. package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +0 -45
  313. package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +0 -24
  314. package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +0 -24
  315. package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +0 -38
  316. package/docs/enums/internal_.StyleButtonColor.md +0 -45
  317. package/docs/enums/internal_.StyleButtonLabel.md +0 -45
  318. package/docs/enums/internal_.StyleButtonLayout.md +0 -24
  319. package/docs/enums/internal_.StyleButtonShape.md +0 -24
  320. package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +0 -82
  321. package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +0 -117
  322. package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +0 -37
  323. package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +0 -38
  324. package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +0 -139
  325. package/docs/interfaces/internal_.AmazonPayV2Price.md +0 -28
  326. package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +0 -40
  327. package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +0 -40
  328. package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +0 -291
  329. package/docs/interfaces/internal_.BraintreeError.md +0 -37
  330. package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +0 -122
  331. package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +0 -113
  332. package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +0 -56
  333. package/docs/interfaces/internal_.BuyNowCartRequestBody.md +0 -26
  334. package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +0 -24
  335. package/docs/interfaces/internal_.CheckoutButtonOptions.md +0 -57
  336. package/docs/interfaces/internal_.CheckoutButtonSelectors.md +0 -24
  337. package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +0 -78
  338. package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +0 -66
  339. package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +0 -69
  340. package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +0 -61
  341. package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +0 -68
  342. package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +0 -77
  343. package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +0 -58
  344. package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +0 -52
  345. package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +0 -17
@@ -0,0 +1,289 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StripeElementStyleVariant
2
+
3
+ # Interface: StripeElementStyleVariant
4
+
5
+ [<internal>](../modules/internal_.md).StripeElementStyleVariant
6
+
7
+ CSS properties supported by Stripe.js.
8
+
9
+ ## Hierarchy
10
+
11
+ - [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
12
+
13
+ ↳ **`StripeElementStyleVariant`**
14
+
15
+ ## Table of contents
16
+
17
+ ### Properties
18
+
19
+ - [:-webkit-autofill](internal_.StripeElementStyleVariant.md#:-webkit-autofill)
20
+ - [::-ms-clear](internal_.StripeElementStyleVariant.md#::-ms-clear)
21
+ - [::placeholder](internal_.StripeElementStyleVariant.md#::placeholder)
22
+ - [::selection](internal_.StripeElementStyleVariant.md#::selection)
23
+ - [:disabled](internal_.StripeElementStyleVariant.md#:disabled)
24
+ - [:focus](internal_.StripeElementStyleVariant.md#:focus)
25
+ - [:hover](internal_.StripeElementStyleVariant.md#:hover)
26
+ - [backgroundColor](internal_.StripeElementStyleVariant.md#backgroundcolor)
27
+ - [color](internal_.StripeElementStyleVariant.md#color)
28
+ - [fontFamily](internal_.StripeElementStyleVariant.md#fontfamily)
29
+ - [fontSize](internal_.StripeElementStyleVariant.md#fontsize)
30
+ - [fontSmoothing](internal_.StripeElementStyleVariant.md#fontsmoothing)
31
+ - [fontStyle](internal_.StripeElementStyleVariant.md#fontstyle)
32
+ - [fontVariant](internal_.StripeElementStyleVariant.md#fontvariant)
33
+ - [fontWeight](internal_.StripeElementStyleVariant.md#fontweight)
34
+ - [iconColor](internal_.StripeElementStyleVariant.md#iconcolor)
35
+ - [letterSpacing](internal_.StripeElementStyleVariant.md#letterspacing)
36
+ - [lineHeight](internal_.StripeElementStyleVariant.md#lineheight)
37
+ - [padding](internal_.StripeElementStyleVariant.md#padding)
38
+ - [textAlign](internal_.StripeElementStyleVariant.md#textalign)
39
+ - [textDecoration](internal_.StripeElementStyleVariant.md#textdecoration)
40
+ - [textShadow](internal_.StripeElementStyleVariant.md#textshadow)
41
+ - [textTransform](internal_.StripeElementStyleVariant.md#texttransform)
42
+
43
+ ## Properties
44
+
45
+ ### :-webkit-autofill
46
+
47
+ • `Optional` **:-webkit-autofill**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
48
+
49
+ ___
50
+
51
+ ### ::-ms-clear
52
+
53
+ • `Optional` **::-ms-clear**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md) & { `display`: `string` }
54
+
55
+ Available for the `cardNumber`, `cardExpiry`, and `cardCvc` elements.
56
+
57
+ ___
58
+
59
+ ### ::placeholder
60
+
61
+ • `Optional` **::placeholder**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
62
+
63
+ ___
64
+
65
+ ### ::selection
66
+
67
+ • `Optional` **::selection**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
68
+
69
+ ___
70
+
71
+ ### :disabled
72
+
73
+ • `Optional` **:disabled**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
74
+
75
+ Available for all elements except the `paymentRequestButton` element
76
+
77
+ ___
78
+
79
+ ### :focus
80
+
81
+ • `Optional` **:focus**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
82
+
83
+ ___
84
+
85
+ ### :hover
86
+
87
+ • `Optional` **:hover**: [`StripeElementCSSProperties`](internal_.StripeElementCSSProperties.md)
88
+
89
+ ___
90
+
91
+ ### backgroundColor
92
+
93
+ • `Optional` **backgroundColor**: `string`
94
+
95
+ The [background-color](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color) CSS property.
96
+
97
+ This property works best with the `::selection` pseudo-class.
98
+ In other cases, consider setting the background color on the element's container instaed.
99
+
100
+ #### Inherited from
101
+
102
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[backgroundColor](internal_.StripeElementCSSProperties.md#backgroundcolor)
103
+
104
+ ___
105
+
106
+ ### color
107
+
108
+ • `Optional` **color**: `string`
109
+
110
+ The [color](https://developer.mozilla.org/en-US/docs/Web/CSS/color) CSS property.
111
+
112
+ #### Inherited from
113
+
114
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[color](internal_.StripeElementCSSProperties.md#color)
115
+
116
+ ___
117
+
118
+ ### fontFamily
119
+
120
+ • `Optional` **fontFamily**: `string`
121
+
122
+ The [font-family](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) CSS property.
123
+
124
+ #### Inherited from
125
+
126
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[fontFamily](internal_.StripeElementCSSProperties.md#fontfamily)
127
+
128
+ ___
129
+
130
+ ### fontSize
131
+
132
+ • `Optional` **fontSize**: `string`
133
+
134
+ The [font-size](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) CSS property.
135
+
136
+ #### Inherited from
137
+
138
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[fontSize](internal_.StripeElementCSSProperties.md#fontsize)
139
+
140
+ ___
141
+
142
+ ### fontSmoothing
143
+
144
+ • `Optional` **fontSmoothing**: `string`
145
+
146
+ The [font-smoothing](https://developer.mozilla.org/en-US/docs/Web/CSS/font-smoothing) CSS property.
147
+
148
+ #### Inherited from
149
+
150
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[fontSmoothing](internal_.StripeElementCSSProperties.md#fontsmoothing)
151
+
152
+ ___
153
+
154
+ ### fontStyle
155
+
156
+ • `Optional` **fontStyle**: `string`
157
+
158
+ The [font-style](https://developer.mozilla.org/en-US/docs/Web/CSS/font-style) CSS property.
159
+
160
+ #### Inherited from
161
+
162
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[fontStyle](internal_.StripeElementCSSProperties.md#fontstyle)
163
+
164
+ ___
165
+
166
+ ### fontVariant
167
+
168
+ • `Optional` **fontVariant**: `string`
169
+
170
+ The [font-variant](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant) CSS property.
171
+
172
+ #### Inherited from
173
+
174
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[fontVariant](internal_.StripeElementCSSProperties.md#fontvariant)
175
+
176
+ ___
177
+
178
+ ### fontWeight
179
+
180
+ • `Optional` **fontWeight**: `string`
181
+
182
+ The [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) CSS property.
183
+
184
+ #### Inherited from
185
+
186
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[fontWeight](internal_.StripeElementCSSProperties.md#fontweight)
187
+
188
+ ___
189
+
190
+ ### iconColor
191
+
192
+ • `Optional` **iconColor**: `string`
193
+
194
+ A custom property, used to set the color of the icons that are rendered in an element.
195
+
196
+ #### Inherited from
197
+
198
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[iconColor](internal_.StripeElementCSSProperties.md#iconcolor)
199
+
200
+ ___
201
+
202
+ ### letterSpacing
203
+
204
+ • `Optional` **letterSpacing**: `string`
205
+
206
+ The [letter-spacing](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) CSS property.
207
+
208
+ #### Inherited from
209
+
210
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[letterSpacing](internal_.StripeElementCSSProperties.md#letterspacing)
211
+
212
+ ___
213
+
214
+ ### lineHeight
215
+
216
+ • `Optional` **lineHeight**: `string`
217
+
218
+ The [line-height](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height) CSS property.
219
+
220
+ To avoid cursors being rendered inconsistently across browsers, consider using a padding on the element's container instead.
221
+
222
+ #### Inherited from
223
+
224
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[lineHeight](internal_.StripeElementCSSProperties.md#lineheight)
225
+
226
+ ___
227
+
228
+ ### padding
229
+
230
+ • `Optional` **padding**: `string`
231
+
232
+ The [padding](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) CSS property.
233
+
234
+ Available for the `idealBank` element.
235
+ Accepts integer `px` values.
236
+
237
+ #### Inherited from
238
+
239
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[padding](internal_.StripeElementCSSProperties.md#padding)
240
+
241
+ ___
242
+
243
+ ### textAlign
244
+
245
+ • `Optional` **textAlign**: `string`
246
+
247
+ The [text-align](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) CSS property.
248
+
249
+ Available for the `cardNumber`, `cardExpiry`, and `cardCvc` elements.
250
+
251
+ #### Inherited from
252
+
253
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[textAlign](internal_.StripeElementCSSProperties.md#textalign)
254
+
255
+ ___
256
+
257
+ ### textDecoration
258
+
259
+ • `Optional` **textDecoration**: `string`
260
+
261
+ The [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) CSS property.
262
+
263
+ #### Inherited from
264
+
265
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[textDecoration](internal_.StripeElementCSSProperties.md#textdecoration)
266
+
267
+ ___
268
+
269
+ ### textShadow
270
+
271
+ • `Optional` **textShadow**: `string`
272
+
273
+ The [text-shadow](https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow) CSS property.
274
+
275
+ #### Inherited from
276
+
277
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[textShadow](internal_.StripeElementCSSProperties.md#textshadow)
278
+
279
+ ___
280
+
281
+ ### textTransform
282
+
283
+ • `Optional` **textTransform**: `string`
284
+
285
+ The [text-transform](https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) CSS property.
286
+
287
+ #### Inherited from
288
+
289
+ [StripeElementCSSProperties](internal_.StripeElementCSSProperties.md).[textTransform](internal_.StripeElementCSSProperties.md#texttransform)
@@ -0,0 +1,39 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StripeEvent
2
+
3
+ # Interface: StripeEvent
4
+
5
+ [<internal>](../modules/internal_.md).StripeEvent
6
+
7
+ ## Hierarchy
8
+
9
+ - **`StripeEvent`**
10
+
11
+ ↳ [`StripeShippingEvent`](internal_.StripeShippingEvent.md)
12
+
13
+ ↳ [`StripeCustomerEvent`](internal_.StripeCustomerEvent.md)
14
+
15
+ ## Table of contents
16
+
17
+ ### Properties
18
+
19
+ - [complete](internal_.StripeEvent.md#complete)
20
+ - [elementType](internal_.StripeEvent.md#elementtype)
21
+ - [empty](internal_.StripeEvent.md#empty)
22
+
23
+ ## Properties
24
+
25
+ ### complete
26
+
27
+ • **complete**: `boolean`
28
+
29
+ ___
30
+
31
+ ### elementType
32
+
33
+ • **elementType**: `string`
34
+
35
+ ___
36
+
37
+ ### empty
38
+
39
+ • **empty**: `boolean`
@@ -0,0 +1,76 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StripeShippingEvent
2
+
3
+ # Interface: StripeShippingEvent
4
+
5
+ [<internal>](../modules/internal_.md).StripeShippingEvent
6
+
7
+ ## Hierarchy
8
+
9
+ - [`StripeEvent`](internal_.StripeEvent.md)
10
+
11
+ ↳ **`StripeShippingEvent`**
12
+
13
+ ## Table of contents
14
+
15
+ ### Properties
16
+
17
+ - [complete](internal_.StripeShippingEvent.md#complete)
18
+ - [elementType](internal_.StripeShippingEvent.md#elementtype)
19
+ - [empty](internal_.StripeShippingEvent.md#empty)
20
+ - [isNewAddress](internal_.StripeShippingEvent.md#isnewaddress)
21
+ - [value](internal_.StripeShippingEvent.md#value)
22
+
23
+ ## Properties
24
+
25
+ ### complete
26
+
27
+ • **complete**: `boolean`
28
+
29
+ #### Inherited from
30
+
31
+ [StripeEvent](internal_.StripeEvent.md).[complete](internal_.StripeEvent.md#complete)
32
+
33
+ ___
34
+
35
+ ### elementType
36
+
37
+ • **elementType**: `string`
38
+
39
+ #### Inherited from
40
+
41
+ [StripeEvent](internal_.StripeEvent.md).[elementType](internal_.StripeEvent.md#elementtype)
42
+
43
+ ___
44
+
45
+ ### empty
46
+
47
+ • **empty**: `boolean`
48
+
49
+ #### Inherited from
50
+
51
+ [StripeEvent](internal_.StripeEvent.md).[empty](internal_.StripeEvent.md#empty)
52
+
53
+ ___
54
+
55
+ ### isNewAddress
56
+
57
+ • `Optional` **isNewAddress**: `boolean`
58
+
59
+ ___
60
+
61
+ ### value
62
+
63
+ • **value**: `Object`
64
+
65
+ #### Type declaration
66
+
67
+ | Name | Type |
68
+ | :------ | :------ |
69
+ | `address` | { `city`: `string` ; `country`: `string` ; `line1`: `string` ; `line2?`: `string` ; `postal_code`: `string` ; `state`: `string` } |
70
+ | `address.city` | `string` |
71
+ | `address.country` | `string` |
72
+ | `address.line1` | `string` |
73
+ | `address.line2?` | `string` |
74
+ | `address.postal_code` | `string` |
75
+ | `address.state` | `string` |
76
+ | `name` | `string` |
@@ -0,0 +1,94 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StripeUPECustomerInitializeOptions
2
+
3
+ # Interface: StripeUPECustomerInitializeOptions
4
+
5
+ [<internal>](../modules/internal_.md).StripeUPECustomerInitializeOptions
6
+
7
+ ## Table of contents
8
+
9
+ ### Properties
10
+
11
+ - [container](internal_.StripeUPECustomerInitializeOptions.md#container)
12
+ - [gatewayId](internal_.StripeUPECustomerInitializeOptions.md#gatewayid)
13
+ - [methodId](internal_.StripeUPECustomerInitializeOptions.md#methodid)
14
+
15
+ ### Methods
16
+
17
+ - [getStyles](internal_.StripeUPECustomerInitializeOptions.md#getstyles)
18
+ - [isLoading](internal_.StripeUPECustomerInitializeOptions.md#isloading)
19
+ - [onEmailChange](internal_.StripeUPECustomerInitializeOptions.md#onemailchange)
20
+
21
+ ## Properties
22
+
23
+ ### container
24
+
25
+ • **container**: `string`
26
+
27
+ The ID of a container which the stripe iframe should be inserted.
28
+
29
+ ___
30
+
31
+ ### gatewayId
32
+
33
+ • **gatewayId**: `string`
34
+
35
+ The identifier of the payment provider providing the payment method. This
36
+ option is only required if the provider offers multiple payment options.
37
+ i.e.: Stripeupe and Klarna.
38
+
39
+ ___
40
+
41
+ ### methodId
42
+
43
+ • **methodId**: `string`
44
+
45
+ The identifier of the payment method.
46
+
47
+ ## Methods
48
+
49
+ ### getStyles
50
+
51
+ ▸ `Optional` **getStyles**(): `undefined` \| { `[key: string]`: `string`; }
52
+
53
+ get styles from store theme
54
+
55
+ #### Returns
56
+
57
+ `undefined` \| { `[key: string]`: `string`; }
58
+
59
+ ___
60
+
61
+ ### isLoading
62
+
63
+ ▸ **isLoading**(`mounted`): `void`
64
+
65
+ A callback that gets called when Stripe Link Authentication Element is Loaded.
66
+
67
+ #### Parameters
68
+
69
+ | Name | Type |
70
+ | :------ | :------ |
71
+ | `mounted` | `boolean` |
72
+
73
+ #### Returns
74
+
75
+ `void`
76
+
77
+ ___
78
+
79
+ ### onEmailChange
80
+
81
+ ▸ **onEmailChange**(`authenticated`, `email`): `void`
82
+
83
+ A callback that gets called whenever the Stripe Link Authentication Element's value changes.
84
+
85
+ #### Parameters
86
+
87
+ | Name | Type | Description |
88
+ | :------ | :------ | :------ |
89
+ | `authenticated` | `boolean` | if the email is authenticated on Stripe. |
90
+ | `email` | `string` | The new value of the email. |
91
+
92
+ #### Returns
93
+
94
+ `void`
@@ -0,0 +1,72 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StripeUPEPaymentInitializeOptions
2
+
3
+ # Interface: StripeUPEPaymentInitializeOptions
4
+
5
+ [<internal>](../modules/internal_.md).StripeUPEPaymentInitializeOptions
6
+
7
+ A set of options that are required to initialize the Stripe payment method.
8
+
9
+ Once Stripe 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
+
18
+ ```js
19
+ service.initializePayment({
20
+ methodId: 'stripeupe',
21
+ stripeupe {
22
+ containerId: 'container',
23
+ },
24
+ });
25
+ ```
26
+
27
+ ## Table of contents
28
+
29
+ ### Properties
30
+
31
+ - [containerId](internal_.StripeUPEPaymentInitializeOptions.md#containerid)
32
+ - [style](internal_.StripeUPEPaymentInitializeOptions.md#style)
33
+
34
+ ### Methods
35
+
36
+ - [onError](internal_.StripeUPEPaymentInitializeOptions.md#onerror)
37
+
38
+ ## Properties
39
+
40
+ ### containerId
41
+
42
+ • **containerId**: `string`
43
+
44
+ The location to insert the credit card number form field.
45
+
46
+ ___
47
+
48
+ ### style
49
+
50
+ • `Optional` **style**: `Object`
51
+
52
+ Checkout styles from store theme
53
+
54
+ #### Index signature
55
+
56
+ ▪ [key: `string`]: `string`
57
+
58
+ ## Methods
59
+
60
+ ### onError
61
+
62
+ ▸ `Optional` **onError**(`error?`): `void`
63
+
64
+ #### Parameters
65
+
66
+ | Name | Type |
67
+ | :------ | :------ |
68
+ | `error?` | `Error` |
69
+
70
+ #### Returns
71
+
72
+ `void`
@@ -0,0 +1,109 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / StripeUPEShippingInitializeOptions
2
+
3
+ # Interface: StripeUPEShippingInitializeOptions
4
+
5
+ [<internal>](../modules/internal_.md).StripeUPEShippingInitializeOptions
6
+
7
+ A set of options that are required to initialize the shipping step of
8
+ checkout in order to support StripeUpe.
9
+
10
+ When StripeUpe is initialized, an iframe will be inserted into the DOM. The
11
+ iframe has a list of shipping addresses for the customer to choose from.
12
+
13
+ ## Table of contents
14
+
15
+ ### Properties
16
+
17
+ - [availableCountries](internal_.StripeUPEShippingInitializeOptions.md#availablecountries)
18
+ - [container](internal_.StripeUPEShippingInitializeOptions.md#container)
19
+ - [gatewayId](internal_.StripeUPEShippingInitializeOptions.md#gatewayid)
20
+ - [methodId](internal_.StripeUPEShippingInitializeOptions.md#methodid)
21
+
22
+ ### Methods
23
+
24
+ - [getStripeState](internal_.StripeUPEShippingInitializeOptions.md#getstripestate)
25
+ - [getStyles](internal_.StripeUPEShippingInitializeOptions.md#getstyles)
26
+ - [onChangeShipping](internal_.StripeUPEShippingInitializeOptions.md#onchangeshipping)
27
+
28
+ ## Properties
29
+
30
+ ### availableCountries
31
+
32
+ • **availableCountries**: `string`
33
+
34
+ Available countries configured on BC shipping setup.
35
+
36
+ ___
37
+
38
+ ### container
39
+
40
+ • `Optional` **container**: `string`
41
+
42
+ The ID of a container which the stripe iframe should be inserted.
43
+
44
+ ___
45
+
46
+ ### gatewayId
47
+
48
+ • **gatewayId**: `string`
49
+
50
+ The identifier of the payment provider providing the payment method. This
51
+ option is only required if the provider offers multiple payment options.
52
+ i.e.: Stripeupe and Klarna.
53
+
54
+ ___
55
+
56
+ ### methodId
57
+
58
+ • **methodId**: `string`
59
+
60
+ The identifier of the payment method.
61
+
62
+ ## Methods
63
+
64
+ ### getStripeState
65
+
66
+ ▸ **getStripeState**(`country`, `state`): `string`
67
+
68
+ get the state code needed for shipping stripe element
69
+
70
+ #### Parameters
71
+
72
+ | Name | Type |
73
+ | :------ | :------ |
74
+ | `country` | `string` |
75
+ | `state` | `string` |
76
+
77
+ #### Returns
78
+
79
+ `string`
80
+
81
+ ___
82
+
83
+ ### getStyles
84
+
85
+ ▸ `Optional` **getStyles**(): `Object`
86
+
87
+ get styles from store theme
88
+
89
+ #### Returns
90
+
91
+ `Object`
92
+
93
+ ___
94
+
95
+ ### onChangeShipping
96
+
97
+ ▸ **onChangeShipping**(`shipping`): `void`
98
+
99
+ A callback that gets called whenever the Stripe Link Shipping Element's object is completed.
100
+
101
+ #### Parameters
102
+
103
+ | Name | Type |
104
+ | :------ | :------ |
105
+ | `shipping` | [`StripeEventType`](../modules/internal_.md#stripeeventtype) |
106
+
107
+ #### Returns
108
+
109
+ `void`