TreasuryTransaction class final
TreasuryTransactionsResourceTransaction
Transactions represent changes to a [FinancialAccount's](https://stripe.com/docs/api#financial_accounts) balance.
- Implemented types
Constructors
- TreasuryTransaction({required int amount, required TreasuryTransactionsResourceBalanceImpact balanceImpact, required DateTime created, required String currency, required String description, TreasuryTransactionEntries? entries, required String financialAccount, String? flow, TreasuryTransactionFlowDetails? flowDetails, required TreasuryTransactionFlowDetailsType flowType, required String id, required bool livemode, required TreasuryTransactionStatus status, required TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions statusTransitions})
-
TreasuryTransactionsResourceTransaction
const
- TreasuryTransaction.fromJson(Object? json)
-
factory
Properties
- amount → int
-
final
- balanceImpact → TreasuryTransactionsResourceBalanceImpact
-
final
- created → DateTime
-
final
- currency → String
-
final
- description → String
-
final
- entries → TreasuryTransactionEntries?
-
TreasuryTransactionsResourceTransactionEntryList
final
- financialAccount → String
-
final
- flow → String?
-
final
- flowDetails → TreasuryTransactionFlowDetails?
-
Details of the flow that created the Transaction.
final
- flowType → TreasuryTransactionFlowDetailsType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the TreasuryTransaction.
final
- livemode → bool
-
final
- object → String
-
The resource's type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → TreasuryTransactionStatus
-
final
- statusTransitions → TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions
-
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> (TreasuryTransaction instance, Encoder< V> encoder) → V -
override