square_api_client/models/
catalog_modifier_override.rs

1//! Model struct for CatalogModifierOverride type.
2
3use serde::{Deserialize, Serialize};
4
5/// Options to control how to override the default behavior of the specified modifier.
6#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
7pub struct CatalogModifierOverride {
8    /// The ID of the `CatalogModifier` whose default behavior is being overridden.
9    pub modifier_id: String,
10    /// If `true`, this `CatalogModifier` should be selected by default for this `CatalogItem`.
11    pub on_by_default: Option<bool>,
12}