squareup 2.2.7

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Model for BusinessBookingProfileBookingPolicy type.

use serde::{Deserialize, Serialize};

/// The policy for the seller to automatically accept booking requests (AcceptAll) or not
/// (RequiresAcceptance).
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum BusinessBookingProfileBookingPolicy {
    /// The seller accepts all booking requests automatically.
    AcceptAll,
    /// The seller must accept requests to complete bookings.
    RequiresAcceptance,
}