squareup/models/
customer_details.rs

1//! Model struct for CustomerDetails type.
2
3use serde::{Deserialize, Serialize};
4
5/// Details about a Square Account payment. The details are only populated if the source_type is SquareAccount.
6#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
7pub struct CustomerDetails {
8    /// Indicates whether the customer initiated the payment.
9    pub customer_initiated: Option<bool>,
10    /// Indicates that the seller keyed in payment details on behalf of the customer.
11    /// This is used to flag a payment as Mail Order / Telephone Order (MOTO).
12    pub seller_keyed_in: Option<bool>,
13}