stripe2 32.0.0

Stripe client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Serialize, Deserialize};
///Balance information for the FinancialAccount
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct TreasuryFinancialAccountsResourceBalance {
    ///Funds the user can spend right now.
    pub cash: serde_json::Value,
    ///Funds not spendable yet, but will become available at a later time.
    pub inbound_pending: serde_json::Value,
    ///Funds in the account, but not spendable because they are being held for pending outbound flows.
    pub outbound_pending: serde_json::Value,
}
impl std::fmt::Display for TreasuryFinancialAccountsResourceBalance {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
        write!(f, "{}", serde_json::to_string(self).unwrap())
    }
}