pub struct RetrieveCheckoutSessionLineItems {
pub ending_before: Option<CheckoutSessionId>,
pub limit: Option<u64>,
pub starting_after: Option<CheckoutSessionId>,
}
Available on crate feature
checkout
only.Expand description
The parameters for CheckoutSession::retrieve_line_items
.
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.
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<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.
Trait Implementations§
Source§impl Clone for RetrieveCheckoutSessionLineItems
impl Clone for RetrieveCheckoutSessionLineItems
Source§fn clone(&self) -> RetrieveCheckoutSessionLineItems
fn clone(&self) -> RetrieveCheckoutSessionLineItems
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for RetrieveCheckoutSessionLineItems
impl Default for RetrieveCheckoutSessionLineItems
Source§fn default() -> RetrieveCheckoutSessionLineItems
fn default() -> RetrieveCheckoutSessionLineItems
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RetrieveCheckoutSessionLineItems
impl RefUnwindSafe for RetrieveCheckoutSessionLineItems
impl Send for RetrieveCheckoutSessionLineItems
impl Sync for RetrieveCheckoutSessionLineItems
impl Unpin for RetrieveCheckoutSessionLineItems
impl UnwindSafe for RetrieveCheckoutSessionLineItems
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more