BalanceTransaction class final

A ledger transaction and the amounts allocated, available, pending, or spent.

Resource identifiers connect the transaction to its originating payment, refund, payout, or order when the API provides that relationship.

Constructors

BalanceTransaction({required Amount amount, List<Allocation>? allocations, Amount? availableAmount, Amount? pendingAmount, Amount? spentAmount, DateTime? availableAt, DateTime? claimedAt, required DateTime createdAt, required String id, String? orderId, DateTime? paidAt, String? paymentId, String? payoutId, PaymentConfiguration? payoutConfiguration, String? refundId, required Type type})
const
BalanceTransaction.fromJson(Map<String, Object?> json)
factory

Properties

allocations → List<Allocation>?
final
amount → Amount
final
availableAmount → Amount?
final
availableAt → DateTime?
final
claimedAt → DateTime?
final
createdAt → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
orderId → String?
final
paidAt → DateTime?
final
paymentId → String?
final
payoutConfiguration → PaymentConfiguration?
final
payoutId → String?
final
pendingAmount → Amount?
final
refundId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spentAmount → Amount?
final
type → Type
final

Methods

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

Operators

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