TransactionAnalytics class
Transaction analytics engine
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearData(
) → void - Clears all analytics data
-
getOverallAnalytics(
{DateTime? startDate, DateTime? endDate}) → OverallAnalytics - Gets overall transaction analytics
-
getPaymentAnalytics(
{DateTime? startDate, DateTime? endDate}) → PaymentAnalytics - Gets payment analytics for a date range
-
getRefundAnalytics(
{DateTime? startDate, DateTime? endDate}) → RefundAnalytics - Gets refund analytics for a date range
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordLookup(
TransactionStatus lookup) → void - Adds a transaction lookup to analytics
-
recordPayment(
PaymentResponse payment) → void - Adds a payment response to analytics
-
recordRefund(
RefundResponse refund) → void - Adds a refund response to analytics
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited