Struct stripe::ListCharges
source · pub struct ListCharges<'a> {
pub created: Option<RangeQuery<Timestamp>>,
pub customer: Option<CustomerId>,
pub ending_before: Option<ChargeId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub payment_intent: Option<PaymentIntentId>,
pub starting_after: Option<ChargeId>,
pub transfer_group: Option<&'a str>,
}
Expand description
The parameters for Charge::list
.
Fields§
§created: Option<RangeQuery<Timestamp>>
§customer: Option<CustomerId>
Only return charges for the customer specified by this customer ID.
ending_before: Option<ChargeId>
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.
payment_intent: Option<PaymentIntentId>
Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
starting_after: Option<ChargeId>
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.
transfer_group: Option<&'a str>
Only return charges for this transfer group.
Implementations§
source§impl<'a> ListCharges<'a>
impl<'a> ListCharges<'a>
Trait Implementations§
source§impl<'a> Clone for ListCharges<'a>
impl<'a> Clone for ListCharges<'a>
source§fn clone(&self) -> ListCharges<'a>
fn clone(&self) -> ListCharges<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more