TreasuryFinancialAccount class final
TreasuryFinancialAccountsResourceFinancialAccount
Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance. FinancialAccounts serve as the source and destination of Treasury’s money movement APIs.
- Implemented types
Constructors
-
TreasuryFinancialAccount({List<
TreasuryFinancialAccountActiveFeaturesItem> ? activeFeatures, required TreasuryFinancialAccountsResourceBalance balance, required String country, required DateTime created, TreasuryFinancialAccountFeatures? features, required List<TreasuryFinancialAccountsResourceFinancialAddress> financialAddresses, required String id, required bool livemode, Map<String, String> ? metadata, List<TreasuryFinancialAccountActiveFeaturesItem> ? pendingFeatures, TreasuryFinancialAccountPlatformRestrictions? platformRestrictions, List<TreasuryFinancialAccountActiveFeaturesItem> ? restrictedFeatures, required TreasuryFinancialAccountStatus status, required TreasuryFinancialAccountsResourceStatusDetails statusDetails, required List<String> supportedCurrencies}) -
TreasuryFinancialAccountsResourceFinancialAccount
const
- TreasuryFinancialAccount.fromJson(Object? json)
-
factory
Properties
-
activeFeatures
→ List<
TreasuryFinancialAccountActiveFeaturesItem> ? -
final
- balance → TreasuryFinancialAccountsResourceBalance
-
final
- country → String
-
final
- created → DateTime
-
final
- features → TreasuryFinancialAccountFeatures?
-
final
-
financialAddresses
→ List<
TreasuryFinancialAccountsResourceFinancialAddress> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- livemode → bool
-
final
-
metadata
→ Map<
String, String> ? -
final
- object → String
-
The resource's type.
final
-
pendingFeatures
→ List<
TreasuryFinancialAccountActiveFeaturesItem> ? -
final
- platformRestrictions → TreasuryFinancialAccountPlatformRestrictions?
-
The set of functionalities that the platform can restrict on the FinancialAccount.
final
-
restrictedFeatures
→ List<
TreasuryFinancialAccountActiveFeaturesItem> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → TreasuryFinancialAccountStatus
-
final
- statusDetails → TreasuryFinancialAccountsResourceStatusDetails
-
final
-
supportedCurrencies
→ List<
String> -
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> (TreasuryFinancialAccount instance, Encoder< V> encoder) → V