Android SDK
- Installation
- Primer
- PrimerHeadlessUniversalCheckout
- Methods
- Listeners
- Assets Managers
- Native UI manager
- Raw Data manager
- Raw Data Manager Listener
- NOL Pay manager
- Component With Redirect manager
- Klarna Headless manager
- ACH Headless manager
- Vault manager
- Logging
- Common objects
getPaymentMethodResources
Call this method to retrieve resources for all the payment methods available on the current client session.
KOTLIN
Copy
Ask AI
@Throws(SdkUninitializedException::class)
@JvmStatic
fun getPaymentMethodResources(context: Context): List<PrimerPaymentMethodResource>
Parameters
Returns
Hide Returns
Hide Returns
List<PrimerPaymentMethodResource>
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.
Throws
On this page
Assistant
Responses are generated using AI and may contain mistakes.