Struct stripe::generated::terminal::terminal_reader::TerminalReader
source · pub struct TerminalReader {
pub id: TerminalReaderId,
pub action: Option<TerminalReaderReaderResourceReaderAction>,
pub deleted: bool,
pub device_sw_version: Option<String>,
pub device_type: Option<TerminalReaderDeviceType>,
pub ip_address: Option<String>,
pub label: Option<String>,
pub livemode: Option<bool>,
pub location: Option<Expandable<TerminalLocation>>,
pub metadata: Metadata,
pub serial_number: Option<String>,
pub status: Option<String>,
}Expand description
The resource representing a Stripe “TerminalReaderReader”.
For more details see https://stripe.com/docs/api/terminal/readers/object
Fields§
§id: TerminalReaderIdUnique identifier for the object.
action: Option<TerminalReaderReaderResourceReaderAction>The most recent action performed by the reader.
deleted: bool§device_sw_version: Option<String>The current software version of the reader.
device_type: Option<TerminalReaderDeviceType>Type of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, or simulated_wisepos_e.
ip_address: Option<String>The local IP address of the reader.
label: Option<String>Custom label given to the reader for easier identification.
livemode: Option<bool>Has the value true if the object exists in live mode or the value false if the object exists in test mode.
location: Option<Expandable<TerminalLocation>>The location identifier of the reader.
metadata: MetadataSet 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.
serial_number: Option<String>Serial 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