CardUtils
object CardUtils
Functions
Link copied to clipboard
Link copied to clipboard
Get all possible card brands of the card number
Link copied to clipboard
Get space position by spacing pattern of the card brand e.g. spacing pattern 4-4-4-4 is correlated to space position 4-9-14
Link copied to clipboard
Check if card length is valid
Link copied to clipboard
Check if card number is valid
Link copied to clipboard
Check if number is a valid luhn number
Link copied to clipboard
Remove all spaces and hyphens of the card number