1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// ======================================
// This file was automatically generated.
// ======================================
use crate::ids::{FinancialConnectionsAccountOwnerId};
use crate::params::{Object, Timestamp};
use serde::{Deserialize, Serialize};
/// The resource representing a Stripe "BankConnectionsResourceOwner".
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct FinancialConnectionsAccountOwner {
/// Unique identifier for the object.
pub id: FinancialConnectionsAccountOwnerId,
/// The email address of the owner.
pub email: Option<String>,
/// The full name of the owner.
pub name: String,
/// The ownership object that this owner belongs to.
pub ownership: String,
/// The raw phone number of the owner.
pub phone: Option<String>,
/// The raw physical address of the owner.
pub raw_address: Option<String>,
/// The timestamp of the refresh that updated this owner.
pub refreshed_at: Option<Timestamp>,
}
impl Object for FinancialConnectionsAccountOwner {
type Id = FinancialConnectionsAccountOwnerId;
fn id(&self) -> Self::Id {
self.id.clone()
}
fn object(&self) -> &'static str {
"financial_connections.account_owner"
}
}