TerminalReader class final

TerminalReaderReader

A Reader represents a physical device for accepting payment details. Related guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader)

Implemented types

Constructors

TerminalReader({TerminalReaderAction? action, String? deviceSwVersion, required TerminalReaderDeviceType deviceType, required String id, String? ipAddress, required String label, required bool livemode, TerminalLocationOrId? location, required Map<String, String> metadata, required String serialNumber, TerminalReaderStatus? status})
TerminalReaderReader
const
TerminalReader.fromJson(Object? json)
factory

Properties

action TerminalReaderAction?
The most recent action performed by the reader.
final
deviceSwVersion String?
final
deviceType TerminalReaderDeviceType
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
ipAddress String?
final
label String
final
livemode bool
final
location TerminalLocationOrId?
final
metadata Map<String, String>
final
object String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String
final
status TerminalReaderStatus?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(TerminalReader instance, Encoder<V> encoder) → V
override