squareup/models/enums/catalog_pricing_type.rs
1//! Model for CatalogPricingType enum.
2
3use serde::{Deserialize, Serialize};
4
5/// Indicates whether the price of a CatalogItemVariation should be entered manually at the time of
6/// sale.
7#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
8#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
9pub enum CatalogPricingType {
10 /// The catalog item variation's price is fixed.
11 FixedPricing,
12 /// The catalog item variation's price is entered at the time of sale.
13 VariablePricing,
14}