squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
//! Model for Product enum.

use serde::{Deserialize, Serialize};

/// Indicates the Square product used to generate an inventory change.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum Product {
    /// Square Point of Sale application.
    SquarePos,
    /// Square Connect APIs (Transactions API, Checkout API).
    ExternalApi,
    /// A Square subscription (various products).
    Billing,
    /// Square Appointments.
    Appointments,
    /// Square Invoices.
    Invoices,
    /// Square Online Store.
    OnlineStore,
    /// Square Payroll.
    Payroll,
    /// Square Dashboard
    Dashboard,
    /// Item Library Import
    ItemLibraryImport,
    /// A Square product that does not match any other value.
    Other,
}