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
//! Model struct for GiftCardActivityTransferBalanceFrom type

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

/// Represents details about a TRANSFER_BALANCE_FROM gift card activity type
// .
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct GiftCardActivityTransferBalanceFrom {
    /// The ID of the gift card to which the specified amount was transferred.
    pub transfer_to_gift_card_id: String,
    /// The amount deducted from the gift card for the transfer. This value is a positive integer.
    pub amount_money: Money,
}