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
//! Response body struct for the OrderEventData type

use crate::models::enums::OrderEventObject;
use serde::{Deserialize, Serialize};

/// This is a model struct for OrderEventData type.
#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
pub struct OrderEventData {
    /// The type of the event data object.
    pub r#type: String,
    /// The ID of the affected order.
    pub id: String,
    /// An object containing information about the associated Order.
    pub object: OrderEventObject,
}