square_api_client/models/batch_retrieve_orders_request.rs
1//! Model struct for BatchRetrieveOrdersRequest type
2
3use serde::Serialize;
4
5/// This is a model class for BatchRetrieveOrdersRequest type.
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct BatchRetrieveOrdersRequest {
8 /// The ID of the location for these orders. This field is optional: omit it to retrieve orders
9 /// within the scope of the current authorization's merchant ID.
10 pub location_id: Option<String>,
11 /// The IDs of the orders to retrieve. A maximum of 100 orders can be retrieved per request.
12 pub order_ids: Vec<String>,
13}