TreasuryFinancialAccount constructor

const TreasuryFinancialAccount({
  1. List<TreasuryFinancialAccountActiveFeaturesItem>? activeFeatures,
  2. required TreasuryFinancialAccountsResourceBalance balance,
  3. required String country,
  4. required DateTime created,
  5. TreasuryFinancialAccountFeatures? features,
  6. required List<TreasuryFinancialAccountsResourceFinancialAddress> financialAddresses,
  7. required String id,
  8. required bool livemode,
  9. Map<String, String>? metadata,
  10. List<TreasuryFinancialAccountActiveFeaturesItem>? pendingFeatures,
  11. TreasuryFinancialAccountPlatformRestrictions? platformRestrictions,
  12. List<TreasuryFinancialAccountActiveFeaturesItem>? restrictedFeatures,
  13. required TreasuryFinancialAccountStatus status,
  14. required TreasuryFinancialAccountsResourceStatusDetails statusDetails,
  15. required List<String> supportedCurrencies,
})

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.

Implementation

const TreasuryFinancialAccount({
  this.activeFeatures,
  required this.balance,
  required this.country,
  required this.created,
  this.features,
  required this.financialAddresses,
  required this.id,
  required this.livemode,
  this.metadata,
  this.pendingFeatures,
  this.platformRestrictions,
  this.restrictedFeatures,
  required this.status,
  required this.statusDetails,
  required this.supportedCurrencies,
});