# Model

enum Model : Enum<ReaderInfo.Model>

The model of reader.

## Entries

MAGSTRIPE
Link copied to clipboard
MAGSTRIPE

Square Reader for magstripe.

CONTACTLESS_AND_CHIP
Link copied to clipboard
CONTACTLESS_AND_CHIP

Square Reader for contactless and chip.

TAP_TO_PAY
Link copied to clipboard
TAP_TO_PAY

Square Embedded Reader for contactless This Reader model is currently unavailable.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<ReaderInfo.Model>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): ReaderInfo.Model

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<ReaderInfo.Model>

Returns an array containing the constants of this enum type, in the order they're declared.