Set the PrimerHeadlessUniversalCheckoutListener in order to receive different callbacks from Primer SDK.

123
fun setCheckoutListener(  listener: PrimerHeadlessUniversalCheckoutListener)
kotlin
copy

Parameters

listener
PrimerHeadlessUniversalCheckoutListenerRequired

Set Primer SDK's Headless Checkout Listener and implement the required methods.