CreditCardScannerScreenTextLocalization

data class CreditCardScannerScreenTextLocalization(var topBarTitle: String = "Credit Card Scanner", var topBarCancelButton: String = "Cancel", var topUserGuidance: String = "Scan the credit card", var introScreenTitle: String = "How to scan a credit card", var introScreenDoneButton: String = "Start Scanning", var introScreenText: String = "To quickly and securely input your credit card details, please hold your device over the credit card, so that the camera aligns with the numbers on the front of the card. ", var completionOverlaySuccessMessage: String = "Scanned successfully", var completionOverlayIncompleteDataMessage: String = "Incomplete scan", var accessibilityDescriptionOpenIntroScreenButton: String = "Open introduction screen.", var accessibilityDescriptionIntroScreenDoneButton: String = "Start scanning", var accessibilityDescriptionCancelButton: String = "Cancel", var accessibilityDescriptionFlashButton: String = "Toggle flash", var accessibilityDescriptionZoomButton: String = "Toggle camera zoom", var accessibilityDescriptionFlipCameraButton: String = "Flip camera", var creditCardUserGuidanceNoCardFound: String = "Looking for credit card...", var creditCardUserGuidanceScanningProgress: String = "Scanning the credit card...", var creditCardUserGuidanceTooDark: String = "Too dark. Please turn on a light.", var creditCardUserGuidanceTooSmall: String = "Please move closer to the credit card.", var creditCardUserGuidanceBadPerspective: String = "Please hold your device straight over the credit card.", var cameraPermissionEnableCameraTitle: String = "Camera permission denied!", var cameraPermissionEnableCameraExplanation: String = "Please allow the usage of the camera to start the scanning process.", var cameraPermissionEnableCameraButton: String = "Grant permission", var cameraPermissionCloseButton: String = "Close", var accessibilityDescriptionCameraPermissionEnableCameraButton: String = "Tap to grant camera permission", var accessibilityDescriptionCameraPermissionCloseButton: String = "Close screen without granting permission") : Parcelable

Configuration of the all strings for credit card scanner screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(topBarTitle: String = "Credit Card Scanner", topBarCancelButton: String = "Cancel", topUserGuidance: String = "Scan the credit card", introScreenTitle: String = "How to scan a credit card", introScreenDoneButton: String = "Start Scanning", introScreenText: String = "To quickly and securely input your credit card details, please hold your device over the credit card, so that the camera aligns with the numbers on the front of the card. ", completionOverlaySuccessMessage: String = "Scanned successfully", completionOverlayIncompleteDataMessage: String = "Incomplete scan", accessibilityDescriptionOpenIntroScreenButton: String = "Open introduction screen.", accessibilityDescriptionIntroScreenDoneButton: String = "Start scanning", accessibilityDescriptionCancelButton: String = "Cancel", accessibilityDescriptionFlashButton: String = "Toggle flash", accessibilityDescriptionZoomButton: String = "Toggle camera zoom", accessibilityDescriptionFlipCameraButton: String = "Flip camera", creditCardUserGuidanceNoCardFound: String = "Looking for credit card...", creditCardUserGuidanceScanningProgress: String = "Scanning the credit card...", creditCardUserGuidanceTooDark: String = "Too dark. Please turn on a light.", creditCardUserGuidanceTooSmall: String = "Please move closer to the credit card.", creditCardUserGuidanceBadPerspective: String = "Please hold your device straight over the credit card.", cameraPermissionEnableCameraTitle: String = "Camera permission denied!", cameraPermissionEnableCameraExplanation: String = "Please allow the usage of the camera to start the scanning process.", cameraPermissionEnableCameraButton: String = "Grant permission", cameraPermissionCloseButton: String = "Close", accessibilityDescriptionCameraPermissionEnableCameraButton: String = "Tap to grant camera permission", accessibilityDescriptionCameraPermissionCloseButton: String = "Close screen without granting permission")

Types

Link copied to clipboard
object Companion

Properties

The accessibility hint for the 'close' button of the camera permission dialog.

The accessibility hint for the 'enable' button of the camera permission dialog.

Link copied to clipboard

Accessibility description for the 'cancel' button in the top bar.

Link copied to clipboard

Accessibility description for the flash button.

Link copied to clipboard

Accessibility description for the flip camera button.

Accessibility description for the 'done'/'start scanning' button in the introduction screen.

Accessibility description for the 'open introduction screen' button in top bar.

Link copied to clipboard

Accessibility description for the zoom button.

Link copied to clipboard

The 'close' button title of the camera permission dialog.

Link copied to clipboard

The 'enable' button title of the camera permission dialog.

Link copied to clipboard

The explanation text of the camera permission dialog.

Link copied to clipboard

The title of the camera permission dialog.

Link copied to clipboard

Caption for the success overlay when not all data from the card was scanned.

Link copied to clipboard

Caption for the success overlay.

Link copied to clipboard

The user guidance text displayed when the detected card is not in a good perspective (device tilted).

Link copied to clipboard

The user guidance text displayed when no credit card is found.

Link copied to clipboard

The user guidance text displayed when a card presence was detected.

Link copied to clipboard

The user guidance text displayed when it is too dark to capture an adequate image.

Link copied to clipboard

The user guidance text displayed when the detected card is too far away and appears too small.

Link copied to clipboard

Start scanning button text for the introduction screen.

Link copied to clipboard

The text explanation of the introduction screen.

Link copied to clipboard

Title for the introduction screen.

Link copied to clipboard

Cancel button text for the top bar.

Link copied to clipboard

Title for the top bar.

Link copied to clipboard

Text for the top user guidance caption.

Functions

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