squareup/models/enums/business_appointment_settings_alignment_time.rs
1//! Model for BusinessAppointmentSettingsAlignmentTime type.
2
3use serde::{Deserialize, Serialize};
4
5/// The time unit of the service duration for bookings.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum BusinessAppointmentSettingsAlignmentTime {
9 /// The service duration unit is one visit of a fixed time interval specified by the seller.
10 ServiceDuration,
11 /// The service duration unit is a 15-minute interval. Bookings can be scheduled every quarter
12 /// hour.
13 QuarterHourly,
14 /// The service duration unit is a 30-minute interval. Bookings can be scheduled every half
15 /// hour.
16 HalfHourly,
17 /// The service duration unit is a 60-minute interval. Bookings can be scheduled every hour.
18 Hourly,
19}