Use this method to present the payment method user interface (UI) to the user.
@Throws(UnsupportedPaymentIntentException::class) fun showPaymentMethod(context: Context, sessionIntent: PrimerSessionIntent)
Hide Parameters
Android Context of your Activity or Fragment.
Activity
Fragment
Set the preferred session intent when showing paymentMethodType.
Hide Exceptions
An exception that will be thrown in case method of the manager has been called using unsupported sessionIntent. Supported payment session intents for given payment method are returned in onAvailablePaymentMethodsLoaded callback.
sessionIntent