PinData

sealed class PinData

Parameters that are required to generate, translate, or verify PIN data.

Inheritors

Types

Link copied to clipboard
data class PinOffset(val value: String) : PinData

The PIN offset value.

Link copied to clipboard
Link copied to clipboard
data class VerificationValue(val value: String) : PinData

The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account Number (PAN). If a value is not provided, it defaults to PAN.

Functions

Link copied to clipboard

Casts this PinData as a PinOffset and retrieves its kotlin.String value. Throws an exception if the PinData is not a PinOffset.

Link copied to clipboard

Casts this PinData as a PinOffset and retrieves its kotlin.String value. Returns null if the PinData is not a PinOffset.

Link copied to clipboard

Casts this PinData as a VerificationValue and retrieves its kotlin.String value. Throws an exception if the PinData is not a VerificationValue.

Link copied to clipboard

Casts this PinData as a VerificationValue and retrieves its kotlin.String value. Returns null if the PinData is not a VerificationValue.