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
StringRequired
paymentMethodName
StringRequired

Throws

An error that will be thrown in case the SDK was not initialized properly. Before calling this method, the SDK must be initialized.