TransactionTotals class
Contains aggregated statistics and totals for transactions.
This model provides summary information about transaction volumes, customer counts, and various transaction states. Used for analytics and reporting purposes to give merchants insight into their payment data.
Example usage:
final totals = TransactionTotals(
totalTransactions: 1500,
uniqueCustomers: 890,
totalVolume: 75000000, // ₦750,000.00 in kobo
pendingTransactions: 25,
);
// Display analytics
print('Processed ${totals.totalTransactions} transactions');
print('From ${totals.uniqueCustomers} unique customers');
- Mixed-in types
- Annotations
-
- @MappableClass.new()
Constructors
Properties
-
copyWith
→ TransactionTotalsCopyWith<
TransactionTotals, TransactionTotals, TransactionTotals> -
no setterinherited
- disabledTransactions → int?
-
Number of transactions that have been disabled or blocked.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pendingTransactions → int?
-
Number of transactions that are currently pending completion.
final
- pendingTransfers → int?
-
Number of transfers that are currently pending.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalTransactions → int?
-
Total number of transactions processed.
final
- totalVolume → int?
-
Total transaction volume in the smallest currency unit.
final
-
totalVolumeByCurrency
→ List<
CurrencyAmount> ? -
Total transaction volume broken down by currency.
final
- uniqueCustomers → int?
-
Number of unique customers who made transactions.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited