Account class final

Account

This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current requirements or if the account is enabled to make live charges or receive payouts. For Custom accounts, the properties below are always returned. For other accounts, some properties are returned until that account has started to go through Connect Onboarding. Once you create an [Account Link](https://stripe.com/docs/api/account\_links) or [Account Session](https://stripe.com/docs/api/account\_sessions), some properties are only returned for Custom accounts. Learn about the differences [between accounts](https://stripe.com/docs/connect/accounts).

Implemented types

Constructors

Account({AccountBusinessProfile? businessProfile, AccountBusinessType? businessType, AccountCapabilities? capabilities, bool? chargesEnabled, LegalEntityCompany? company, AccountUnificationAccountController? controller, String? country, DateTime? created, String? defaultCurrency, bool? detailsSubmitted, String? email, AccountExternalAccounts? externalAccounts, AccountFutureRequirements? futureRequirements, required String id, Person? individual, Map<String, String>? metadata, bool? payoutsEnabled, AccountRequirements? requirements, AccountSettings? settings, AccountTosAcceptance? tosAcceptance, AccountType? type})
Account
const
Account.fromJson(Object? json)
factory

Properties

businessProfile → AccountBusinessProfile?
Business information about the account.
final
businessType → AccountBusinessType?
final
capabilities → AccountCapabilities?
final
chargesEnabled → bool?
final
company → LegalEntityCompany?
final
controller → AccountUnificationAccountController?
final
country → String?
final
created → DateTime?
final
defaultCurrency → String?
final
detailsSubmitted → bool?
final
email → String?
final
externalAccounts → AccountExternalAccounts?
ExternalAccountList
final
futureRequirements → AccountFutureRequirements?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of the Account.
final
individual → Person?
final
metadata → Map<String, String>?
final
object → String
final
payoutsEnabled → bool?
final
requirements → AccountRequirements?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings → AccountSettings?
Options for customizing how the account functions within Stripe.
final
tosAcceptance → AccountTosAcceptance?
final
type → AccountType?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

encode<V>(Account instance, Encoder<V> encoder) → V
override