1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Model struct for GiftCardActivityAdjustIncrement type

use serde::{Deserialize, Serialize};

use super::Money;

/// Represents details about an `ADJUST_INCREMENT` [gift card activity type](GiftCardActivityType).
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct GiftCardActivityAdjustIncrement {
    /// The amount added to the gift card balance. This value is a positive integer.
    pub amount_money: Money,
    /// The reason the gift card balance was adjusted.
    pub reason: String,
}