Struct square_api_client::models::ListCardsParameters
source · pub struct ListCardsParameters {
pub cursor: String,
pub customer_id: String,
pub include_disabled: bool,
pub reference_id: String,
pub sort_order: SortOrder,
}
Expand description
This is a model struct for ListCardsParameters (query parameters)
Fields§
§cursor: String
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See Pagination for more information.
customer_id: String
Limit results to cards associated with the customer supplied. By default, all cards owned by the merchant are returned.
include_disabled: bool
Includes disabled cards. By default, all enabled cards owned by the merchant are returned.
reference_id: String
Limit results to cards associated with the reference_id supplied.
sort_order: SortOrder
Sorts the returned list by when the card was created with the specified order. This field defaults to ASC.
Implementations§
source§impl ListCardsParameters
impl ListCardsParameters
pub fn to_query_string(&self) -> String
Trait Implementations§
source§impl Clone for ListCardsParameters
impl Clone for ListCardsParameters
source§fn clone(&self) -> ListCardsParameters
fn clone(&self) -> ListCardsParameters
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 ListCardsParameters
impl Debug for ListCardsParameters
source§impl Default for ListCardsParameters
impl Default for ListCardsParameters
source§impl From<ListCardsParameters> for String
impl From<ListCardsParameters> for String
source§fn from(list_cards_parameters: ListCardsParameters) -> Self
fn from(list_cards_parameters: ListCardsParameters) -> Self
Converts to this type from the input type.