square_api_client/models/calculate_order_response.rs
1//! Model struct for CalculateOrderResponse type
2
3use serde::Deserialize;
4
5use super::{errors::Error, Order};
6
7/// This is a model struct for CalculateOrderResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct CalculateOrderResponse {
10 /// The calculated version of the order provided in the request.
11 pub order: Order,
12 /// Any errors that occurred during the request.
13 pub errors: Option<Vec<Error>>,
14}