Struct stripe::ListBalanceTransactions[][src]

pub struct ListBalanceTransactions<'a> {
    pub available_on: Option<RangeQuery<Timestamp>>,
    pub created: Option<RangeQuery<Timestamp>>,
    pub currency: Option<Currency>,
    pub ending_before: Option<BalanceTransactionId>,
    pub expand: &'a [&'a str],
    pub limit: Option<u64>,
    pub payout: Option<PayoutId>,
    pub source: Option<SourceId>,
    pub starting_after: Option<BalanceTransactionId>,
    pub type_: Option<&'a str>,
}

The parameters for BalanceTransaction::list.

Fields

available_on: Option<RangeQuery<Timestamp>>created: Option<RangeQuery<Timestamp>>currency: Option<Currency>

Only return transactions in a certain currency.

Three-letter ISO currency code, in lowercase. Must be a supported currency.

ending_before: Option<BalanceTransactionId>

A cursor for use in pagination.

ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.

expand: &'a [&'a str]

Specifies which fields in the response should be expanded.

limit: Option<u64>

A limit on the number of objects to be returned.

Limit can range between 1 and 100, and the default is 10.

payout: Option<PayoutId>

For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID.

source: Option<SourceId>

Only returns the original transaction.

starting_after: Option<BalanceTransactionId>

A cursor for use in pagination.

starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

type_: Option<&'a str>

Only returns transactions of the given type.

One of: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund.

Implementations

impl<'a> ListBalanceTransactions<'a>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'a> Clone for ListBalanceTransactions<'a>[src]

impl<'a> Debug for ListBalanceTransactions<'a>[src]

impl<'a> Default for ListBalanceTransactions<'a>[src]

impl<'a> Serialize for ListBalanceTransactions<'a>[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]