@bigcommerce/checkout-sdk 1.308.2 → 1.308.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 (345) hide show
  1. package/CHANGELOG.md +8 -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 +16 -158
  9. package/docs/classes/internal_.CheckoutButtonErrorSelector.md +54 -0
  10. package/docs/classes/internal_.CheckoutButtonInitializer.md +179 -0
  11. package/docs/classes/internal_.CheckoutButtonStatusSelector.md +54 -0
  12. package/docs/classes/internal_.StandardError.md +0 -4
  13. package/docs/enums/internal_.AmazonPayV2ButtonColor.md +31 -0
  14. package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +59 -0
  15. package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +38 -0
  16. package/docs/enums/internal_.AmazonPayV2PayOptions.md +28 -0
  17. package/docs/enums/internal_.AmazonPayV2Placement.md +55 -0
  18. package/docs/enums/internal_.CheckoutButtonMethodType.md +164 -0
  19. package/docs/enums/internal_.PaypalButtonStyleColorOption.md +38 -0
  20. package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +45 -0
  21. package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +24 -0
  22. package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +24 -0
  23. package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +38 -0
  24. package/docs/enums/internal_.StyleButtonColor.md +45 -0
  25. package/docs/enums/internal_.StyleButtonLabel.md +45 -0
  26. package/docs/enums/internal_.StyleButtonLayout.md +24 -0
  27. package/docs/enums/internal_.StyleButtonShape.md +24 -0
  28. package/docs/interfaces/internal_.Address.md +0 -4
  29. package/docs/interfaces/internal_.AddressRequestBody.md +0 -2
  30. package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +82 -0
  31. package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +117 -0
  32. package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +37 -0
  33. package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +38 -0
  34. package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +139 -0
  35. package/docs/interfaces/internal_.AmazonPayV2Price.md +28 -0
  36. package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +40 -0
  37. package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +40 -0
  38. package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +291 -0
  39. package/docs/interfaces/internal_.BraintreeError.md +37 -0
  40. package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +122 -0
  41. package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +113 -0
  42. package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +56 -0
  43. package/docs/interfaces/internal_.BuyNowCartRequestBody.md +26 -0
  44. package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +24 -0
  45. package/docs/interfaces/internal_.CheckoutButtonOptions.md +57 -0
  46. package/docs/interfaces/internal_.CheckoutButtonSelectors.md +24 -0
  47. package/docs/interfaces/{internal_.GooglePayCustomerInitializeOptions.md → internal_.GooglePayButtonInitializeOptions.md} +5 -16
  48. package/docs/interfaces/internal_.LineItem.md +8 -163
  49. package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +78 -0
  50. package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +66 -0
  51. package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +69 -0
  52. package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +61 -0
  53. package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +68 -0
  54. package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +77 -0
  55. package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +58 -0
  56. package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +52 -0
  57. package/docs/interfaces/internal_.RequestOptions.md +1 -5
  58. package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +17 -0
  59. package/docs/modules/internal_.md +51 -515
  60. package/package.json +1 -1
  61. package/docs/classes/internal_.CartChangedError.md +0 -62
  62. package/docs/classes/internal_.CheckoutService.md +0 -1528
  63. package/docs/classes/internal_.CurrencyService.md +0 -56
  64. package/docs/classes/internal_.EmbeddedCheckout.md +0 -42
  65. package/docs/classes/internal_.LanguageService.md +0 -103
  66. package/docs/classes/internal_.RequestError.md +0 -108
  67. package/docs/enums/internal_.AdyenV2CardFields.md +0 -31
  68. package/docs/enums/internal_.AdyenV3CardFields.md +0 -31
  69. package/docs/enums/internal_.CheckoutIncludes.md +0 -31
  70. package/docs/enums/internal_.HostedFieldType.md +0 -52
  71. package/docs/enums/internal_.IconStyle.md +0 -24
  72. package/docs/enums/internal_.RadiusUnit.md +0 -24
  73. package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +0 -70
  74. package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +0 -68
  75. package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +0 -108
  76. package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +0 -108
  77. package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +0 -35
  78. package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +0 -42
  79. package/docs/interfaces/internal_.AdyenComponent.md +0 -74
  80. package/docs/interfaces/internal_.AdyenComponentEvents.md +0 -76
  81. package/docs/interfaces/internal_.AdyenComponentEvents_2.md +0 -76
  82. package/docs/interfaces/internal_.AdyenComponent_2.md +0 -74
  83. package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +0 -187
  84. package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +0 -19
  85. package/docs/interfaces/internal_.AdyenPaymentMethodState.md +0 -23
  86. package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +0 -17
  87. package/docs/interfaces/internal_.AdyenPlaceholderData.md +0 -35
  88. package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +0 -35
  89. package/docs/interfaces/internal_.AdyenThreeDS2Options.md +0 -99
  90. package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +0 -162
  91. package/docs/interfaces/internal_.AdyenV2ValidationState.md +0 -59
  92. package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +0 -198
  93. package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +0 -137
  94. package/docs/interfaces/internal_.AdyenV3ValidationState.md +0 -59
  95. package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +0 -67
  96. package/docs/interfaces/internal_.AmazonPayOrderReference.md +0 -32
  97. package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +0 -102
  98. package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +0 -87
  99. package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +0 -26
  100. package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +0 -42
  101. package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +0 -28
  102. package/docs/interfaces/internal_.AmazonPayWidgetError.md +0 -27
  103. package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +0 -79
  104. package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +0 -42
  105. package/docs/interfaces/internal_.BankInstrument.md +0 -114
  106. package/docs/interfaces/internal_.Banner.md +0 -24
  107. package/docs/interfaces/internal_.BaseAccountInstrument.md +0 -93
  108. package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +0 -237
  109. package/docs/interfaces/internal_.BaseElementOptions.md +0 -28
  110. package/docs/interfaces/internal_.BaseElementOptions_2.md +0 -50
  111. package/docs/interfaces/internal_.BaseIndividualElementOptions.md +0 -69
  112. package/docs/interfaces/internal_.BaseInstrument.md +0 -60
  113. package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +0 -376
  114. package/docs/interfaces/internal_.BillingAddress.md +0 -184
  115. package/docs/interfaces/internal_.BillingAddressRequestBody.md +0 -155
  116. package/docs/interfaces/internal_.BlockElementStyles.md +0 -107
  117. package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +0 -75
  118. package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +0 -31
  119. package/docs/interfaces/internal_.BodlEventsPayload.md +0 -9
  120. package/docs/interfaces/internal_.BodlService.md +0 -172
  121. package/docs/interfaces/internal_.BodyStyles.md +0 -17
  122. package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +0 -32
  123. package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +0 -96
  124. package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +0 -91
  125. package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +0 -53
  126. package/docs/interfaces/internal_.BraintreeVerifyPayload.md +0 -53
  127. package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -37
  128. package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -72
  129. package/docs/interfaces/internal_.BrowserInfo.md +0 -52
  130. package/docs/interfaces/internal_.ButtonResponse.md +0 -21
  131. package/docs/interfaces/internal_.ButtonStyles.md +0 -143
  132. package/docs/interfaces/internal_.CardCvcElementOptions.md +0 -74
  133. package/docs/interfaces/internal_.CardDataPaymentMethodState.md +0 -17
  134. package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +0 -17
  135. package/docs/interfaces/internal_.CardElementOptions.md +0 -93
  136. package/docs/interfaces/internal_.CardExpiryElementOptions.md +0 -74
  137. package/docs/interfaces/internal_.CardInstrument.md +0 -117
  138. package/docs/interfaces/internal_.CardNumberElementOptions.md +0 -90
  139. package/docs/interfaces/internal_.CardPaymentMethodState.md +0 -62
  140. package/docs/interfaces/internal_.CardPaymentMethodState_2.md +0 -45
  141. package/docs/interfaces/internal_.CardState.md +0 -42
  142. package/docs/interfaces/internal_.CardStateErrors.md +0 -9
  143. package/docs/interfaces/internal_.CardStateErrors_2.md +0 -9
  144. package/docs/interfaces/internal_.CardState_2.md +0 -42
  145. package/docs/interfaces/internal_.Cart.md +0 -108
  146. package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +0 -17
  147. package/docs/interfaces/internal_.ChasePayInitializeOptions.md +0 -100
  148. package/docs/interfaces/internal_.CheckableInputStyles.md +0 -177
  149. package/docs/interfaces/internal_.ChecklistStyles.md +0 -129
  150. package/docs/interfaces/internal_.Checkout.md +0 -204
  151. package/docs/interfaces/internal_.CheckoutParams.md +0 -17
  152. package/docs/interfaces/internal_.CheckoutPayment.md +0 -44
  153. package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +0 -17
  154. package/docs/interfaces/internal_.CheckoutRequestBody.md +0 -17
  155. package/docs/interfaces/internal_.CheckoutSelectors.md +0 -31
  156. package/docs/interfaces/internal_.CheckoutServiceOptions.md +0 -38
  157. package/docs/interfaces/internal_.CheckoutSettings.md +0 -203
  158. package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +0 -638
  159. package/docs/interfaces/internal_.CheckoutStoreSelector.md +0 -503
  160. package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +0 -760
  161. package/docs/interfaces/internal_.Consignment.md +0 -73
  162. package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -31
  163. package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -31
  164. package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +0 -38
  165. package/docs/interfaces/internal_.ConsignmentLineItem.md +0 -24
  166. package/docs/interfaces/internal_.ConsignmentPickupOption.md +0 -17
  167. package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +0 -45
  168. package/docs/interfaces/internal_.Coordinates.md +0 -24
  169. package/docs/interfaces/internal_.Country.md +0 -45
  170. package/docs/interfaces/internal_.Coupon.md +0 -45
  171. package/docs/interfaces/internal_.CreditCardInstrument.md +0 -87
  172. package/docs/interfaces/internal_.CreditCardPlaceHolder.md +0 -31
  173. package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +0 -31
  174. package/docs/interfaces/internal_.CssProperties.md +0 -213
  175. package/docs/interfaces/internal_.CssProperties_2.md +0 -213
  176. package/docs/interfaces/internal_.Currency.md +0 -38
  177. package/docs/interfaces/internal_.CustomItem.md +0 -52
  178. package/docs/interfaces/internal_.Customer.md +0 -93
  179. package/docs/interfaces/internal_.CustomerAddress.md +0 -184
  180. package/docs/interfaces/internal_.CustomerCredentials.md +0 -24
  181. package/docs/interfaces/internal_.CustomerGroup.md +0 -24
  182. package/docs/interfaces/internal_.CustomerPasswordRequirements.md +0 -38
  183. package/docs/interfaces/internal_.CustomerRequestOptions.md +0 -62
  184. package/docs/interfaces/internal_.DigitalItem.md +0 -312
  185. package/docs/interfaces/internal_.DigitalRiverElementClasses.md +0 -69
  186. package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +0 -148
  187. package/docs/interfaces/internal_.Discount.md +0 -24
  188. package/docs/interfaces/internal_.DisplaySettings.md +0 -17
  189. package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +0 -17
  190. package/docs/interfaces/internal_.EmbeddedCheckoutError.md +0 -31
  191. package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +0 -24
  192. package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +0 -24
  193. package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +0 -24
  194. package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +0 -17
  195. package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +0 -136
  196. package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +0 -17
  197. package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +0 -143
  198. package/docs/interfaces/internal_.EmbeddedContentOptions.md +0 -17
  199. package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +0 -95
  200. package/docs/interfaces/internal_.FlashMessage.md +0 -31
  201. package/docs/interfaces/internal_.FormField.md +0 -115
  202. package/docs/interfaces/internal_.FormFieldItem.md +0 -24
  203. package/docs/interfaces/internal_.FormFieldOptions.md +0 -31
  204. package/docs/interfaces/internal_.FormFields.md +0 -31
  205. package/docs/interfaces/internal_.GatewayOrderPayment.md +0 -110
  206. package/docs/interfaces/internal_.GiftCertificate.md +0 -45
  207. package/docs/interfaces/internal_.GiftCertificateItem.md +0 -80
  208. package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +0 -96
  209. package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +0 -95
  210. package/docs/interfaces/internal_.HostedCardFieldOptions.md +0 -37
  211. package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +0 -38
  212. package/docs/interfaces/internal_.HostedFieldStylesMap.md +0 -31
  213. package/docs/interfaces/internal_.HostedFormOptions.md +0 -116
  214. package/docs/interfaces/internal_.HostedInputValidateErrorData.md +0 -31
  215. package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +0 -52
  216. package/docs/interfaces/internal_.HostedInputValidateResults.md +0 -24
  217. package/docs/interfaces/internal_.HostedInstrument.md +0 -24
  218. package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +0 -56
  219. package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +0 -24
  220. package/docs/interfaces/internal_.IbanElementOptions.md +0 -84
  221. package/docs/interfaces/internal_.IdealElementOptions.md +0 -72
  222. package/docs/interfaces/internal_.IndividualCardElementOptions.md +0 -38
  223. package/docs/interfaces/internal_.InitializationStrategy.md +0 -23
  224. package/docs/interfaces/internal_.InlineElementStyles.md +0 -55
  225. package/docs/interfaces/internal_.InputDetail.md +0 -82
  226. package/docs/interfaces/internal_.InputDetail_2.md +0 -82
  227. package/docs/interfaces/internal_.InputStyles.md +0 -154
  228. package/docs/interfaces/internal_.Item.md +0 -24
  229. package/docs/interfaces/internal_.Item_2.md +0 -28
  230. package/docs/interfaces/internal_.Item_3.md +0 -28
  231. package/docs/interfaces/internal_.KlarnaLoadResponse.md +0 -30
  232. package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +0 -30
  233. package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +0 -75
  234. package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +0 -75
  235. package/docs/interfaces/internal_.LabelStyles.md +0 -78
  236. package/docs/interfaces/internal_.LanguageConfig.md +0 -59
  237. package/docs/interfaces/internal_.LineItemCategory.md +0 -17
  238. package/docs/interfaces/internal_.LineItemMap.md +0 -38
  239. package/docs/interfaces/internal_.LineItemOption.md +0 -38
  240. package/docs/interfaces/internal_.LineItemSocialData.md +0 -38
  241. package/docs/interfaces/internal_.LinkStyles.md +0 -92
  242. package/docs/interfaces/internal_.LoadingIndicatorStyles.md +0 -31
  243. package/docs/interfaces/internal_.Locales.md +0 -9
  244. package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +0 -19
  245. package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +0 -37
  246. package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +0 -126
  247. package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +0 -59
  248. package/docs/interfaces/internal_.MonerisStylingProps.md +0 -82
  249. package/docs/interfaces/internal_.NonceGenerationError.md +0 -31
  250. package/docs/interfaces/internal_.NonceInstrument.md +0 -38
  251. package/docs/interfaces/internal_.Option_2.md +0 -24
  252. package/docs/interfaces/internal_.OptionsResponse.md +0 -79
  253. package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +0 -40
  254. package/docs/interfaces/internal_.Order.md +0 -199
  255. package/docs/interfaces/internal_.OrderConsignment.md +0 -17
  256. package/docs/interfaces/internal_.OrderPayment.md +0 -60
  257. package/docs/interfaces/internal_.OrderPaymentRequestBody.md +0 -41
  258. package/docs/interfaces/internal_.OrderRequestBody.md +0 -35
  259. package/docs/interfaces/internal_.OrderShippingConsignment.md +0 -220
  260. package/docs/interfaces/internal_.PasswordRequirements.md +0 -38
  261. package/docs/interfaces/internal_.PayPalInstrument.md +0 -93
  262. package/docs/interfaces/internal_.PaymentMethod.md +0 -100
  263. package/docs/interfaces/internal_.PaymentMethodConfig.md +0 -122
  264. package/docs/interfaces/internal_.PaymentRequestOptions.md +0 -69
  265. package/docs/interfaces/internal_.PaymentSettings.md +0 -24
  266. package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -92
  267. package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -17
  268. package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +0 -17
  269. package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +0 -30
  270. package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +0 -31
  271. package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +0 -31
  272. package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +0 -35
  273. package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +0 -38
  274. package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +0 -150
  275. package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +0 -188
  276. package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +0 -45
  277. package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +0 -24
  278. package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +0 -38
  279. package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +0 -48
  280. package/docs/interfaces/internal_.PhysicalItem.md +0 -313
  281. package/docs/interfaces/internal_.PickupMethod.md +0 -45
  282. package/docs/interfaces/internal_.PickupOptionResult.md +0 -17
  283. package/docs/interfaces/internal_.Promotion.md +0 -17
  284. package/docs/interfaces/internal_.Radius.md +0 -24
  285. package/docs/interfaces/internal_.Region.md +0 -24
  286. package/docs/interfaces/internal_.SearchArea.md +0 -24
  287. package/docs/interfaces/internal_.SepaPlaceHolder.md +0 -24
  288. package/docs/interfaces/internal_.SepaPlaceHolder_2.md +0 -24
  289. package/docs/interfaces/internal_.ShippingInitializeOptions.md +0 -100
  290. package/docs/interfaces/internal_.ShippingOption.md +0 -66
  291. package/docs/interfaces/internal_.ShippingRequestOptions.md +0 -67
  292. package/docs/interfaces/internal_.ShopperConfig.md +0 -31
  293. package/docs/interfaces/internal_.ShopperCurrency.md +0 -96
  294. package/docs/interfaces/internal_.SignInEmail.md +0 -24
  295. package/docs/interfaces/internal_.SignInEmailRequestBody.md +0 -24
  296. package/docs/interfaces/internal_.SpamProtectionOptions.md +0 -27
  297. package/docs/interfaces/internal_.SquareFormElement.md +0 -30
  298. package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +0 -133
  299. package/docs/interfaces/internal_.StepStyles.md +0 -122
  300. package/docs/interfaces/internal_.StepTracker.md +0 -66
  301. package/docs/interfaces/internal_.StepTrackerConfig.md +0 -17
  302. package/docs/interfaces/internal_.StoreConfig.md +0 -117
  303. package/docs/interfaces/internal_.StoreCurrency.md +0 -58
  304. package/docs/interfaces/internal_.StoreLinks.md +0 -59
  305. package/docs/interfaces/internal_.StoreProfile.md +0 -73
  306. package/docs/interfaces/internal_.StripeCustomerEvent.md +0 -76
  307. package/docs/interfaces/internal_.StripeElementCSSProperties.md +0 -172
  308. package/docs/interfaces/internal_.StripeElementClasses.md +0 -65
  309. package/docs/interfaces/internal_.StripeElementStyle.md +0 -46
  310. package/docs/interfaces/internal_.StripeElementStyleVariant.md +0 -289
  311. package/docs/interfaces/internal_.StripeEvent.md +0 -39
  312. package/docs/interfaces/internal_.StripeShippingEvent.md +0 -76
  313. package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +0 -94
  314. package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +0 -72
  315. package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +0 -109
  316. package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +0 -78
  317. package/docs/interfaces/internal_.StyleOptions.md +0 -46
  318. package/docs/interfaces/internal_.StyleOptions_2.md +0 -46
  319. package/docs/interfaces/internal_.SubInputDetail.md +0 -64
  320. package/docs/interfaces/internal_.SubInputDetail_2.md +0 -64
  321. package/docs/interfaces/internal_.Subscriptions.md +0 -31
  322. package/docs/interfaces/internal_.Tax.md +0 -24
  323. package/docs/interfaces/internal_.TextInputStyles.md +0 -177
  324. package/docs/interfaces/internal_.ThreeDSecure.md +0 -52
  325. package/docs/interfaces/internal_.ThreeDSecureToken.md +0 -17
  326. package/docs/interfaces/internal_.TranslationData.md +0 -9
  327. package/docs/interfaces/internal_.Translations.md +0 -9
  328. package/docs/interfaces/internal_.UnknownObject.md +0 -9
  329. package/docs/interfaces/internal_.VaultedInstrument.md +0 -31
  330. package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +0 -17
  331. package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +0 -17
  332. package/docs/interfaces/internal_.WechatState.md +0 -17
  333. package/docs/interfaces/internal_.WechatState_2.md +0 -17
  334. package/docs/interfaces/internal_.WithAccountCreation.md +0 -17
  335. package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +0 -20
  336. package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +0 -20
  337. package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +0 -20
  338. package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +0 -20
  339. package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +0 -24
  340. package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +0 -24
  341. package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +0 -17
  342. package/docs/interfaces/internal_.WithDocumentInstrument.md +0 -17
  343. package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +0 -24
  344. package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +0 -32
  345. package/docs/interfaces/internal_.ZipCodeElementOptions.md +0 -17
@@ -1,198 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenV3CreditCardComponentOptions
2
-
3
- # Interface: AdyenV3CreditCardComponentOptions
4
-
5
- [<internal>](../modules/internal_.md).AdyenV3CreditCardComponentOptions
6
-
7
- ## Hierarchy
8
-
9
- - [`AdyenBaseCardComponentOptions_2`](internal_.AdyenBaseCardComponentOptions_2.md)
10
-
11
- - [`AdyenComponentEvents_2`](internal_.AdyenComponentEvents_2.md)
12
-
13
- ↳ **`AdyenV3CreditCardComponentOptions`**
14
-
15
- ## Table of contents
16
-
17
- ### Properties
18
-
19
- - [brands](internal_.AdyenV3CreditCardComponentOptions.md#brands)
20
- - [data](internal_.AdyenV3CreditCardComponentOptions.md#data)
21
- - [details](internal_.AdyenV3CreditCardComponentOptions.md#details)
22
- - [enableStoreDetails](internal_.AdyenV3CreditCardComponentOptions.md#enablestoredetails)
23
- - [groupTypes](internal_.AdyenV3CreditCardComponentOptions.md#grouptypes)
24
- - [hasHolderName](internal_.AdyenV3CreditCardComponentOptions.md#hasholdername)
25
- - [holderNameRequired](internal_.AdyenV3CreditCardComponentOptions.md#holdernamerequired)
26
- - [placeholders](internal_.AdyenV3CreditCardComponentOptions.md#placeholders)
27
- - [showBrandsUnderCardNumber](internal_.AdyenV3CreditCardComponentOptions.md#showbrandsundercardnumber)
28
- - [styles](internal_.AdyenV3CreditCardComponentOptions.md#styles)
29
-
30
- ### Methods
31
-
32
- - [onChange](internal_.AdyenV3CreditCardComponentOptions.md#onchange)
33
- - [onError](internal_.AdyenV3CreditCardComponentOptions.md#onerror)
34
- - [onFieldValid](internal_.AdyenV3CreditCardComponentOptions.md#onfieldvalid)
35
-
36
- ## Properties
37
-
38
- ### brands
39
-
40
- • `Optional` **brands**: `string`[]
41
-
42
- Array of card brands that will be recognized by the component.
43
-
44
- #### Inherited from
45
-
46
- [AdyenBaseCardComponentOptions_2](internal_.AdyenBaseCardComponentOptions_2.md).[brands](internal_.AdyenBaseCardComponentOptions_2.md#brands)
47
-
48
- ___
49
-
50
- ### data
51
-
52
- • `Optional` **data**: [`AdyenPlaceholderData_2`](internal_.AdyenPlaceholderData_2.md)
53
-
54
- Information to prefill fields.
55
-
56
- ___
57
-
58
- ### details
59
-
60
- • `Optional` **details**: [`InputDetail_2`](internal_.InputDetail_2.md)[]
61
-
62
- Set an object containing the details array for type: scheme from
63
- the /paymentMethods response.
64
-
65
- ___
66
-
67
- ### enableStoreDetails
68
-
69
- • `Optional` **enableStoreDetails**: `boolean`
70
-
71
- Set to true to show the checkbox to save card details for the next payment.
72
-
73
- ___
74
-
75
- ### groupTypes
76
-
77
- • `Optional` **groupTypes**: `string`[]
78
-
79
- Defaults to ['mc','visa','amex']. Configure supported card types to
80
- facilitate brand recognition used in the Secured Fields onBrand callback.
81
- See list of available card types. If a shopper enters a card type not
82
- specified in the GroupTypes configuration, the onBrand callback will not be invoked.
83
-
84
- ___
85
-
86
- ### hasHolderName
87
-
88
- • `Optional` **hasHolderName**: `boolean`
89
-
90
- Set to true to request the name of the card holder.
91
-
92
- ___
93
-
94
- ### holderNameRequired
95
-
96
- • `Optional` **holderNameRequired**: `boolean`
97
-
98
- Set to true to require the card holder name.
99
-
100
- ___
101
-
102
- ### placeholders
103
-
104
- • `Optional` **placeholders**: [`CreditCardPlaceHolder_2`](internal_.CreditCardPlaceHolder_2.md) \| [`SepaPlaceHolder_2`](internal_.SepaPlaceHolder_2.md)
105
-
106
- Specify the sample values you want to appear for card detail input fields.
107
-
108
- ___
109
-
110
- ### showBrandsUnderCardNumber
111
-
112
- • `Optional` **showBrandsUnderCardNumber**: `boolean`
113
-
114
- #### Inherited from
115
-
116
- [AdyenBaseCardComponentOptions_2](internal_.AdyenBaseCardComponentOptions_2.md).[showBrandsUnderCardNumber](internal_.AdyenBaseCardComponentOptions_2.md#showbrandsundercardnumber)
117
-
118
- ___
119
-
120
- ### styles
121
-
122
- • `Optional` **styles**: [`StyleOptions_2`](internal_.StyleOptions_2.md)
123
-
124
- Set a style object to customize the input fields. See Styling Secured Fields
125
- for a list of supported properties.
126
-
127
- #### Inherited from
128
-
129
- [AdyenBaseCardComponentOptions_2](internal_.AdyenBaseCardComponentOptions_2.md).[styles](internal_.AdyenBaseCardComponentOptions_2.md#styles)
130
-
131
- ## Methods
132
-
133
- ### onChange
134
-
135
- ▸ `Optional` **onChange**(`state`, `component`): `void`
136
-
137
- Called when the shopper enters data in the card input fields.
138
- Here you have the option to override your main Adyen Checkout configuration.
139
-
140
- #### Parameters
141
-
142
- | Name | Type |
143
- | :------ | :------ |
144
- | `state` | [`AdyenV3ComponentState`](../modules/internal_.md#adyenv3componentstate) |
145
- | `component` | [`AdyenComponent_2`](internal_.AdyenComponent_2.md) |
146
-
147
- #### Returns
148
-
149
- `void`
150
-
151
- #### Inherited from
152
-
153
- [AdyenComponentEvents_2](internal_.AdyenComponentEvents_2.md).[onChange](internal_.AdyenComponentEvents_2.md#onchange)
154
-
155
- ___
156
-
157
- ### onError
158
-
159
- ▸ `Optional` **onError**(`state`, `component`): `void`
160
-
161
- Called in case of an invalid card number, invalid expiry date, or
162
- incomplete field. Called again when errors are cleared.
163
-
164
- #### Parameters
165
-
166
- | Name | Type |
167
- | :------ | :------ |
168
- | `state` | [`AdyenV3ValidationState`](internal_.AdyenV3ValidationState.md) |
169
- | `component` | [`AdyenComponent_2`](internal_.AdyenComponent_2.md) |
170
-
171
- #### Returns
172
-
173
- `void`
174
-
175
- #### Inherited from
176
-
177
- [AdyenComponentEvents_2](internal_.AdyenComponentEvents_2.md).[onError](internal_.AdyenComponentEvents_2.md#onerror)
178
-
179
- ___
180
-
181
- ### onFieldValid
182
-
183
- ▸ `Optional` **onFieldValid**(`state`, `component`): `void`
184
-
185
- #### Parameters
186
-
187
- | Name | Type |
188
- | :------ | :------ |
189
- | `state` | [`AdyenV3ValidationState`](internal_.AdyenV3ValidationState.md) |
190
- | `component` | [`AdyenComponent_2`](internal_.AdyenComponent_2.md) |
191
-
192
- #### Returns
193
-
194
- `void`
195
-
196
- #### Inherited from
197
-
198
- [AdyenComponentEvents_2](internal_.AdyenComponentEvents_2.md).[onFieldValid](internal_.AdyenComponentEvents_2.md#onfieldvalid)
@@ -1,137 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenV3PaymentInitializeOptions
2
-
3
- # Interface: AdyenV3PaymentInitializeOptions
4
-
5
- [<internal>](../modules/internal_.md).AdyenV3PaymentInitializeOptions
6
-
7
- A set of options that are required to initialize the Adyenv3 payment method.
8
-
9
- Once Adyenv3 payment is initialized, credit card form fields, provided by the
10
- payment provider as IFrames, will be inserted into the current page. These
11
- options provide a location and styling for each of the form fields.
12
-
13
- ```html
14
- <!-- This is where the credit card component will be inserted -->
15
- <div id="container"></div>
16
-
17
- <!-- This is where the secondary components (i.e.: 3DS) will be inserted -->
18
- <div id="additional-action-container"></div>
19
- ```
20
-
21
- ```js
22
- service.initializePayment({
23
- methodId: 'adyenv3',
24
- adyenv3: {
25
- containerId: 'container',
26
- additionalActionOptions: {
27
- containerId: 'additional-action-container',
28
- },
29
- },
30
- });
31
- ```
32
-
33
- Additional options can be passed in to customize the components and register
34
- event callbacks.
35
-
36
- ```js
37
- service.initializePayment({
38
- methodId: 'adyenv3',
39
- adyenv3: {
40
- containerId: 'container',
41
- additionalActionOptions: {
42
- containerId: 'additional-action-container',
43
- onBeforeLoad(shopperInteraction) {
44
- console.log(shopperInteraction);
45
- },
46
- onLoad(cancel) {
47
- console.log(cancel);
48
- },
49
- onComplete() {
50
- console.log('Completed');
51
- },
52
- },
53
- options: {
54
- scheme: {
55
- hasHolderName: true,
56
- },
57
- },
58
- },
59
- });
60
- ```
61
-
62
- ## Table of contents
63
-
64
- ### Properties
65
-
66
- - [additionalActionOptions](internal_.AdyenV3PaymentInitializeOptions.md#additionalactionoptions)
67
- - [cardVerificationContainerId](internal_.AdyenV3PaymentInitializeOptions.md#cardverificationcontainerid)
68
- - [containerId](internal_.AdyenV3PaymentInitializeOptions.md#containerid)
69
- - [hasVaultedInstruments](internal_.AdyenV3PaymentInitializeOptions.md#hasvaultedinstruments)
70
- - [options](internal_.AdyenV3PaymentInitializeOptions.md#options)
71
- - [shouldShowNumberField](internal_.AdyenV3PaymentInitializeOptions.md#shouldshownumberfield)
72
-
73
- ### Methods
74
-
75
- - [validateCardFields](internal_.AdyenV3PaymentInitializeOptions.md#validatecardfields)
76
-
77
- ## Properties
78
-
79
- ### additionalActionOptions
80
-
81
- • **additionalActionOptions**: [`AdyenAdditionalActionOptions_2`](internal_.AdyenAdditionalActionOptions_2.md)
82
-
83
- A set of options that are required to initialize additional payment actions.
84
-
85
- ___
86
-
87
- ### cardVerificationContainerId
88
-
89
- • `Optional` **cardVerificationContainerId**: `string`
90
-
91
- The location to insert the Adyen custom card component
92
-
93
- ___
94
-
95
- ### containerId
96
-
97
- • **containerId**: `string`
98
-
99
- The location to insert the Adyen component.
100
-
101
- ___
102
-
103
- ### hasVaultedInstruments
104
-
105
- • `Optional` **hasVaultedInstruments**: `boolean`
106
-
107
- True if the Adyen component has some Vaulted instrument
108
-
109
- ___
110
-
111
- ### options
112
-
113
- • `Optional` **options**: [`Omit_3`](../modules/internal_.md#omit_3)<[`AdyenV3CreditCardComponentOptions`](internal_.AdyenV3CreditCardComponentOptions.md), ``"onChange"``\>
114
-
115
- Optional. Overwriting the default options
116
-
117
- ___
118
-
119
- ### shouldShowNumberField
120
-
121
- • `Optional` **shouldShowNumberField**: `boolean`
122
-
123
- ## Methods
124
-
125
- ### validateCardFields
126
-
127
- ▸ **validateCardFields**(`validateState`): `void`
128
-
129
- #### Parameters
130
-
131
- | Name | Type |
132
- | :------ | :------ |
133
- | `validateState` | [`AdyenV3ValidationState`](internal_.AdyenV3ValidationState.md) |
134
-
135
- #### Returns
136
-
137
- `void`
@@ -1,59 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AdyenV3ValidationState
2
-
3
- # Interface: AdyenV3ValidationState
4
-
5
- [<internal>](../modules/internal_.md).AdyenV3ValidationState
6
-
7
- ## Table of contents
8
-
9
- ### Properties
10
-
11
- - [encryptedFieldName](internal_.AdyenV3ValidationState.md#encryptedfieldname)
12
- - [endDigits](internal_.AdyenV3ValidationState.md#enddigits)
13
- - [error](internal_.AdyenV3ValidationState.md#error)
14
- - [errorKey](internal_.AdyenV3ValidationState.md#errorkey)
15
- - [fieldType](internal_.AdyenV3ValidationState.md#fieldtype)
16
- - [i18n](internal_.AdyenV3ValidationState.md#i18n)
17
- - [valid](internal_.AdyenV3ValidationState.md#valid)
18
-
19
- ## Properties
20
-
21
- ### encryptedFieldName
22
-
23
- • `Optional` **encryptedFieldName**: `string`
24
-
25
- ___
26
-
27
- ### endDigits
28
-
29
- • `Optional` **endDigits**: `string`
30
-
31
- ___
32
-
33
- ### error
34
-
35
- • `Optional` **error**: `string`
36
-
37
- ___
38
-
39
- ### errorKey
40
-
41
- • `Optional` **errorKey**: `string`
42
-
43
- ___
44
-
45
- ### fieldType
46
-
47
- • `Optional` **fieldType**: [`AdyenV3CardFields`](../enums/internal_.AdyenV3CardFields.md)
48
-
49
- ___
50
-
51
- ### i18n
52
-
53
- • `Optional` **i18n**: `string`
54
-
55
- ___
56
-
57
- ### valid
58
-
59
- • **valid**: `boolean`
@@ -1,67 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayCustomerInitializeOptions
2
-
3
- # Interface: AmazonPayCustomerInitializeOptions
4
-
5
- [<internal>](../modules/internal_.md).AmazonPayCustomerInitializeOptions
6
-
7
- A set of options that are required to initialize the customer step of
8
- checkout to support Amazon Pay.
9
-
10
- When AmazonPay is initialized, a sign-in button will be inserted into the
11
- DOM. When the customer clicks on it, they will be redirected to Amazon to
12
- sign in.
13
-
14
- ## Table of contents
15
-
16
- ### Properties
17
-
18
- - [color](internal_.AmazonPayCustomerInitializeOptions.md#color)
19
- - [container](internal_.AmazonPayCustomerInitializeOptions.md#container)
20
- - [size](internal_.AmazonPayCustomerInitializeOptions.md#size)
21
-
22
- ### Methods
23
-
24
- - [onError](internal_.AmazonPayCustomerInitializeOptions.md#onerror)
25
-
26
- ## Properties
27
-
28
- ### color
29
-
30
- • `Optional` **color**: ``"Gold"`` \| ``"LightGray"`` \| ``"DarkGray"``
31
-
32
- The colour of the sign-in button.
33
-
34
- ___
35
-
36
- ### container
37
-
38
- • **container**: `string`
39
-
40
- The ID of a container which the sign-in button should insert into.
41
-
42
- ___
43
-
44
- ### size
45
-
46
- • `Optional` **size**: ``"small"`` \| ``"medium"`` \| ``"large"`` \| ``"x-large"``
47
-
48
- The size of the sign-in button.
49
-
50
- ## Methods
51
-
52
- ### onError
53
-
54
- ▸ `Optional` **onError**(`error`): `void`
55
-
56
- A callback that gets called if unable to initialize the widget or select
57
- one of the address options provided by the widget.
58
-
59
- #### Parameters
60
-
61
- | Name | Type | Description |
62
- | :------ | :------ | :------ |
63
- | `error` | [`AmazonPayWidgetError`](internal_.AmazonPayWidgetError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
64
-
65
- #### Returns
66
-
67
- `void`
@@ -1,32 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayOrderReference
2
-
3
- # Interface: AmazonPayOrderReference
4
-
5
- [<internal>](../modules/internal_.md).AmazonPayOrderReference
6
-
7
- ## Table of contents
8
-
9
- ### Methods
10
-
11
- - [getAmazonBillingAgreementId](internal_.AmazonPayOrderReference.md#getamazonbillingagreementid)
12
- - [getAmazonOrderReferenceId](internal_.AmazonPayOrderReference.md#getamazonorderreferenceid)
13
-
14
- ## Methods
15
-
16
- ### getAmazonBillingAgreementId
17
-
18
- ▸ **getAmazonBillingAgreementId**(): `string`
19
-
20
- #### Returns
21
-
22
- `string`
23
-
24
- ___
25
-
26
- ### getAmazonOrderReferenceId
27
-
28
- ▸ **getAmazonOrderReferenceId**(): `string`
29
-
30
- #### Returns
31
-
32
- `string`
@@ -1,102 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayPaymentInitializeOptions
2
-
3
- # Interface: AmazonPayPaymentInitializeOptions
4
-
5
- [<internal>](../modules/internal_.md).AmazonPayPaymentInitializeOptions
6
-
7
- A set of options that are required to initialize the Amazon Pay payment
8
- method.
9
-
10
- When AmazonPay is initialized, a widget will be inserted into the DOM. The
11
- widget has a list of payment options for the customer to choose from.
12
-
13
- ```html
14
- <!-- This is where the widget will be inserted -->
15
- <div id="container"></div>
16
- ```
17
-
18
- ```js
19
- service.initializePayment({
20
- methodId: 'amazon',
21
- amazon: {
22
- container: 'container',
23
- },
24
- });
25
- ```
26
-
27
- ## Table of contents
28
-
29
- ### Properties
30
-
31
- - [container](internal_.AmazonPayPaymentInitializeOptions.md#container)
32
-
33
- ### Methods
34
-
35
- - [onError](internal_.AmazonPayPaymentInitializeOptions.md#onerror)
36
- - [onPaymentSelect](internal_.AmazonPayPaymentInitializeOptions.md#onpaymentselect)
37
- - [onReady](internal_.AmazonPayPaymentInitializeOptions.md#onready)
38
-
39
- ## Properties
40
-
41
- ### container
42
-
43
- • **container**: `string`
44
-
45
- The ID of a container which the payment widget should insert into.
46
-
47
- ## Methods
48
-
49
- ### onError
50
-
51
- ▸ `Optional` **onError**(`error`): `void`
52
-
53
- A callback that gets called if unable to initialize the widget or select
54
- one of the payment options.
55
-
56
- #### Parameters
57
-
58
- | Name | Type | Description |
59
- | :------ | :------ | :------ |
60
- | `error` | [`AmazonPayWidgetError`](internal_.AmazonPayWidgetError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure. |
61
-
62
- #### Returns
63
-
64
- `void`
65
-
66
- ___
67
-
68
- ### onPaymentSelect
69
-
70
- ▸ `Optional` **onPaymentSelect**(`reference`): `void`
71
-
72
- A callback that gets called when the customer selects one of the payment
73
- options provided by the widget.
74
-
75
- #### Parameters
76
-
77
- | Name | Type | Description |
78
- | :------ | :------ | :------ |
79
- | `reference` | [`AmazonPayOrderReference`](internal_.AmazonPayOrderReference.md) | The order reference provided by Amazon. |
80
-
81
- #### Returns
82
-
83
- `void`
84
-
85
- ___
86
-
87
- ### onReady
88
-
89
- ▸ `Optional` **onReady**(`reference`): `void`
90
-
91
- A callback that gets called when the widget is loaded and ready to be
92
- interacted with.
93
-
94
- #### Parameters
95
-
96
- | Name | Type | Description |
97
- | :------ | :------ | :------ |
98
- | `reference` | [`AmazonPayOrderReference`](internal_.AmazonPayOrderReference.md) | The order reference provided by Amazon. |
99
-
100
- #### Returns
101
-
102
- `void`
@@ -1,87 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayShippingInitializeOptions
2
-
3
- # Interface: AmazonPayShippingInitializeOptions
4
-
5
- [<internal>](../modules/internal_.md).AmazonPayShippingInitializeOptions
6
-
7
- A set of options that are required to initialize the shipping step of
8
- checkout in order to support Amazon Pay.
9
-
10
- When Amazon Pay is initialized, a widget will be inserted into the DOM. The
11
- widget has a list of shipping addresses for the customer to choose from.
12
-
13
- ## Table of contents
14
-
15
- ### Properties
16
-
17
- - [container](internal_.AmazonPayShippingInitializeOptions.md#container)
18
-
19
- ### Methods
20
-
21
- - [onAddressSelect](internal_.AmazonPayShippingInitializeOptions.md#onaddressselect)
22
- - [onError](internal_.AmazonPayShippingInitializeOptions.md#onerror)
23
- - [onReady](internal_.AmazonPayShippingInitializeOptions.md#onready)
24
-
25
- ## Properties
26
-
27
- ### container
28
-
29
- • **container**: `string`
30
-
31
- The ID of a container which the address widget should insert into.
32
-
33
- ## Methods
34
-
35
- ### onAddressSelect
36
-
37
- ▸ `Optional` **onAddressSelect**(`reference`): `void`
38
-
39
- A callback that gets called when the customer selects an address option.
40
-
41
- #### Parameters
42
-
43
- | Name | Type | Description |
44
- | :------ | :------ | :------ |
45
- | `reference` | [`AmazonPayOrderReference`](internal_.AmazonPayOrderReference.md) | The order reference provided by Amazon. |
46
-
47
- #### Returns
48
-
49
- `void`
50
-
51
- ___
52
-
53
- ### onError
54
-
55
- ▸ `Optional` **onError**(`error`): `void`
56
-
57
- A callback that gets called if unable to initialize the widget or select
58
- one of the address options provided by the widget.
59
-
60
- #### Parameters
61
-
62
- | Name | Type | Description |
63
- | :------ | :------ | :------ |
64
- | `error` | [`AmazonPayWidgetError`](internal_.AmazonPayWidgetError.md) \| [`StandardError`](../classes/internal_.StandardError.md) | The error object describing the failure of the initialization. |
65
-
66
- #### Returns
67
-
68
- `void`
69
-
70
- ___
71
-
72
- ### onReady
73
-
74
- ▸ `Optional` **onReady**(`reference`): `void`
75
-
76
- A callback that gets called when the widget is loaded and ready to be
77
- interacted with.
78
-
79
- #### Parameters
80
-
81
- | Name | Type | Description |
82
- | :------ | :------ | :------ |
83
- | `reference` | [`AmazonPayOrderReference`](internal_.AmazonPayOrderReference.md) | The order reference provided by Amazon. |
84
-
85
- #### Returns
86
-
87
- `void`
@@ -1,26 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / AmazonPayV2CustomerInitializeOptions
2
-
3
- # Interface: AmazonPayV2CustomerInitializeOptions
4
-
5
- [<internal>](../modules/internal_.md).AmazonPayV2CustomerInitializeOptions
6
-
7
- A set of options that are required to initialize the customer step of
8
- checkout in order to support AmazonPayV2.
9
-
10
- When AmazonPayV2 is initialized, a sign-in button will be inserted into the
11
- DOM. When the customer clicks on it, they will be redirected to Amazon to
12
- sign in.
13
-
14
- ## Table of contents
15
-
16
- ### Properties
17
-
18
- - [container](internal_.AmazonPayV2CustomerInitializeOptions.md#container)
19
-
20
- ## Properties
21
-
22
- ### container
23
-
24
- • **container**: `string`
25
-
26
- The ID of a container which the sign-in button should insert into.