Card Brand
data class CardBrand(val regex: String, val cardBrandName: String, val drawableResId: Int = 0, val params: BrandParams = BrandParams())
The data class definition for represent custom card brand. It may be useful to add new brands in addition to already defined brands or override existing ones.
Parameters
regex
The regex rules for detection card brand.
card Brand Name
The name of current card brand. This name may be visible for users.
drawable Res Id
The drawable resource represents credit card logo.
params
The set of parameters for card brand creation.
Constructors
Link copied to clipboard
constructor(regex: String, cardBrandName: String, drawableResId: Int = 0, params: BrandParams = BrandParams())