Home

Sections

Theme switcher

Set Card Reader Mode

Was this section helpful?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 /** * Class containing constants for reader types. * These constants represent the type of card readers used in transactions. */ class ReaderType private constructor() { companion object { const val SWIPE = 1 // Magnetic stripe only const val INSERT = 2 // Chip (EMV) only const val SWIPE_INSERT = 3 // Swipe or Insert const val CLESS = 4 // Contactless (Tap) only const val CLESS_SWIPE = 5 // Contactless + Swipe const val INSERT_CLESS = 6 // Insert + Contactless const val INSERT_CLESS_SWIPE = 7 // All methods allowed } }
Was this section helpful?