Struct stripe::ListCheckoutSessions [−][src]
pub struct ListCheckoutSessions<'a> {
pub ending_before: Option<CheckoutSessionId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub payment_intent: Option<PaymentIntentId>,
pub starting_after: Option<CheckoutSessionId>,
pub subscription: Option<SubscriptionId>,
}
Expand description
The parameters for CheckoutSession::list
.
Fields
ending_before: Option<CheckoutSessionId>
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 the Checkout Session for the PaymentIntent specified.
starting_after: Option<CheckoutSessionId>
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.
subscription: Option<SubscriptionId>
Only return the Checkout Session for the subscription specified.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListCheckoutSessions<'a>
impl<'a> Send for ListCheckoutSessions<'a>
impl<'a> Sync for ListCheckoutSessions<'a>
impl<'a> Unpin for ListCheckoutSessions<'a>
impl<'a> UnwindSafe for ListCheckoutSessions<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more