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
//! Model for HiddenOnlineOverride enum.

use serde::{Deserialize, Serialize};

/// If `YES`, this setting overrides the hidden_online setting on the `CatalogModifier` object,
/// and the modifier is always hidden from online sales channels. If `NO`, the modifier is not
/// hidden. It is always visible in online sales channels for this catalog item. `NOT_SET` means
/// the hidden_online setting on the `CatalogModifier` object is obeyed.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum HiddenOnlineOverride {
    Yes,
    No,
    NotSet,
}