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