Struct stripe::generated::terminal::terminal_reader::TerminalReaderReaderResourceReaderAction
source · pub struct TerminalReaderReaderResourceReaderAction {
pub failure_code: Option<String>,
pub failure_message: Option<String>,
pub process_payment_intent: Option<TerminalReaderReaderResourceProcessPaymentIntentAction>,
pub process_setup_intent: Option<TerminalReaderReaderResourceProcessSetupIntentAction>,
pub refund_payment: Option<TerminalReaderReaderResourceRefundPaymentAction>,
pub set_reader_display: Option<TerminalReaderReaderResourceSetReaderDisplayAction>,
pub status: TerminalReaderReaderResourceReaderActionStatus,
pub type_: TerminalReaderReaderResourceReaderActionType,
}Fields§
§failure_code: Option<String>Failure code, only set if status is failed.
failure_message: Option<String>Detailed failure message, only set if status is failed.
process_payment_intent: Option<TerminalReaderReaderResourceProcessPaymentIntentAction>§process_setup_intent: Option<TerminalReaderReaderResourceProcessSetupIntentAction>§refund_payment: Option<TerminalReaderReaderResourceRefundPaymentAction>§set_reader_display: Option<TerminalReaderReaderResourceSetReaderDisplayAction>§status: TerminalReaderReaderResourceReaderActionStatusStatus of the action performed by the reader.
type_: TerminalReaderReaderResourceReaderActionTypeType of action performed by the reader.
Trait Implementations§
source§impl Clone for TerminalReaderReaderResourceReaderAction
impl Clone for TerminalReaderReaderResourceReaderAction
source§fn clone(&self) -> TerminalReaderReaderResourceReaderAction
fn clone(&self) -> TerminalReaderReaderResourceReaderAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for TerminalReaderReaderResourceReaderAction
impl Default for TerminalReaderReaderResourceReaderAction
source§fn default() -> TerminalReaderReaderResourceReaderAction
fn default() -> TerminalReaderReaderResourceReaderAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TerminalReaderReaderResourceReaderAction
impl<'de> Deserialize<'de> for TerminalReaderReaderResourceReaderAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more