fromCode

fun fromCode(code: String?): CardBrand

Parameters

code

a brand code, such as Visa or American Express. See PaymentMethod.Card.brand.