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

use crate::models::GiftCard;
use serde::{Deserialize, Serialize};

/// This is a model struct for GiftCardEventObject type.
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
pub struct GiftCardEventObject {
    /// The gift card with the associated customer_ids field.
    pub gift_card: GiftCard,
    /// The ID of the linked customer
    pub linked_customer_id: String,
}