FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
doc
/
models
Edit File: invoice-filter.md
# Invoice Filter Describes query filters to apply. ## Structure `InvoiceFilter` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `locationIds` | `string[]` | Required | Limits the search to the specified locations. A location is required.<br>In the current implementation, only one location can be specified. | getLocationIds(): array | setLocationIds(array locationIds): void | | `customerIds` | `?(string[])` | Optional | Limits the search to the specified customers, within the specified locations.<br>Specifying a customer is optional. In the current implementation,<br>a maximum of one customer can be specified. | getCustomerIds(): ?array | setCustomerIds(?array customerIds): void | ## Example (as JSON) ```json { "location_ids": [ "location_ids0", "location_ids1", "location_ids2" ], "customer_ids": [ "customer_ids3", "customer_ids2" ] } ```
Save
Back