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