[][src]Struct libstripe::resources::issuing::transactions::Transactions

pub struct Transactions {
    pub id: String,
    pub object: Object,
    pub amount: i64,
    pub authorization: Expandable<Authorizations>,
    pub balance_transaction: Option<Expandable<BalanceTransaction>>,
    pub card: Expandable<Card>,
    pub cardholder: Option<Expandable<CardHolders>>,
    pub created: i64,
    pub currency: Currency,
    pub dispute: Option<Expandable<Dispute>>,
    pub livemode: bool,
    pub merchant_data: MerchantData,
    pub transaction_type: TransactionType,
}

Fields

id: Stringobject: Objectamount: i64authorization: Expandable<Authorizations>balance_transaction: Option<Expandable<BalanceTransaction>>card: Expandable<Card>cardholder: Option<Expandable<CardHolders>>created: i64currency: Currencydispute: Option<Expandable<Dispute>>livemode: boolmerchant_data: MerchantDatatransaction_type: TransactionType

Methods

impl Transactions[src]

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

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

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

Trait Implementations

impl PartialEq<Transactions> for Transactions[src]

impl Debug for Transactions[src]

impl Serialize for Transactions[src]

impl<'de> Deserialize<'de> for Transactions[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