square_api_client/models/gift_card_activity_import.rs
1//! Model struct for GiftCardActivityImport type
2
3use serde::{Deserialize, Serialize};
4
5use super::Money;
6
7/// Represents details about an `IMPORT` [gift card activity type](GiftCardActivityType).
8///
9/// This activity type is used when Square imports a third-party gift card, in which case the
10/// `gan_source` of the gift card is set to `OTHER`.
11#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
12pub struct GiftCardActivityImport {
13 /// The balance amount on the imported gift card.
14 pub amount_money: Money,
15}