Struct stripe::ListOrders [−][src]
pub struct ListOrders<'a> {
pub created: Option<RangeQuery<Timestamp>>,
pub customer: Option<CustomerId>,
pub ending_before: Option<OrderId>,
pub expand: &'a [&'a str],
pub ids: Option<Box<Vec<String>>>,
pub limit: Option<u64>,
pub starting_after: Option<OrderId>,
pub status: Option<OrderStatusFilter>,
pub status_transitions: Option<Box<ListOrdersStatusTransitions>>,
pub upstream_ids: Option<Box<Vec<String>>>,
}
Expand description
The parameters for Order::list
.
Fields
created: Option<RangeQuery<Timestamp>>
Date this order was created.
customer: Option<CustomerId>
Only return orders for the given customer.
ending_before: Option<OrderId>
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.
ids: Option<Box<Vec<String>>>
Only return orders with the given IDs.
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.
starting_after: Option<OrderId>
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.
status: Option<OrderStatusFilter>
Only return orders that have the given status.
One of created
, paid
, fulfilled
, or refunded
.
status_transitions: Option<Box<ListOrdersStatusTransitions>>
Filter orders based on when they were paid, fulfilled, canceled, or returned.
upstream_ids: Option<Box<Vec<String>>>
Only return orders with the given upstream order IDs.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListOrders<'a>
impl<'a> Send for ListOrders<'a>
impl<'a> Sync for ListOrders<'a>
impl<'a> Unpin for ListOrders<'a>
impl<'a> UnwindSafe for ListOrders<'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