CreditCardScanGuidanceConfiguration

data class CreditCardScanGuidanceConfiguration(var visibility: Boolean = true, var title: StyledText = StyledText( text = "?creditCardUserGuidanceNoCardFound", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var background: BackgroundStyle = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("?sbColorSurfaceLow", isArgb = false) ), var statesTitles: CreditCardScannerGuidanceStates = CreditCardScannerGuidanceStates( )) : Parcelable

Configuration of the hints guiding users through the credit card scanning process.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(visibility: Boolean = true, title: StyledText = StyledText( text = "?creditCardUserGuidanceNoCardFound", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), background: BackgroundStyle = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("?sbColorSurfaceLow", isArgb = false) ), statesTitles: CreditCardScannerGuidanceStates = CreditCardScannerGuidanceStates( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configure the background style for the user guidance hints.

Link copied to clipboard

Configure the captions of the user guidance hints for different states.

Link copied to clipboard

Configure the text style for the user guidance hints.

Link copied to clipboard

Determines whether the user guidance hints should be visible (enabled).

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject