square_api_client/models/enums/transaction_product.rs
1//! Model for TransactionProduct enum
2
3use serde::{Deserialize, Serialize};
4
5/// Indicates the Square product used to process a transaction.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum TransactionProduct {
9 /// Square Point of Sale.
10 Register,
11 /// The Square Connect API.
12 ExternalApi,
13 /// A Square subscription for one of multiple 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 /// A Square product that does not match any other value.
24 Other,
25}