@bigcommerce/checkout-sdk 1.271.2 → 1.272.1

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