squareup/models/enums/catalog_quick_amounts_settings_option.rs
1//! Model for CatalogQuickAmountsSettingsOption enum.
2
3use serde::{Deserialize, Serialize};
4
5/// Determines a seller's option on Quick Amounts feature.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum CatalogQuickAmountsSettingsOption {
9 /// Option for seller to disable Quick Amounts.
10 Disabled,
11 /// Option for seller to choose manually created Quick Amounts.
12 Manual,
13 /// Option for seller to choose automatically created Quick Amounts.
14 Auto,
15}
16
17impl Default for CatalogQuickAmountsSettingsOption {
18 fn default() -> Self {
19 Self::Disabled
20 }
21}