[][src]Struct libstripe::resources::connect::applicationfees::ApplicationFees

pub struct ApplicationFees {
    pub id: String,
    pub object: Object,
    pub account: Expandable<Account>,
    pub amount: i64,
    pub amount_refunded: i64,
    pub application: String,
    pub balance_transaction: Expandable<BalanceTransaction>,
    pub charge: Expandable<Charge>,
    pub created: i64,
    pub currency: Currency,
    pub livemode: bool,
    pub originating_transaction: Option<Expandable<OriginatingTransaction>>,
    pub refunded: bool,
    pub refunds: List<Refund>,
}

Fields

id: Stringobject: Objectaccount: Expandable<Account>amount: i64amount_refunded: i64application: Stringbalance_transaction: Expandable<BalanceTransaction>charge: Expandable<Charge>created: i64currency: Currencylivemode: booloriginating_transaction: Option<Expandable<OriginatingTransaction>>refunded: boolrefunds: List<Refund>

Methods

impl ApplicationFees[src]

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

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

Trait Implementations

impl PartialEq<ApplicationFees> for ApplicationFees[src]

impl Debug for ApplicationFees[src]

impl Serialize for ApplicationFees[src]

impl<'de> Deserialize<'de> for ApplicationFees[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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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