Struct FinancialConnectionsAccount

Source
pub struct FinancialConnectionsAccount {
Show 18 fields pub account_holder: Option<BankConnectionsResourceAccountholder>, pub balance: Option<BankConnectionsResourceBalance>, pub balance_refresh: Option<BankConnectionsResourceBalanceRefresh>, pub category: FinancialConnectionsAccountCategory, pub created: Timestamp, pub display_name: Option<String>, pub id: FinancialConnectionsAccountId, pub institution_name: String, pub last4: Option<String>, pub livemode: bool, pub ownership: Option<Expandable<FinancialConnectionsAccountOwnership>>, pub ownership_refresh: Option<BankConnectionsResourceOwnershipRefresh>, pub permissions: Option<Vec<FinancialConnectionsAccountPermissions>>, pub status: FinancialConnectionsAccountStatus, pub subcategory: FinancialConnectionsAccountSubcategory, pub subscriptions: Option<Vec<FinancialConnectionsAccountSubscriptions>>, pub supported_payment_method_types: Vec<FinancialConnectionsAccountSupportedPaymentMethodTypes>, pub transaction_refresh: Option<BankConnectionsResourceTransactionRefresh>,
}
Expand description

A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.

For more details see <https://stripe.com/docs/api/financial_connections/accounts/object>.

Fields§

§account_holder: Option<BankConnectionsResourceAccountholder>

The account holder that this account belongs to.

§balance: Option<BankConnectionsResourceBalance>

The most recent information about the account’s balance.

§balance_refresh: Option<BankConnectionsResourceBalanceRefresh>

The state of the most recent attempt to refresh the account balance.

§category: FinancialConnectionsAccountCategory

The type of the account. Account category is further divided in subcategory.

§created: Timestamp

Time at which the object was created. Measured in seconds since the Unix epoch.

§display_name: Option<String>

A human-readable name that has been assigned to this account, either by the account holder or by the institution.

§id: FinancialConnectionsAccountId

Unique identifier for the object.

§institution_name: String

The name of the institution that holds this account.

§last4: Option<String>

The last 4 digits of the account number. If present, this will be 4 numeric characters.

§livemode: bool

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

§ownership: Option<Expandable<FinancialConnectionsAccountOwnership>>

The most recent information about the account’s owners.

§ownership_refresh: Option<BankConnectionsResourceOwnershipRefresh>

The state of the most recent attempt to refresh the account owners.

§permissions: Option<Vec<FinancialConnectionsAccountPermissions>>

The list of permissions granted by this account.

§status: FinancialConnectionsAccountStatus

The status of the link to the account.

§subcategory: FinancialConnectionsAccountSubcategory

If category is cash, one of:

  • checking
  • savings
  • other

If category is credit, one of:

  • mortgage
  • line_of_credit
  • credit_card
  • other

If category is investment or other, this will be other.

§subscriptions: Option<Vec<FinancialConnectionsAccountSubscriptions>>

The list of data refresh subscriptions requested on this account.

§supported_payment_method_types: Vec<FinancialConnectionsAccountSupportedPaymentMethodTypes>

The PaymentMethod type(s) that can be created from this account.

§transaction_refresh: Option<BankConnectionsResourceTransactionRefresh>

The state of the most recent attempt to refresh the account transactions.

Trait Implementations§

Source§

impl Clone for FinancialConnectionsAccount

Source§

fn clone(&self) -> FinancialConnectionsAccount

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FinancialConnectionsAccount

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deserialize for FinancialConnectionsAccount

Source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

The only correct implementation of this method is: Read more
Source§

impl FromValueOpt for FinancialConnectionsAccount

Source§

impl Object for FinancialConnectionsAccount

Source§

type Id = FinancialConnectionsAccountId

The canonical id type for this object.
Source§

fn id(&self) -> &Self::Id

The id of the object.
Source§

fn into_id(self) -> Self::Id

The owned id of the object.
Source§

impl ObjectDeser for FinancialConnectionsAccount

Source§

type Builder = FinancialConnectionsAccountBuilder

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more