getPossibleCardBrand

fun getPossibleCardBrand(cardNumber: String?): CardBrand

Return

the CardBrand that matches the card number based on prefixes, or CardBrand.Unknown if it can't be determined

Parameters

cardNumber

a full or partial card number