Call this method to retrieve resources for a givenDocumentation Index
Fetch the complete documentation index at: https://primer.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
paymentMethodType.
KOTLIN
@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.