1 2 3 4 5 6 7 8 9 10 11 12 13
//! Model for LocationCapability enum
use serde::{Deserialize, Serialize};
/// The capabilities a location might have.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum LocationCapability {
/// The capability to process credit card transactions with Square.
CreditCardProcessing,
/// The capability to receive automatic transfers from Square.
AutomaticTransfers,
}