ConnectionConfiguration class contains configuration information for connecting to a reader.
DiscoveryConfiguration contains configuration information relevant to the reader discovery process.
PaymentIntent represents your intent to collect payment from a customer, tracking the lifecycle of the payment process through each step. Each
PaymentIntent typically correlates with a single “cart” or customer session in your application.
@ JsonClass ( generateAdapter = true ) class Reader @ JvmOverloads constructor ( val deviceType : DeviceType = DeviceType.UNKNOWN , locationRaw @ Json ( name = "location" ) : ExpandableLocation ? = null , var locationStatus : LocationStatus = UNKNOWN , id : String ? = null , readerInfo : ReaderInfo ? = null , val isSimulated : Boolean = false , @ Json ( name = "status" ) val networkStatus : Reader.NetworkStatus ? = null , rawSerialNumber @ Json ( name = "serialNumber" ) : String ? = null , val label : String ? = null , deviceSwVersion : String ? = null , val baseUrl : String ? = null , val ipAddress : String ? = null , val livemode : Boolean ? = null , val bluetoothDevice : BluetoothDevice ? = null , val usbDevice : UsbDevice ? = null , location : Location ? = null )
Reader is a representation of a physical reader device.
SetupIntent guides you through the process of setting up a customer's payment credentials for future payments.
SimulatedCard contains all information necessary to simulate the experience of paying with specific card brands / error conditions.
A configuration object that can be set on the main Terminal class. It's setting will dictate the behavior you see on your next connection to a simulated reader.
TerminalException represents an error thrown during SDK operations and will contain a
TerminalErrorCode and an
errorMessage to provide more specific details.