square_api_client/models/
create_gift_card_activity_response.rs

1//! Response body struct for the Create Gift Card Activity API
2
3use serde::Deserialize;
4
5use super::{errors::Error, GiftCardActivity};
6
7/// This is a model struct for CreateGiftCardActivityResponse type
8#[derive(Clone, Debug, Deserialize, Eq, PartialEq)]
9pub struct CreateGiftCardActivityResponse {
10    /// Any errors that occurred during the request.
11    pub errors: Option<Vec<Error>>,
12    /// The gift card activity that was created.
13    pub gift_card_activity: Option<GiftCardActivity>,
14}