paymentMethodType.
KOTLIN
@Throws(SdkUninitializedException::class)
@JvmStatic
fun getPaymentMethodResource(
context: Context,
paymentMethodType: String
): PrimerPaymentMethodResource
Parameters
Hide Parameters
Hide Parameters
String
required
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
Show Properties
Show Properties
String
required
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
String
required
A user friendly English localized string identifier for the payment method.
PrimerPaymentMethodLogo
required
Show Properties
Show Properties
String
required
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
String
required
A user friendly English localized string identifier for the payment method.
createView: (Context) -> View
required
A function to create a native view.