StaticCardAccountRanges

interface StaticCardAccountRanges

Functions

Link copied to clipboard
abstract fun filter(cardNumber: CardNumber.Unvalidated): List<AccountRange>

Return all AccountRanges that contain the given cardNumber.

Link copied to clipboard
abstract fun first(cardNumber: CardNumber.Unvalidated): AccountRange?

Return the first AccountRange that contains the given cardNumber, or null.

Inheritors

Link copied to clipboard