pub struct ListCheckoutSessionsParams {
pub organization_id: Option<Vec<Uuid>>,
pub product_id: Option<Vec<Uuid>>,
pub customer_id: Option<Vec<Uuid>>,
pub status: Option<CheckoutSessionStatus>,
pub query: Option<String>,
pub page: Option<usize>,
pub limit: Option<u8>,
pub sorting: Option<Vec<CheckoutSessionsSorting>>,
}Fields§
§organization_id: Option<Vec<Uuid>>Filter by organization ID.
product_id: Option<Vec<Uuid>>Filter by product ID.
customer_id: Option<Vec<Uuid>>Filter by customer ID.
status: Option<CheckoutSessionStatus>Filter by checkout session status.
query: Option<String>Filter by customer email.
page: Option<usize>Page number, defaults to 1.
Required range: x > 0
limit: Option<u8>Size of a page, defaults to 10. Maximum is 100.
Required range: x > 0
sorting: Option<Vec<CheckoutSessionsSorting>>Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.
Trait Implementations§
Source§impl Default for ListCheckoutSessionsParams
impl Default for ListCheckoutSessionsParams
Source§fn default() -> ListCheckoutSessionsParams
fn default() -> ListCheckoutSessionsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListCheckoutSessionsParams
impl RefUnwindSafe for ListCheckoutSessionsParams
impl Send for ListCheckoutSessionsParams
impl Sync for ListCheckoutSessionsParams
impl Unpin for ListCheckoutSessionsParams
impl UnwindSafe for ListCheckoutSessionsParams
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