squareup 2.13.0

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

use serde::{Deserialize, Serialize};

/// The cancellation policy adopted by the seller.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum BusinessAppointmentSettingsCancellationPolicy {
    /// Cancellations are treated as no shows and may incur a fee as specified by
    /// cancellation_fee_money.
    CancellationTreatedAsNoShow,
    /// Cancellations follow the seller-specified policy that is described in free-form text and
    /// not enforced automatically by Square.
    CustomPolicy,
}