square_api_client/models/gift_card_activity_unlinked_activity_refund.rs
1//! Model struct for GiftCardActivityUnlinkedActivityRefund type
2
3use serde::{Deserialize, Serialize};
4
5use super::Money;
6
7/// Represents details about a `UNLINKED_ACTIVITY_REFUND`
8/// [gift card activity type](GiftCardActivityType).
9#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
10pub struct GiftCardActivityUnlinkedActivityRefund {
11 /// The amount added to the gift card for the refund. This value is a positive integer.
12 pub amount_money: Money,
13 /// **Read only** The ID of the refunded payment. This field is not used starting in Square
14 /// version 2022-06-16.
15 pub payment_id: Option<String>,
16 /// A client-specified ID that associates the gift card activity with an entity in another
17 /// system.
18 pub reference_id: Option<String>,
19}