CardBrand

constructor(regex: String, cardBrandName: String, drawableResId: Int = 0, params: BrandParams = BrandParams())

Parameters

regex
  • The regex rules for detection card brand.

cardBrandName
  • The name of current card brand. This name may be visible for users.

drawableResId
  • The drawable resource represents credit card logo.

params
  • The set of parameters for card brand creation.