square_api_client/models/
card_payment_timeline.rs

1//! Model struct for CardPaymentTimeline type.
2
3use serde::{Deserialize, Serialize};
4
5use super::DateTime;
6
7/// The timeline for card payments.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
9pub struct CardPaymentTimeline {
10    /// The timestamp when the payment was authorized.
11    pub authorized_at: Option<DateTime>,
12    /// The timestamp when the payment was captured.
13    pub captured_at: Option<DateTime>,
14    /// The timestamp when the payment was voided.
15    pub voided_at: Option<DateTime>,
16}