stripe/model/
treasury_transactions_resource_balance_impact.rs

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