square_api_client/models/
ach_details.rs

1//! Model struct for AchDetails type.
2
3use serde::{Deserialize, Serialize};
4
5use super::enums::AchDetailsAccountType;
6
7/// ACH-specific details about `BANK_ACCOUNT` type payments with the `transfer_type` of `ACH`.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
9pub struct AchDetails {
10    /// The routing number for the bank account.
11    pub routing_number: Option<String>,
12    /// The last few digits of the bank account number.
13    pub account_number_suffix: Option<String>,
14    /// The type of the bank account performing the transfer.
15    pub account_type: Option<AchDetailsAccountType>,
16}