pub struct TerminalReader {
pub action: Option<Value>,
pub device_sw_version: Option<String>,
pub device_type: String,
pub id: String,
pub ip_address: Option<String>,
pub label: String,
pub livemode: bool,
pub location: Option<Value>,
pub metadata: Value,
pub object: String,
pub serial_number: String,
pub status: Option<String>,
}Expand description
A Reader represents a physical device for accepting payment details.
Related guide: Connecting to a reader
Fields§
§action: Option<Value>The most recent action performed by the reader.
device_sw_version: Option<String>The current software version of the reader.
device_type: StringType of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, or simulated_wisepos_e.
id: StringUnique identifier for the object.
ip_address: Option<String>The local IP address of the reader.
label: StringCustom label given to the reader for easier identification.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
location: Option<Value>The location identifier of the reader.
metadata: ValueSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
object: StringString representing the object’s type. Objects of the same type share the same value.
serial_number: StringSerial number of the reader.
status: Option<String>The networking status of the reader.
Trait Implementations§
Source§impl Clone for TerminalReader
impl Clone for TerminalReader
Source§fn clone(&self) -> TerminalReader
fn clone(&self) -> TerminalReader
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more