squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Model for TenderCardDetailsStatus enum

use serde::{Deserialize, Serialize};

/// Indicates the card transaction's current status.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum TenderCardDetailsStatus {
    /// The card transaction has been authorized but not yet captured.
    Authorized,
    /// The card transaction was authorized and subsequently captured (i.e., completed).
    Captured,
    /// The card transaction was authorized and subsequently voided (i.e., canceled).
    Voided,
    /// The card transaction failed.
    Failed,
}