square_rust/api/models/objects/
cash_details.rs

1//! CashDetails
2
3use crate::api::models::objects::money::Money;
4
5/// Represents the details of a cash payment.
6pub struct CashDetails {
7    /// The amount and currency of the money supplied by the buyer.
8    pub buyer_supplied_money: Money,
9    /// The amount of change due back to the buyer. This read-only field is calculated from the amount_money and buyer_supplied_money fields.
10    pub change_back_money: Option<Money>,
11}