[][src]Struct libstripe::resources::core::balance::BalanceTransaction

pub struct BalanceTransaction {
    pub id: String,
    pub object: Object,
    pub amount: i64,
    pub available_on: i64,
    pub created: i64,
    pub currency: Currency,
    pub description: Option<String>,
    pub exchange_rate: Option<f64>,
    pub fee: i64,
    pub fee_details: Vec<FeeDetails>,
    pub net: i64,
    pub source: Expandable<Source>,
    pub status: BalanceStatus,
    pub balance_type: BalanceType,
}

Fields

id: Stringobject: Objectamount: i64available_on: i64created: i64currency: Currencydescription: Option<String>exchange_rate: Option<f64>fee: i64fee_details: Vec<FeeDetails>net: i64source: Expandable<Source>status: BalanceStatusbalance_type: BalanceType

Methods

impl BalanceTransaction[src]

pub fn retrieve_transaction(client: &Client, txn: &str) -> Result<Self>[src]

pub fn list<B: Serialize>(client: &Client, param: B) -> Result<List<Self>>[src]

Trait Implementations

impl PartialEq<BalanceTransaction> for BalanceTransaction[src]

impl Debug for BalanceTransaction[src]

impl Serialize for BalanceTransaction[src]

impl<'de> Deserialize<'de> for BalanceTransaction[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err