PrimerHeadlessUniversalCheckout
- **
fun** setCheckoutListener(listener: PrimerHeadlessUniversalCheckoutListener)
- **
fun** setCheckoutUiListener(listener:``PrimerHeadlessUniversalCheckoutUiListener)
- **
fun** start(context:clientToken:settings:checkoutListener:uiListener)
- **
fun** cleanup()
PrimerHeadlessUniversalCheckoutListener
fun
onAvailablePaymentMethodsLoaded(_:)
fun
onCheckoutCompleted(_:)
fun
onTokenizationStarted(:)
(optional)
fun
onTokenizeSuccess(_:decisionHandler:)
(optional)
fun
onResumeSuccess(_:decisionHandler:)
(optional)
fun
onResumePending(_:)
(optional)
fun
onAdditionalInfoReceived(_:)
(optional)
fun
onBeforeClientSessionUpdated()
(optional)
fun
onClientSessionUpdated(_:)
(optional)
fun
onBeforePaymentCreated(_:``createPaymentHandler:)
(optional)
fun
onFailed(error:)
(optional)
PrimerHeadlessUniversalCheckoutUiListener
fun
onPreparationStarted(:)
(optional)
fun
onPaymentMethodShowed(:)
(optional)