This method is deprecated.
Use getPaymentMethodResource instead.
paymentMethodType
.
KOTLIN
Copy
Ask AI
@Deprecated(
message = "This method is deprecated.",
replaceWith = ReplaceWith("getPaymentMethodResource(context, paymentMethodType)")
)
@Throws(SdkUninitializedException::class)
@JvmStatic
fun getPaymentMethodAsset(
context: Context,
paymentMethodType: String
): PrimerPaymentMethodAsset
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 Returns
Hide Returns
PrimerPaymentMethodAsset
Hide Properties
Hide 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.