pub struct InvoiceListParams<'a> { /* private fields */ }Expand description
Parameters for a subscription list operation.
Implementations§
Source§impl<'a> InvoiceListParams<'a>
impl<'a> InvoiceListParams<'a>
Sourcepub const DEFAULT: InvoiceListParams<'static>
pub const DEFAULT: InvoiceListParams<'static>
The default invoice list parameters.
Exposed as a constant for use in constant evaluation contexts.
Sourcepub const fn page_size(self, page_size: u64) -> Self
pub const fn page_size(self, page_size: u64) -> Self
Sets the page size for the list operation.
Sourcepub const fn customer_id(self, filter: CustomerId<'a>) -> Self
pub const fn customer_id(self, filter: CustomerId<'a>) -> Self
Filters the listing to the specified customer ID.
Sourcepub const fn subscription_id(self, filter: &'a str) -> Self
pub const fn subscription_id(self, filter: &'a str) -> Self
Filters the listing to the specified subscription ID.
Sourcepub const fn status_filter(self, filter: InvoiceStatusFilter) -> Self
pub const fn status_filter(self, filter: InvoiceStatusFilter) -> Self
Filters the listing to a specified set of statuses.
Trait Implementations§
Source§impl<'a> Clone for InvoiceListParams<'a>
impl<'a> Clone for InvoiceListParams<'a>
Source§fn clone(&self) -> InvoiceListParams<'a>
fn clone(&self) -> InvoiceListParams<'a>
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<'a> Debug for InvoiceListParams<'a>
impl<'a> Debug for InvoiceListParams<'a>
Source§impl<'a> Default for InvoiceListParams<'a>
impl<'a> Default for InvoiceListParams<'a>
Source§fn default() -> InvoiceListParams<'a>
fn default() -> InvoiceListParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for InvoiceListParams<'a>
impl<'a> RefUnwindSafe for InvoiceListParams<'a>
impl<'a> Send for InvoiceListParams<'a>
impl<'a> Sync for InvoiceListParams<'a>
impl<'a> Unpin for InvoiceListParams<'a>
impl<'a> UnwindSafe for InvoiceListParams<'a>
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