CardNumberRedactionSettings

data class CardNumberRedactionSettings(val mode: RedactionMode = RedactionMode.FullResult, val prefixDigitsVisible: UByte, val suffixDigitsVisible: UByte) : Parcelable

Holds the settings which control card number redaction.

Constructors

Link copied to clipboard
constructor(mode: RedactionMode = RedactionMode.FullResult, prefixDigitsVisible: UByte, suffixDigitsVisible: UByte)

Properties

Link copied to clipboard

Defines the mode of card number redaction. Defaults to RedactionMode.FullResult.

Link copied to clipboard

Defines how many digits at the beginning of the card number remain visible after redaction. Defaults to 4.

Link copied to clipboard

Defines how many digits at the end of the card number remain visible after redaction. Defaults to 4.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)