square_api_client/models/enums/product.rs
1//! Model for Product enum.
2
3use serde::{Deserialize, Serialize};
4
5/// Indicates the Square product used to generate an inventory change.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum Product {
9 /// Square Point of Sale application.
10 SquarePos,
11 /// Square Connect APIs (Transactions API, Checkout API).
12 ExternalApi,
13 /// A Square subscription (various products).
14 Billing,
15 /// Square Appointments.
16 Appointments,
17 /// Square Invoices.
18 Invoices,
19 /// Square Online Store.
20 OnlineStore,
21 /// Square Payroll.
22 Payroll,
23 /// Square Dashboard
24 Dashboard,
25 /// Item Library Import
26 ItemLibraryImport,
27 /// A Square product that does not match any other value.
28 Other,
29}