⚠️
This method is deprecated. Use getPaymentMethodResources instead.
Call this method to retrieve assets for all the payment methods available on the current client session.
1234567
@Deprecated( message = "This method is deprecated.", replaceWith = ReplaceWith("getPaymentMethodResources(context)"))@Throws(SdkUninitializedException::class)@JvmStaticfun getPaymentMethodAssets(context: Context): List<PrimerPaymentMethodAsset>
kotlin
copy
Parameters
Returns
paymentMethodType
StringRequiredA unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
paymentMethodName
StringRequiredpaymentMethodLogo
PrimerPaymentMethodLogoRequiredpaymentMethodBackgroundColor
PrimerPaymentMethodBackgroundColorRequiredThrows
An exception that will be thrown in case the SDK was not initialized properly. Before calling any of the manager's method, the SDK must be initialized using start method.