Call this method to retrieve assets for all the payment methods available on the current client session.
1
static func getPaymentMethodAssets() throws -> [PrimerPaymentMethodAsset]
swift
copy
Returns
Array<PrimerPaymentMethodAsset>
paymentMethodType
StringRequiredpaymentMethodName
StringRequiredpaymentMethodLogo
StringRequiredpaymentMethodBackgroundColor
UIColorRequiredThrows
An error that will be thrown in case the SDK was not initialized properly. Before calling this method, the SDK must be initialized.