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
//! Model struct for TenderBankAccountDetails type

use crate::models::enums::TenderBankAccountDetailsStatus;
use serde::{Deserialize, Serialize};

/// Represents the details of a tender with type BANK_ACCOUNT.
///
/// See BankAccountPaymentDetails
/// for more exposed details of a bank account payment.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct TenderBankAccountDetails {
    /// The bank account payment's current state.
    pub status: Option<TenderBankAccountDetailsStatus>,
}