squareup 2.13.0

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

use serde::{Deserialize, Serialize};

/// Details about a Clearpay payment. These details are only populated if the brand is CLEARPAY.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct ClearpayDetails {
    /// Email address on the buyer's Clearpay account.
    /// Max Length 255
    pub email_address: Option<String>,
}