square_api_client/models/enums/
subscription_event_info_code.rs

1//! Model for SubscriptionEventInfoCode enum.
2
3use serde::{Deserialize, Serialize};
4
5/// Supported info codes of a subscription event.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum SubscriptionEventInfoCode {
9    /// The location is not active.
10    LocationNotActive,
11    /// The location cannot accept payments.
12    LocationCannotAcceptPayment,
13    /// The subscribing customer profile has been deleted.
14    CustomerDeleted,
15    /// The subscribing customer does not have an email.
16    CustomerNoEmail,
17    /// The subscribing customer does not have a name.
18    CustomerNoName,
19    /// User-provided detail.
20    UserProvided,
21}