square_api_client/models/
inventory_adjustment_group.rs

1//! Model struct for InventoryAdjustmentGroup type
2
3use serde::{Deserialize, Serialize};
4
5use super::enums::InventoryState;
6
7/// The current calculated inventory counts for the requested object and locations.
8#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
9pub struct InventoryAdjustmentGroup {
10    /// A unique ID generated by Square for the InventoryAdjustment.
11    pub id: String,
12    /// The current inventory state for the related quantity of items.
13    pub from_state: InventoryState,
14    /// The current inventory state for the related quantity of items.
15    pub to_state: InventoryState,
16    /// Read only The inventory adjustment of the composed variation.
17    pub root_adjustment_id: String,
18}