square_api_client/models/batch_retrieve_orders_response.rs
1//! Model struct for BatchRetrieveOrdersResponse type
2
3use serde::Deserialize;
4
5use super::{errors::Error, Order};
6
7/// This is a model struct for BatchRetrieveOrdersResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct BatchRetrieveOrdersResponse {
10 /// The requested orders. This will omit any requested orders that do not exist.
11 pub orders: Option<Vec<Order>>,
12 /// Any errors that occurred during the request.
13 pub errors: Option<Vec<Error>>,
14}