square_api_client/models/
order_source.rs

1//! Model struct for OrderSource type
2
3use serde::{Deserialize, Serialize};
4
5/// Represents the origination details of an order.
6#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
7pub struct OrderSource {
8    /// The name used to identify the place (physical or digital) that an order originates. If
9    /// unset, the name defaults to the name of the application that created the order.
10    pub name: Option<String>,
11}