Call this method to retrieve the asset for a specific payment method, if available on the current client session.

1
static func getPaymentMethodAsset(for paymentMethodType: String) throws -> PrimerPaymentMethodAsset?
swift
copy

Parameters

Properties

paymentMethodTypeStringRequired

Returns

PrimerPaymentMethodAsset

paymentMethodTypeStringRequired

paymentMethodNameStringRequired

paymentMethodBackgroundColorUIColorRequired