io.paymenthighway.sdk / CardBrand / fromCardNumber

fromCardNumber

fun fromCardNumber(cardNumber: String): CardBrand?

Recognize the card brand of a credit card number

Parameters

cardNumber - The card number string

Return
the CardBrand otherwise null if no card brand match