KOTLIN
newInstance
The native UI manager is responsible for payment methods that need to present their own UI (e.g. Google Pay).
This method enables you to create a Native UI manager instance.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
@Throws(SdkUninitializedException::class, UnsupportedPaymentMethodException::class)
@JvmStatic
fun newInstance(
paymentMethodType: String
): PrimerHeadlessUniversalCheckoutNativeUiManagerInterface
Hide Parameters
Hide Exceptions
paymentMethodType - PrimerHeadlessMainComponent combination.
Supported payment methods for current client session are returned
in onAvailablePaymentMethodsLoaded callback. See Supported types for the supported combinations.