squareup/models/
invoice_filter.rs

1//! Model struct for InvoiceFilter type.
2
3use serde::Serialize;
4
5/// Describes query filters to apply.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct InvoiceFilter {
8    /// Limits the search to the specified locations. A location is required. In the current
9    /// implementation, only one location can be specified.
10    ///
11    /// Min Length: 1, Max Length: 1
12    pub location_ids: Vec<String>,
13    /// Limits the search to the specified customers, within the specified locations. Specifying a
14    /// customer is optional. In the current implementation, a maximum of one customer can be
15    /// specified.
16    ///
17    /// Min Length: 1, Max Length: 1
18    pub customer_ids: Option<Vec<String>>,
19}