Class CreditCardScanGuidanceConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CreditCardScanGuidanceConfiguration implements Parcelable
Configuration of the hints guiding users through the credit card scanning process.
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanvisibilityprivate StyledTexttitleprivate BackgroundStylebackgroundprivate CreditCardScannerGuidanceStatesstatesTitles
-
Constructor Summary
Constructors Constructor Description CreditCardScanGuidanceConfiguration(Map<String, Object> source)CreditCardScanGuidanceConfiguration(JSONObject json)CreditCardScanGuidanceConfiguration(Boolean visibility, StyledText title, BackgroundStyle background, CreditCardScannerGuidanceStates statesTitles)
-
Method Summary
Modifier and Type Method Description final BooleangetVisibility()Determines whether the user guidance hints should be visible (enabled). final UnitsetVisibility(Boolean visibility)Determines whether the user guidance hints should be visible (enabled). final StyledTextgetTitle()Configure the text style for the user guidance hints. final UnitsetTitle(StyledText title)Configure the text style for the user guidance hints. final BackgroundStylegetBackground()Configure the background style for the user guidance hints. final UnitsetBackground(BackgroundStyle background)Configure the background style for the user guidance hints. final CreditCardScannerGuidanceStatesgetStatesTitles()Configure the captions of the user guidance hints for different states. final UnitsetStatesTitles(CreditCardScannerGuidanceStates statesTitles)Configure the captions of the user guidance hints for different states. final JSONObjecttoJson(ToJsonConfiguration config)final CreditCardScanGuidanceConfigurationclone()final static CreditCardScanGuidanceConfigurationdefault()-
-
Constructor Detail
-
CreditCardScanGuidanceConfiguration
CreditCardScanGuidanceConfiguration(JSONObject json)
-
CreditCardScanGuidanceConfiguration
CreditCardScanGuidanceConfiguration(Boolean visibility, StyledText title, BackgroundStyle background, CreditCardScannerGuidanceStates statesTitles)
-
-
Method Detail
-
getVisibility
final Boolean getVisibility()
Determines whether the user guidance hints should be visible (enabled).
Default is true
-
setVisibility
final Unit setVisibility(Boolean visibility)
Determines whether the user guidance hints should be visible (enabled).
Default is true
-
getTitle
final StyledText getTitle()
Configure the text style for the user guidance hints.
-
setTitle
final Unit setTitle(StyledText title)
Configure the text style for the user guidance hints.
-
getBackground
final BackgroundStyle getBackground()
Configure the background style for the user guidance hints.
-
setBackground
final Unit setBackground(BackgroundStyle background)
Configure the background style for the user guidance hints.
-
getStatesTitles
final CreditCardScannerGuidanceStates getStatesTitles()
Configure the captions of the user guidance hints for different states.
-
setStatesTitles
final Unit setStatesTitles(CreditCardScannerGuidanceStates statesTitles)
Configure the captions of the user guidance hints for different states.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final CreditCardScanGuidanceConfiguration clone()
-
default
final static CreditCardScanGuidanceConfiguration default()
-
-
-
-