Package com.adyen.checkout.core
Object CardBrand.Companion
-
- All Implemented Interfaces:
public class CardBrand.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static CardBrand.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final List<CardBrand>estimate(String cardNumber)Estimate all potential CardBrands for a given card number. -
-
Method Detail
-
estimate
final List<CardBrand> estimate(String cardNumber)
Estimate all potential CardBrands for a given card number.
- Parameters:
cardNumber- The potential card number.- Returns:
All matching CardBrands if the number was valid, otherwise an empty List.
-
-
-
-