@paydock/client-sdk 1.127.1-beta → 1.131.0-beta

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 (288) hide show
  1. package/README.md +1466 -3901
  2. package/bundles/index.cjs +2845 -539
  3. package/bundles/index.cjs.d.ts +408 -196
  4. package/bundles/index.mjs +2844 -539
  5. package/bundles/index.mjs.d.ts +408 -196
  6. package/bundles/types/api/api-internal.d.ts +3 -1
  7. package/bundles/types/api/api-internal.d.ts.map +1 -1
  8. package/bundles/types/api/api-payment-source-internal.d.ts +8 -0
  9. package/bundles/types/api/api-payment-source-internal.d.ts.map +1 -0
  10. package/bundles/types/checkout/checkout.d.ts +8 -14
  11. package/bundles/types/checkout/checkout.d.ts.map +1 -1
  12. package/bundles/types/checkout/helpers/instruction-debugger.d.ts +4 -0
  13. package/bundles/types/checkout/helpers/instruction-debugger.d.ts.map +1 -0
  14. package/bundles/types/checkout/helpers/instruction-handler.d.ts +4 -4
  15. package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -1
  16. package/bundles/types/checkout/images/card-icons.d.ts +10 -0
  17. package/bundles/types/checkout/images/card-icons.d.ts.map +1 -0
  18. package/bundles/types/checkout/index.d.ts +2 -1
  19. package/bundles/types/checkout/index.d.ts.map +1 -1
  20. package/bundles/types/checkout/models/checkout.models.d.ts +14 -0
  21. package/bundles/types/checkout/models/checkout.models.d.ts.map +1 -0
  22. package/bundles/types/checkout/utils/checkout-styles.util.d.ts +2 -0
  23. package/bundles/types/checkout/utils/checkout-styles.util.d.ts.map +1 -0
  24. package/bundles/types/checkout/utils/checkout-version-handler.util.d.ts +3 -0
  25. package/bundles/types/checkout/utils/checkout-version-handler.util.d.ts.map +1 -0
  26. package/bundles/types/checkout/v1/helpers/widget-structure-handler.d.ts +10 -0
  27. package/bundles/types/checkout/v1/helpers/widget-structure-handler.d.ts.map +1 -0
  28. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/index.d.ts.map +1 -1
  29. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.afterpay_checkout_form.show.d.ts +2 -2
  30. package/bundles/types/checkout/v1/instructions/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
  31. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.afterpay_wallet_form.show.d.ts +3 -2
  32. package/bundles/types/checkout/v1/instructions/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
  33. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.apple_pay_form.show.d.ts +3 -2
  34. package/bundles/types/checkout/v1/instructions/instruction.apple_pay_form.show.d.ts.map +1 -0
  35. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.bank_account_form.show.d.ts +2 -2
  36. package/bundles/types/checkout/v1/instructions/instruction.bank_account_form.show.d.ts.map +1 -0
  37. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.canvas_3ds.show.d.ts.map +1 -1
  38. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.card_form.show.d.ts +1 -1
  39. package/bundles/types/checkout/v1/instructions/instruction.card_form.show.d.ts.map +1 -0
  40. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.disable_payment_method_event.emit.d.ts +2 -2
  41. package/bundles/types/checkout/v1/instructions/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
  42. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.fraud_service.show.d.ts.map +1 -1
  43. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.generic.show_message.d.ts +1 -1
  44. package/bundles/types/checkout/v1/instructions/instruction.generic.show_message.d.ts.map +1 -0
  45. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.google_pay_form.show.d.ts +3 -2
  46. package/bundles/types/checkout/v1/instructions/instruction.google_pay_form.show.d.ts.map +1 -0
  47. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.merchant_event.emit.d.ts +2 -2
  48. package/bundles/types/checkout/v1/instructions/instruction.merchant_event.emit.d.ts.map +1 -0
  49. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.payment_methods.show.d.ts.map +1 -1
  50. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.paypal_form.show.d.ts +2 -2
  51. package/bundles/types/checkout/v1/instructions/instruction.paypal_form.show.d.ts.map +1 -0
  52. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.zip_checkout_form.show.d.ts +3 -2
  53. package/bundles/types/checkout/v1/instructions/instruction.zip_checkout_form.show.d.ts.map +1 -0
  54. package/bundles/types/checkout/v1/layout-widgets/additionals.d.ts +3 -0
  55. package/bundles/types/checkout/v1/layout-widgets/additionals.d.ts.map +1 -0
  56. package/bundles/types/checkout/v1/layout-widgets/default-variables.enum.d.ts.map +1 -0
  57. package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/message.d.ts +6 -6
  58. package/bundles/types/checkout/v1/layout-widgets/message.d.ts.map +1 -0
  59. package/bundles/types/checkout/v1/layout-widgets/payment-methods-template.d.ts.map +1 -0
  60. package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-methods.d.ts +5 -5
  61. package/bundles/types/checkout/v1/layout-widgets/payment-methods.d.ts.map +1 -0
  62. package/bundles/types/checkout/v1/layout-widgets/payment-template.d.ts.map +1 -0
  63. package/bundles/types/checkout/v1/models/checkout.models.d.ts +5 -0
  64. package/bundles/types/checkout/v1/models/checkout.models.d.ts.map +1 -0
  65. package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts +4 -0
  66. package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts.map +1 -0
  67. package/bundles/types/checkout/v3/components/list-items-wrapper/list-items-wrapper.d.ts +8 -0
  68. package/bundles/types/checkout/v3/components/list-items-wrapper/list-items-wrapper.d.ts.map +1 -0
  69. package/bundles/types/checkout/v3/components/payment-methods-list/payment-methods-list.d.ts +3 -0
  70. package/bundles/types/checkout/v3/components/payment-methods-list/payment-methods-list.d.ts.map +1 -0
  71. package/bundles/types/checkout/v3/components/payments-wrapper/payments-wrapper.d.ts +9 -0
  72. package/bundles/types/checkout/v3/components/payments-wrapper/payments-wrapper.d.ts.map +1 -0
  73. package/bundles/types/checkout/v3/helpers/widget-structure-handler.d.ts +10 -0
  74. package/bundles/types/checkout/v3/helpers/widget-structure-handler.d.ts.map +1 -0
  75. package/bundles/types/checkout/v3/instructions/index.d.ts +4 -0
  76. package/bundles/types/checkout/v3/instructions/index.d.ts.map +1 -0
  77. package/bundles/types/checkout/v3/instructions/instruction.afterpay_checkout_form.show.d.ts +20 -0
  78. package/bundles/types/checkout/v3/instructions/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
  79. package/bundles/types/checkout/v3/instructions/instruction.afterpay_wallet_form.show.d.ts +17 -0
  80. package/bundles/types/checkout/v3/instructions/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
  81. package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts +17 -0
  82. package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts.map +1 -0
  83. package/bundles/types/checkout/v3/instructions/instruction.bank_account_form.show.d.ts +14 -0
  84. package/bundles/types/checkout/v3/instructions/instruction.bank_account_form.show.d.ts.map +1 -0
  85. package/bundles/types/checkout/v3/instructions/instruction.canvas_3ds.show.d.ts +12 -0
  86. package/bundles/types/checkout/v3/instructions/instruction.canvas_3ds.show.d.ts.map +1 -0
  87. package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts +24 -0
  88. package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts.map +1 -0
  89. package/bundles/types/checkout/v3/instructions/instruction.disable_payment_method_event.emit.d.ts +21 -0
  90. package/bundles/types/checkout/v3/instructions/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
  91. package/bundles/types/checkout/v3/instructions/instruction.fraud_service.show.d.ts +21 -0
  92. package/bundles/types/checkout/v3/instructions/instruction.fraud_service.show.d.ts.map +1 -0
  93. package/bundles/types/checkout/v3/instructions/instruction.generic.show_message.d.ts +27 -0
  94. package/bundles/types/checkout/v3/instructions/instruction.generic.show_message.d.ts.map +1 -0
  95. package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts +17 -0
  96. package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts.map +1 -0
  97. package/bundles/types/checkout/v3/instructions/instruction.merchant_event.emit.d.ts +18 -0
  98. package/bundles/types/checkout/v3/instructions/instruction.merchant_event.emit.d.ts.map +1 -0
  99. package/bundles/types/checkout/v3/instructions/instruction.payment_methods.show.d.ts +23 -0
  100. package/bundles/types/checkout/v3/instructions/instruction.payment_methods.show.d.ts.map +1 -0
  101. package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts +19 -0
  102. package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts.map +1 -0
  103. package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts +22 -0
  104. package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts.map +1 -0
  105. package/bundles/types/checkout/v3/instructions/instruction.zip_checkout_form.show.d.ts +19 -0
  106. package/bundles/types/checkout/v3/instructions/instruction.zip_checkout_form.show.d.ts.map +1 -0
  107. package/bundles/types/checkout/v3/models/card.model.d.ts +20 -0
  108. package/bundles/types/checkout/v3/models/card.model.d.ts.map +1 -0
  109. package/bundles/types/checkout/v3/models/checkout-styles.model.d.ts +9 -0
  110. package/bundles/types/checkout/v3/models/checkout-styles.model.d.ts.map +1 -0
  111. package/bundles/types/checkout/v3/models/checkout.models.d.ts +4 -0
  112. package/bundles/types/checkout/v3/models/checkout.models.d.ts.map +1 -0
  113. package/bundles/types/checkout/v3/models/payment-methods.model.d.ts +13 -0
  114. package/bundles/types/checkout/v3/models/payment-methods.model.d.ts.map +1 -0
  115. package/bundles/types/checkout/v3/styles/additionals.d.ts +3 -0
  116. package/bundles/types/checkout/v3/styles/additionals.d.ts.map +1 -0
  117. package/bundles/types/checkout/v3/utils/checkout-customisation-styles.util.d.ts +3 -0
  118. package/bundles/types/checkout/v3/utils/checkout-customisation-styles.util.d.ts.map +1 -0
  119. package/bundles/types/components/param.d.ts +7 -0
  120. package/bundles/types/components/param.d.ts.map +1 -1
  121. package/bundles/types/configs/env/environment.uba.d.ts +28 -0
  122. package/bundles/types/configs/env/environment.uba.d.ts.map +1 -0
  123. package/bundles/types/constants/validators.d.ts +2 -2
  124. package/bundles/types/constants/validators.d.ts.map +1 -1
  125. package/bundles/types/fraud-prevention/providers/forter/templates/{forter-snippet-2025-02-06t14:19:34z.template.d.ts → forter-snippet-20250206141934.template.d.ts} +1 -1
  126. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-20250206141934.template.d.ts.map +1 -0
  127. package/bundles/types/helper/card-scheme.d.ts +76 -0
  128. package/bundles/types/helper/card-scheme.d.ts.map +1 -0
  129. package/bundles/types/index-cba.d.ts +11 -11
  130. package/bundles/types/index-cba.d.ts.map +1 -1
  131. package/bundles/types/index.d.ts +12 -11
  132. package/bundles/types/index.d.ts.map +1 -1
  133. package/bundles/types/open-wallets/base/base-open-wallet.d.ts +33 -0
  134. package/bundles/types/open-wallets/base/base-open-wallet.d.ts.map +1 -0
  135. package/bundles/types/open-wallets/enum/event.enum.d.ts +8 -0
  136. package/bundles/types/open-wallets/enum/event.enum.d.ts.map +1 -0
  137. package/bundles/types/open-wallets/index.d.ts +6 -0
  138. package/bundles/types/open-wallets/index.d.ts.map +1 -0
  139. package/bundles/types/open-wallets/interfaces/base-service-config.interface.d.ts +30 -0
  140. package/bundles/types/open-wallets/interfaces/base-service-config.interface.d.ts.map +1 -0
  141. package/bundles/types/open-wallets/interfaces/base-wallet-meta.interface.d.ts +5 -0
  142. package/bundles/types/open-wallets/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
  143. package/bundles/types/open-wallets/interfaces/events.interface.d.ts +34 -0
  144. package/bundles/types/open-wallets/interfaces/events.interface.d.ts.map +1 -0
  145. package/bundles/types/open-wallets/interfaces/index.d.ts +8 -0
  146. package/bundles/types/open-wallets/interfaces/index.d.ts.map +1 -0
  147. package/bundles/types/open-wallets/interfaces/payment-source.interface.d.ts +5 -0
  148. package/bundles/types/open-wallets/interfaces/payment-source.interface.d.ts.map +1 -0
  149. package/bundles/types/open-wallets/services/index.d.ts +9 -0
  150. package/bundles/types/open-wallets/services/index.d.ts.map +1 -0
  151. package/bundles/types/open-wallets/types/index.d.ts +5 -0
  152. package/bundles/types/open-wallets/types/index.d.ts.map +1 -0
  153. package/bundles/types/open-wallets/types/ott-backend.type.d.ts +26 -0
  154. package/bundles/types/open-wallets/types/ott-backend.type.d.ts.map +1 -0
  155. package/bundles/types/open-wallets/types/ott-response.type.d.ts +8 -0
  156. package/bundles/types/open-wallets/types/ott-response.type.d.ts.map +1 -0
  157. package/bundles/types/open-wallets/types/wallet-type.type.d.ts +6 -0
  158. package/bundles/types/open-wallets/types/wallet-type.type.d.ts.map +1 -0
  159. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +2 -1
  160. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -1
  161. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +6 -4
  162. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
  163. package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -1
  164. package/bundles/types/shared-ui/components/button.d.ts +23 -0
  165. package/bundles/types/shared-ui/components/button.d.ts.map +1 -0
  166. package/bundles/types/shared-ui/components/item-info-blocks.d.ts +20 -0
  167. package/bundles/types/shared-ui/components/item-info-blocks.d.ts.map +1 -0
  168. package/bundles/types/shared-ui/components/list-item.d.ts +13 -0
  169. package/bundles/types/shared-ui/components/list-item.d.ts.map +1 -0
  170. package/bundles/types/shared-ui/components/loading-spinner.d.ts +12 -0
  171. package/bundles/types/shared-ui/components/loading-spinner.d.ts.map +1 -0
  172. package/bundles/types/shared-ui/components/message-card.d.ts +19 -0
  173. package/bundles/types/shared-ui/components/message-card.d.ts.map +1 -0
  174. package/bundles/types/shared-ui/components/svg-container.d.ts +2 -0
  175. package/bundles/types/shared-ui/components/svg-container.d.ts.map +1 -0
  176. package/bundles/types/shared-ui/components/widget-wrapper.d.ts +2 -0
  177. package/bundles/types/shared-ui/components/widget-wrapper.d.ts.map +1 -0
  178. package/bundles/types/shared-ui/models/widget-root.model.d.ts +12 -0
  179. package/bundles/types/shared-ui/models/widget-root.model.d.ts.map +1 -0
  180. package/bundles/types/shared-ui/styles/widget-root-styles.d.ts +3 -0
  181. package/bundles/types/shared-ui/styles/widget-root-styles.d.ts.map +1 -0
  182. package/bundles/types/shared-ui/utils/loading-spinner.util.d.ts +8 -0
  183. package/bundles/types/shared-ui/utils/loading-spinner.util.d.ts.map +1 -0
  184. package/bundles/types/wallet-buttons/enums.d.ts +2 -1
  185. package/bundles/types/wallet-buttons/enums.d.ts.map +1 -1
  186. package/bundles/types/wallet-buttons/index.d.ts +6 -6
  187. package/bundles/types/wallet-buttons/wallet-buttons.d.ts +14 -8
  188. package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -1
  189. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +2 -2
  190. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -1
  191. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +3 -3
  192. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -1
  193. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +2 -2
  194. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -1
  195. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +7 -7
  196. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -1
  197. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -1
  198. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +2 -2
  199. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -1
  200. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +3 -3
  201. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -1
  202. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +6 -6
  203. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -1
  204. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -1
  205. package/bundles/types/wallet-buttons-express/index.d.ts +3 -3
  206. package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -1
  207. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +1 -0
  208. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -1
  209. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +2 -2
  210. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -1
  211. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +2 -2
  212. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -1
  213. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +2 -2
  214. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -1
  215. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +2 -2
  216. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -1
  217. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +2 -2
  218. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -1
  219. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +2 -2
  220. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -1
  221. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -1
  222. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -1
  223. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -1
  224. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +2 -2
  225. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -1
  226. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +20 -0
  227. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -1
  228. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -1
  229. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +5 -5
  230. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -1
  231. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +3 -0
  232. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -1
  233. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -1
  234. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +1 -1
  235. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -1
  236. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +4 -4
  237. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -1
  238. package/bundles/types/widget/configuration.d.ts +2 -0
  239. package/bundles/types/widget/configuration.d.ts.map +1 -1
  240. package/bundles/types/widget/html-multi-widget.d.ts +7 -5
  241. package/bundles/types/widget/html-multi-widget.d.ts.map +1 -1
  242. package/bundles/types/widget/html-widget.d.ts +1 -0
  243. package/bundles/types/widget/html-widget.d.ts.map +1 -1
  244. package/bundles/types/widget/multi-widget.d.ts +16 -0
  245. package/bundles/types/widget/multi-widget.d.ts.map +1 -1
  246. package/bundles/widget.umd.js +2845 -539
  247. package/bundles/widget.umd.js.d.ts +408 -196
  248. package/bundles/widget.umd.js.min.d.ts +408 -196
  249. package/bundles/widget.umd.min.js +1 -1
  250. package/docs/api-checkout-button.md +0 -370
  251. package/docs/api-widget.md +0 -2110
  252. package/docs/checkout-examples.md +2 -127
  253. package/docs/license.md +1 -1
  254. package/docs/wallet-buttons-examples.md +3 -134
  255. package/docs/wallet-buttons-express-examples.md +528 -0
  256. package/docs/wallet-buttons.md +11 -10
  257. package/docs/wallet-cba-buttons-examples.md +1 -1
  258. package/package.json +3 -2
  259. package/slate.md +5 -524
  260. package/bundles/types/checkout/instructions/index.d.ts +0 -3
  261. package/bundles/types/checkout/instructions/index.d.ts.map +0 -1
  262. package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +0 -1
  263. package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +0 -1
  264. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +0 -1
  265. package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +0 -1
  266. package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +0 -1
  267. package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +0 -1
  268. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +0 -1
  269. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +0 -1
  270. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +0 -1
  271. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +0 -1
  272. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +0 -1
  273. package/bundles/types/checkout/layout-widgets/additionals.d.ts +0 -3
  274. package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +0 -1
  275. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +0 -1
  276. package/bundles/types/checkout/layout-widgets/message.d.ts.map +0 -1
  277. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +0 -1
  278. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +0 -1
  279. package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +0 -1
  280. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +0 -1
  281. package/docs/api-vault-display.md +0 -94
  282. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/index.d.ts +0 -0
  283. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.canvas_3ds.show.d.ts +0 -0
  284. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.fraud_service.show.d.ts +0 -0
  285. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.payment_methods.show.d.ts +0 -0
  286. /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/default-variables.enum.d.ts +0 -0
  287. /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-methods-template.d.ts +0 -0
  288. /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-template.d.ts +0 -0
@@ -7,12 +7,6 @@
7
7
  <dt><a href="#user-content-cb_ZipmoneyCheckoutButton">ZipmoneyCheckoutButton</a> ⇐ <code><a href="#user-content-cb_CheckoutButton">CheckoutButton</a></code></dt>
8
8
  <dd><p>Class ZipmoneyCheckoutButton is wrapper of CheckoutButton transform usual button into checkout</p>
9
9
  </dd>
10
- <dt><a href="#user-content-cb_PaypalCheckoutButton">PaypalCheckoutButton</a> ⇐ <code><a href="#user-content-cb_CheckoutButton">CheckoutButton</a></code></dt>
11
- <dd><p>Class PaypalCheckoutButton is wrapper of CheckoutButton transform usual button into checkout</p>
12
- </dd>
13
- <dt><a href="#user-content-cb_AfterpayCheckoutButton">AfterpayCheckoutButton</a> ⇐ <code><a href="#user-content-cb_CheckoutButton">CheckoutButton</a></code></dt>
14
- <dd><p>Class AfterpayCheckoutButton is wrapper of CheckoutButton transform usual button into checkout</p>
15
- </dd>
16
10
  </dl>
17
11
 
18
12
  ## Members
@@ -502,370 +496,6 @@ Only for 'contextual' mode.
502
496
  **Overrides**: [<code>turnOffBackdrop</code>](#user-content-cb_CheckoutButton+turnOffBackdrop)
503
497
  **Example**
504
498
 
505
- ```javascript
506
- button.turnOffBackdrop();
507
- ```
508
- <a name="cb_PaypalCheckoutButton" id="cb_PaypalCheckoutButton" href="#user-content-cb_PaypalCheckoutButton">&nbsp;</a>
509
-
510
- ## PaypalCheckoutButton ⇐ [<code>CheckoutButton</code>](#user-content-cb_CheckoutButton)
511
- Class PaypalCheckoutButton is wrapper of CheckoutButton transform usual button into checkout
512
-
513
- **Kind**: global class
514
- **Extends**: [<code>CheckoutButton</code>](#user-content-cb_CheckoutButton)
515
-
516
- * [PaypalCheckoutButton](#user-content-cb_PaypalCheckoutButton) ⇐ [<code>CheckoutButton</code>](#user-content-cb_CheckoutButton)
517
- * [new PaypalCheckoutButton(selector, publicKey, [gatewayId])](#user-content-cb_new_PaypalCheckoutButton_new)
518
- * [.on(eventName, cb)](#user-content-cb_CheckoutButton+on)
519
- * [.close()](#user-content-cb_CheckoutButton+close)
520
- * [.onFinishInsert(selector, dataType)](#user-content-cb_CheckoutButton+onFinishInsert)
521
- * [.setMeta(meta)](#user-content-cb_CheckoutButton+setMeta)
522
- * [.setBackdropDescription(text)](#user-content-cb_CheckoutButton+setBackdropDescription)
523
- * [.setBackdropTitle(string)](#user-content-cb_CheckoutButton+setBackdropTitle)
524
- * [.setSuspendedRedirectUri(string)](#user-content-cb_CheckoutButton+setSuspendedRedirectUri)
525
- * [.setRedirectUrl(string)](#user-content-cb_CheckoutButton+setRedirectUrl)
526
- * [.turnOffBackdrop()](#user-content-cb_CheckoutButton+turnOffBackdrop)
527
-
528
- <a name="cb_new_PaypalCheckoutButton_new" id="cb_new_PaypalCheckoutButton_new" href="#user-content-cb_new_PaypalCheckoutButton_new">&nbsp;</a>
529
-
530
- ### new PaypalCheckoutButton(selector, publicKey, [gatewayId])
531
-
532
- | Param | Type | Default | Description |
533
- | --- | --- | --- | --- |
534
- | selector | <code>string</code> | | Selector of html element. |
535
- | publicKey | <code>string</code> | | PayDock users public key |
536
- | [gatewayId] | <code>string</code> | <code>&quot;default&quot;</code> | PayDock's gatewayId. By default or if put 'default', it will use the selected default gateway |
537
-
538
- **Example**
539
-
540
- ```javascript
541
- var widget = new PaypalCheckoutButton('#button', 'publicKey','gatewayId');
542
- ```
543
- <a name="cb_CheckoutButton+on" id="cb_CheckoutButton+on" href="#user-content-cb_CheckoutButton+on">&nbsp;</a>
544
-
545
- ### paypalCheckoutButton.on(eventName, cb)
546
- Listen to events of widget
547
-
548
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
549
- **Overrides**: [<code>on</code>](#user-content-cb_CheckoutButton+on)
550
-
551
- | Param | Type | Description |
552
- | --- | --- | --- |
553
- | eventName | <code>string</code> | Available event names [CHECKOUT_BUTTON_EVENT](#user-content-cb_CHECKOUT_BUTTON_EVENT) |
554
- | cb | [<code>listener</code>](#user-content-cb_listener) | |
555
-
556
- **Example**
557
-
558
- ```javascript
559
- widget.on('click', function () {
560
-
561
- });
562
- ```
563
- <a name="cb_CheckoutButton+close" id="cb_CheckoutButton+close" href="#user-content-cb_CheckoutButton+close">&nbsp;</a>
564
-
565
- ### paypalCheckoutButton.close()
566
- Close popup window forcibly.
567
- Only for 'contextual' mode.
568
-
569
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
570
- **Overrides**: [<code>close</code>](#user-content-cb_CheckoutButton+close)
571
- <a name="cb_CheckoutButton+onFinishInsert" id="cb_CheckoutButton+onFinishInsert" href="#user-content-cb_CheckoutButton+onFinishInsert">&nbsp;</a>
572
-
573
- ### paypalCheckoutButton.onFinishInsert(selector, dataType)
574
- After finish event of checkout button, data (dataType) will be insert to input (selector)
575
-
576
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
577
- **Overrides**: [<code>onFinishInsert</code>](#user-content-cb_CheckoutButton+onFinishInsert)
578
-
579
- | Param | Type | Description |
580
- | --- | --- | --- |
581
- | selector | <code>string</code> | css selector . [] # |
582
- | dataType | <code>string</code> | data type of IEventCheckoutFinishData [IEventCheckoutFinishData](#user-content-cb_IEventCheckoutFinishData). |
583
-
584
- <a name="cb_CheckoutButton+setMeta" id="cb_CheckoutButton+setMeta" href="#user-content-cb_CheckoutButton+setMeta">&nbsp;</a>
585
-
586
- ### paypalCheckoutButton.setMeta(meta)
587
- Method for setting meta information for checkout page
588
-
589
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
590
- **Overrides**: [<code>setMeta</code>](#user-content-cb_CheckoutButton+setMeta)
591
-
592
- | Param | Type | Description |
593
- | --- | --- | --- |
594
- | meta | [<code>IPayPalMeta</code>](#user-content-cb_IPayPalMeta) \| [<code>IAfterpayMeta</code>](#user-content-cb_IAfterpayMeta) \| [<code>IZipmoneyMeta</code>](#user-content-cb_IZipmoneyMeta) | Data which can be shown on checkout page [IPayPalMeta](#user-content-cb_IPayPalMeta) [IZipmoneyMeta](#user-content-cb_IZipmoneyMeta) [IAfterpayMeta](#user-content-cb_IAfterpayMeta) |
595
-
596
- **Example**
597
-
598
- ```javascript
599
- button.setMeta({
600
- brand_name: 'paydock',
601
- reference: '15',
602
- email: 'wault@paydock.com'
603
- });
604
- ```
605
- <a name="cb_CheckoutButton+setBackdropDescription" id="cb_CheckoutButton+setBackdropDescription" href="#user-content-cb_CheckoutButton+setBackdropDescription">&nbsp;</a>
606
-
607
- ### paypalCheckoutButton.setBackdropDescription(text)
608
- Method for setting backdrop description.
609
- Only for 'contextual' mode.
610
-
611
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
612
- **Overrides**: [<code>setBackdropDescription</code>](#user-content-cb_CheckoutButton+setBackdropDescription)
613
-
614
- | Param | Type | Description |
615
- | --- | --- | --- |
616
- | text | <code>string</code> | description which can be shown in overlay of back side checkout page |
617
-
618
- **Example**
619
-
620
- ```javascript
621
- button.setBackdropDescription('Custom description');
622
- ```
623
- <a name="cb_CheckoutButton+setBackdropTitle" id="cb_CheckoutButton+setBackdropTitle" href="#user-content-cb_CheckoutButton+setBackdropTitle">&nbsp;</a>
624
-
625
- ### paypalCheckoutButton.setBackdropTitle(string)
626
- Method for setting backdrop title.
627
- Only for 'contextual' mode.
628
-
629
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
630
- **Overrides**: [<code>setBackdropTitle</code>](#user-content-cb_CheckoutButton+setBackdropTitle)
631
-
632
- | Param | Type | Description |
633
- | --- | --- | --- |
634
- | string | <code>text</code> | title which can be shown in overlay of back side checkout page |
635
-
636
- **Example**
637
-
638
- ```javascript
639
- button.setBackdropTitle('Custom title');
640
- ```
641
- <a name="cb_CheckoutButton+setSuspendedRedirectUri" id="cb_CheckoutButton+setSuspendedRedirectUri" href="#user-content-cb_CheckoutButton+setSuspendedRedirectUri">&nbsp;</a>
642
-
643
- ### paypalCheckoutButton.setSuspendedRedirectUri(string)
644
- Method for setting suspended redirect uri. Redirect after referred checkout.
645
- Only for 'contextual' mode.
646
-
647
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
648
- **Overrides**: [<code>setSuspendedRedirectUri</code>](#user-content-cb_CheckoutButton+setSuspendedRedirectUri)
649
-
650
- | Param | Type | Description |
651
- | --- | --- | --- |
652
- | string | <code>uri</code> | uri for redirect (by default) |
653
-
654
- <a name="cb_CheckoutButton+setRedirectUrl" id="cb_CheckoutButton+setRedirectUrl" href="#user-content-cb_CheckoutButton+setRedirectUrl">&nbsp;</a>
655
-
656
- ### paypalCheckoutButton.setRedirectUrl(string)
657
- Method for setting the merchant redirect URL.
658
- Merchant's customers redirect after successfull checkout.
659
- Only for 'redirect' mode.
660
-
661
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
662
- **Overrides**: [<code>setRedirectUrl</code>](#user-content-cb_CheckoutButton+setRedirectUrl)
663
-
664
- | Param | Type | Description |
665
- | --- | --- | --- |
666
- | string | <code>url</code> | redirect url |
667
-
668
- <a name="cb_CheckoutButton+turnOffBackdrop" id="cb_CheckoutButton+turnOffBackdrop" href="#user-content-cb_CheckoutButton+turnOffBackdrop">&nbsp;</a>
669
-
670
- ### paypalCheckoutButton.turnOffBackdrop()
671
- Method for disable backdrop on the page.
672
- Only for 'contextual' mode.
673
-
674
- **Kind**: instance method of [<code>PaypalCheckoutButton</code>](#user-content-cb_PaypalCheckoutButton)
675
- **Overrides**: [<code>turnOffBackdrop</code>](#user-content-cb_CheckoutButton+turnOffBackdrop)
676
- **Example**
677
-
678
- ```javascript
679
- button.turnOffBackdrop();
680
- ```
681
- <a name="cb_AfterpayCheckoutButton" id="cb_AfterpayCheckoutButton" href="#user-content-cb_AfterpayCheckoutButton">&nbsp;</a>
682
-
683
- ## AfterpayCheckoutButton ⇐ [<code>CheckoutButton</code>](#user-content-cb_CheckoutButton)
684
- Class AfterpayCheckoutButton is wrapper of CheckoutButton transform usual button into checkout
685
-
686
- **Kind**: global class
687
- **Extends**: [<code>CheckoutButton</code>](#user-content-cb_CheckoutButton)
688
-
689
- * [AfterpayCheckoutButton](#user-content-cb_AfterpayCheckoutButton) ⇐ [<code>CheckoutButton</code>](#user-content-cb_CheckoutButton)
690
- * [new AfterpayCheckoutButton(selector, accessToken, [gatewayId])](#user-content-cb_new_AfterpayCheckoutButton_new)
691
- * [.showEnhancedTrackingProtectionPopup(boolean)](#user-content-cb_AfterpayCheckoutButton+showEnhancedTrackingProtectionPopup)
692
- * [.on(eventName, cb)](#user-content-cb_CheckoutButton+on)
693
- * [.close()](#user-content-cb_CheckoutButton+close)
694
- * [.onFinishInsert(selector, dataType)](#user-content-cb_CheckoutButton+onFinishInsert)
695
- * [.setMeta(meta)](#user-content-cb_CheckoutButton+setMeta)
696
- * [.setBackdropDescription(text)](#user-content-cb_CheckoutButton+setBackdropDescription)
697
- * [.setBackdropTitle(string)](#user-content-cb_CheckoutButton+setBackdropTitle)
698
- * [.setSuspendedRedirectUri(string)](#user-content-cb_CheckoutButton+setSuspendedRedirectUri)
699
- * [.setRedirectUrl(string)](#user-content-cb_CheckoutButton+setRedirectUrl)
700
- * [.turnOffBackdrop()](#user-content-cb_CheckoutButton+turnOffBackdrop)
701
-
702
- <a name="cb_new_AfterpayCheckoutButton_new" id="cb_new_AfterpayCheckoutButton_new" href="#user-content-cb_new_AfterpayCheckoutButton_new">&nbsp;</a>
703
-
704
- ### new AfterpayCheckoutButton(selector, accessToken, [gatewayId])
705
-
706
- | Param | Type | Default | Description |
707
- | --- | --- | --- | --- |
708
- | selector | <code>string</code> | | Selector of html element. |
709
- | accessToken | <code>string</code> | | PayDock access-token or users public key |
710
- | [gatewayId] | <code>string</code> | <code>&quot;default&quot;</code> | PayDock's gatewayId. By default or if put 'default', it will use the selected default gateway |
711
-
712
- **Example**
713
-
714
- ```javascript
715
- var widget = new AfterpayCheckoutButton('#button', 'access-token','gatewayId');
716
- ```
717
- <a name="cb_AfterpayCheckoutButton+showEnhancedTrackingProtectionPopup" id="cb_AfterpayCheckoutButton+showEnhancedTrackingProtectionPopup" href="#user-content-cb_AfterpayCheckoutButton+showEnhancedTrackingProtectionPopup">&nbsp;</a>
718
-
719
- ### afterpayCheckoutButton.showEnhancedTrackingProtectionPopup(boolean)
720
- Method which toggles the "Enhanced Tracking Protection" warning popup to 'on' mode.
721
-
722
- This popup with a warning about "Enhanced Tracking Protection" limitations
723
- would be shown in the Mozilla Firefox browser version 100+
724
-
725
- By default, the popup would not be shown, until
726
- the flag would be set to `true`
727
-
728
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
729
-
730
- | Param | Type | Description |
731
- | --- | --- | --- |
732
- | boolean | <code>doShow</code> | flag which toggle the popup visibility |
733
-
734
- <a name="cb_CheckoutButton+on" id="cb_CheckoutButton+on" href="#user-content-cb_CheckoutButton+on">&nbsp;</a>
735
-
736
- ### afterpayCheckoutButton.on(eventName, cb)
737
- Listen to events of widget
738
-
739
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
740
- **Overrides**: [<code>on</code>](#user-content-cb_CheckoutButton+on)
741
-
742
- | Param | Type | Description |
743
- | --- | --- | --- |
744
- | eventName | <code>string</code> | Available event names [CHECKOUT_BUTTON_EVENT](#user-content-cb_CHECKOUT_BUTTON_EVENT) |
745
- | cb | [<code>listener</code>](#user-content-cb_listener) | |
746
-
747
- **Example**
748
-
749
- ```javascript
750
- widget.on('click', function () {
751
-
752
- });
753
- ```
754
- <a name="cb_CheckoutButton+close" id="cb_CheckoutButton+close" href="#user-content-cb_CheckoutButton+close">&nbsp;</a>
755
-
756
- ### afterpayCheckoutButton.close()
757
- Close popup window forcibly.
758
- Only for 'contextual' mode.
759
-
760
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
761
- **Overrides**: [<code>close</code>](#user-content-cb_CheckoutButton+close)
762
- <a name="cb_CheckoutButton+onFinishInsert" id="cb_CheckoutButton+onFinishInsert" href="#user-content-cb_CheckoutButton+onFinishInsert">&nbsp;</a>
763
-
764
- ### afterpayCheckoutButton.onFinishInsert(selector, dataType)
765
- After finish event of checkout button, data (dataType) will be insert to input (selector)
766
-
767
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
768
- **Overrides**: [<code>onFinishInsert</code>](#user-content-cb_CheckoutButton+onFinishInsert)
769
-
770
- | Param | Type | Description |
771
- | --- | --- | --- |
772
- | selector | <code>string</code> | css selector . [] # |
773
- | dataType | <code>string</code> | data type of IEventCheckoutFinishData [IEventCheckoutFinishData](#user-content-cb_IEventCheckoutFinishData). |
774
-
775
- <a name="cb_CheckoutButton+setMeta" id="cb_CheckoutButton+setMeta" href="#user-content-cb_CheckoutButton+setMeta">&nbsp;</a>
776
-
777
- ### afterpayCheckoutButton.setMeta(meta)
778
- Method for setting meta information for checkout page
779
-
780
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
781
- **Overrides**: [<code>setMeta</code>](#user-content-cb_CheckoutButton+setMeta)
782
-
783
- | Param | Type | Description |
784
- | --- | --- | --- |
785
- | meta | [<code>IPayPalMeta</code>](#user-content-cb_IPayPalMeta) \| [<code>IAfterpayMeta</code>](#user-content-cb_IAfterpayMeta) \| [<code>IZipmoneyMeta</code>](#user-content-cb_IZipmoneyMeta) | Data which can be shown on checkout page [IPayPalMeta](#user-content-cb_IPayPalMeta) [IZipmoneyMeta](#user-content-cb_IZipmoneyMeta) [IAfterpayMeta](#user-content-cb_IAfterpayMeta) |
786
-
787
- **Example**
788
-
789
- ```javascript
790
- button.setMeta({
791
- brand_name: 'paydock',
792
- reference: '15',
793
- email: 'wault@paydock.com'
794
- });
795
- ```
796
- <a name="cb_CheckoutButton+setBackdropDescription" id="cb_CheckoutButton+setBackdropDescription" href="#user-content-cb_CheckoutButton+setBackdropDescription">&nbsp;</a>
797
-
798
- ### afterpayCheckoutButton.setBackdropDescription(text)
799
- Method for setting backdrop description.
800
- Only for 'contextual' mode.
801
-
802
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
803
- **Overrides**: [<code>setBackdropDescription</code>](#user-content-cb_CheckoutButton+setBackdropDescription)
804
-
805
- | Param | Type | Description |
806
- | --- | --- | --- |
807
- | text | <code>string</code> | description which can be shown in overlay of back side checkout page |
808
-
809
- **Example**
810
-
811
- ```javascript
812
- button.setBackdropDescription('Custom description');
813
- ```
814
- <a name="cb_CheckoutButton+setBackdropTitle" id="cb_CheckoutButton+setBackdropTitle" href="#user-content-cb_CheckoutButton+setBackdropTitle">&nbsp;</a>
815
-
816
- ### afterpayCheckoutButton.setBackdropTitle(string)
817
- Method for setting backdrop title.
818
- Only for 'contextual' mode.
819
-
820
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
821
- **Overrides**: [<code>setBackdropTitle</code>](#user-content-cb_CheckoutButton+setBackdropTitle)
822
-
823
- | Param | Type | Description |
824
- | --- | --- | --- |
825
- | string | <code>text</code> | title which can be shown in overlay of back side checkout page |
826
-
827
- **Example**
828
-
829
- ```javascript
830
- button.setBackdropTitle('Custom title');
831
- ```
832
- <a name="cb_CheckoutButton+setSuspendedRedirectUri" id="cb_CheckoutButton+setSuspendedRedirectUri" href="#user-content-cb_CheckoutButton+setSuspendedRedirectUri">&nbsp;</a>
833
-
834
- ### afterpayCheckoutButton.setSuspendedRedirectUri(string)
835
- Method for setting suspended redirect uri. Redirect after referred checkout.
836
- Only for 'contextual' mode.
837
-
838
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
839
- **Overrides**: [<code>setSuspendedRedirectUri</code>](#user-content-cb_CheckoutButton+setSuspendedRedirectUri)
840
-
841
- | Param | Type | Description |
842
- | --- | --- | --- |
843
- | string | <code>uri</code> | uri for redirect (by default) |
844
-
845
- <a name="cb_CheckoutButton+setRedirectUrl" id="cb_CheckoutButton+setRedirectUrl" href="#user-content-cb_CheckoutButton+setRedirectUrl">&nbsp;</a>
846
-
847
- ### afterpayCheckoutButton.setRedirectUrl(string)
848
- Method for setting the merchant redirect URL.
849
- Merchant's customers redirect after successfull checkout.
850
- Only for 'redirect' mode.
851
-
852
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
853
- **Overrides**: [<code>setRedirectUrl</code>](#user-content-cb_CheckoutButton+setRedirectUrl)
854
-
855
- | Param | Type | Description |
856
- | --- | --- | --- |
857
- | string | <code>url</code> | redirect url |
858
-
859
- <a name="cb_CheckoutButton+turnOffBackdrop" id="cb_CheckoutButton+turnOffBackdrop" href="#user-content-cb_CheckoutButton+turnOffBackdrop">&nbsp;</a>
860
-
861
- ### afterpayCheckoutButton.turnOffBackdrop()
862
- Method for disable backdrop on the page.
863
- Only for 'contextual' mode.
864
-
865
- **Kind**: instance method of [<code>AfterpayCheckoutButton</code>](#user-content-cb_AfterpayCheckoutButton)
866
- **Overrides**: [<code>turnOffBackdrop</code>](#user-content-cb_CheckoutButton+turnOffBackdrop)
867
- **Example**
868
-
869
499
  ```javascript
870
500
  button.turnOffBackdrop();
871
501
  ```