squareup 2.15.1

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Model for OnByDefaultOverride enum.

use serde::{Deserialize, Serialize};

/// If `YES`, this setting overrides the on_by_default setting on the `CatalogModifier` object,
/// and the modifier is always selected by default for the catalog item.
///
/// If `NO`, the modifier is not selected by default for this catalog item. `NOT_SET` means the
/// on_by_default setting on the `CatalogModifier` object is obeyed.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum OnByDefaultOverride {
    Yes,
    No,
    NotSet,
}