paymentMethodType
.
KOTLIN
Copy
Ask AI
@Throws(SdkUninitializedException::class)
@JvmStatic
fun getPaymentMethodResource(
context: Context,
paymentMethodType: String
): PrimerPaymentMethodResource
Parameters
Hide Parameters
Hide Parameters
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
Returns
Hide PrimerPaymentMethodResource
Hide PrimerPaymentMethodResource
PrimerPaymentMethodAsset
Show Properties
Show Properties
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
A user friendly English localized string identifier for the payment method.
PrimerPaymentMethodNativeView
Show Properties
Show Properties
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
A user friendly English localized string identifier for the payment method.
A function to create a native view.