squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Model struct for CustomerDetails type.

use serde::{Deserialize, Serialize};

/// Details about a Square Account payment. The details are only populated if the source_type is SquareAccount.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct CustomerDetails {
    /// Indicates whether the customer initiated the payment.
    pub customer_initiated: Option<bool>,
    /// Indicates that the seller keyed in payment details on behalf of the customer.
    /// This is used to flag a payment as Mail Order / Telephone Order (MOTO).
    pub seller_keyed_in: Option<bool>,
}