Struct square_api_client::models::ListInvoicesParameters
source · pub struct ListInvoicesParameters {
pub location_id: String,
pub cursor: Option<String>,
pub limit: Option<i32>,
}
Expand description
This is a model struct for ListInvoicesParameters (query parameters)
Fields§
§location_id: String
The ID of the location for which to list invoices.
cursor: Option<String>
A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for your original query.
For more information, see Pagination.
limit: Option<i32>
The maximum number of invoices to return (200 is the maximum limit
). If not provided, the
server uses a default limit of 100 invoices.
Implementations§
source§impl ListInvoicesParameters
impl ListInvoicesParameters
pub fn to_query_string(&self) -> String
Trait Implementations§
source§impl Clone for ListInvoicesParameters
impl Clone for ListInvoicesParameters
source§fn clone(&self) -> ListInvoicesParameters
fn clone(&self) -> ListInvoicesParameters
Returns a copy 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 Debug for ListInvoicesParameters
impl Debug for ListInvoicesParameters
source§impl Default for ListInvoicesParameters
impl Default for ListInvoicesParameters
source§fn default() -> ListInvoicesParameters
fn default() -> ListInvoicesParameters
Returns the “default value” for a type. Read more
source§impl From<ListInvoicesParameters> for String
impl From<ListInvoicesParameters> for String
source§fn from(list_invoices_parameters: ListInvoicesParameters) -> Self
fn from(list_invoices_parameters: ListInvoicesParameters) -> Self
Converts to this type from the input type.