BalanceTransaction class

Constructors

BalanceTransaction.new({required String id, required int amount, required String currency, required String description, required int fee, required List<FeeDetails> fee_details, required int net, required String source, required String status, required String type, required num available_on, required num created, required num exchange_rate, required String object, required String reporting_category})

Properties

amount int
Gross amount of the transaction, in cents.
final
available_on num
The date the transaction’s net funds will become available in the Stripe balance.
final
created num
Time at which the object was created. Measured in seconds since the Unix epoch.
final
currency String
final
description String
An arbitrary string attached to the object. Often useful for displaying to users.
final
exchange_rate num
The exchange rate used, if applicable, for this transaction. Specifically, if money was converted from currency A to currency B, then the amount in currency A, times exchange_rate, would be the amount in currency B. For example, suppose you charged a customer 10.00 EUR. Then the PaymentIntent’s amount would be 1000 and currency would be eur. Suppose this was converted into 12.34 USD in your Stripe account. Then the BalanceTransaction’s amount would be 1234, currency would be usd, and exchange_rate would be 1.234.
final
fee int
Fees (in cents) paid for this transaction.
final
fee_details List<FeeDetails>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
net int
Net amount of the transaction, in cents.
final
object String
string, value is "balance_transaction"
final
reporting_category String
Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
The Stripe object to which this transaction is related.
final
status String
If the transaction’s net funds are available in the Stripe balance yet. Either available or pending.
final
type String
Transaction type: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

parse(Map<String, dynamic> parsedJSON) BalanceTransaction