pub struct Balance {
pub available: Vec<BalanceAmount>,
pub connect_reserved: Option<Vec<BalanceAmount>>,
pub instant_available: Option<Vec<BalanceAmountNet>>,
pub issuing: Option<BalanceDetail>,
pub livemode: bool,
pub pending: Vec<BalanceAmount>,
}
Expand description
The resource representing a Stripe “Balance”.
For more details see https://stripe.com/docs/api/balance/balance_object
Fields§
§available: Vec<BalanceAmount>
Available funds that you can transfer or pay out automatically by Stripe or explicitly through the Transfers API or Payouts API.
You can find the available balance for each currency and payment type in the source_types
property.
connect_reserved: Option<Vec<BalanceAmount>>
Funds held due to negative balances on connected Custom accounts.
You can find the connect reserve balance for each currency and payment type in the source_types
property.
instant_available: Option<Vec<BalanceAmountNet>>
Funds that you can pay out using Instant Payouts.
issuing: Option<BalanceDetail>
§livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
pending: Vec<BalanceAmount>
Funds that aren’t available in the balance yet.
You can find the pending balance for each currency and each payment type in the source_types
property.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Balance
impl<'de> Deserialize<'de> for Balance
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for Balance
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnwindSafe for Balance
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)