square_api_client/models/enums/change_timing.rs
1//! Model for ChangeTiming enum.
2
3use serde::{Deserialize, Serialize};
4
5/// Supported timings when a pending change, as an action, takes place to a subscription.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum ChangeTiming {
9 /// The action occurs immediately.
10 Immediate,
11 /// The action occurs at the end of the billing cycle.
12 EndOfBillingCycle,
13}