square_api_client/models/
tender_cash_details.rs

1//! Model struct for TenderCashDetails type
2
3use serde::{Deserialize, Serialize};
4
5use super::Money;
6
7///  Represents the details of a tender with `type` `CASH`.
8#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
9pub struct TenderCashDetails {
10    /// The total amount of cash provided by the buyer, before change is given.
11    pub buyer_tendered_money: Option<Money>,
12    /// The amount of change returned to the buyer.
13    pub change_back_money: Option<Money>,
14}