Skip to main content

autogen_squareup/models/
location_settings_updated_event_object.rs

1/*
2 * Square
3 *
4 * Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.
5 *
6 * The version of the OpenAPI document: 2.0
7 * Contact: developers@squareup.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct LocationSettingsUpdatedEventObject {
16    #[serde(rename = "location_settings", skip_serializing_if = "Option::is_none")]
17    pub location_settings: Option<Box<models::CheckoutLocationSettings>>,
18}
19
20impl LocationSettingsUpdatedEventObject {
21    pub fn new() -> LocationSettingsUpdatedEventObject {
22        LocationSettingsUpdatedEventObject {
23            location_settings: None,
24        }
25    }
26}
27