square_api_client/models/catalog_v1_id.rs
1//! Model struct for CatalogV1Id type.
2
3use serde::{Deserialize, Serialize};
4
5/// A Square API V1 identifier of an item, including the object ID and its associated location ID.
6#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
7pub struct CatalogV1Id {
8 /// The ID for an object used in the Square API V1, if the object ID differs from the Square API
9 /// V2 object ID.
10 pub catalog_v1_id: Option<String>,
11 /// The ID of the `Location` this Connect V1 ID is associated with.
12 pub location_id: Option<String>,
13}