RecentOperation class

A recent operation, with the uid needed to download its receipt.

Constructors

RecentOperation({required String uid, required String type, required String pid, required double amount, required String currency, required String timestamp, DateTime? date, String? providerName, int? sourceType, String? sourceId, int? status, String? operationId, Map<String, Object?> raw = const {}})
Creates an operation.
const

Properties

amount → double
Amount.
final
currency → String
Currency code.
final
date → DateTime?
timestamp as a UTC DateTime.
final
hashCode → int
The hash code for this object.
no setterinherited
operationId → String?
The operation's reference: the same value as Transaction.refNum in the account history.
final
pid → String
Provider id.
final
providerName → String?
Provider name, for example Mobilis.
final
raw → Map<String, Object?>
Raw server data.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceId → String?
Card or account used.
final
sourceType → int?
1 for a card, 2 for an account.
final
status → int?
Operation status.
final
timestamp → String
Server timestamp, yyyyMMddHHmmss in Algeria time.
final
type → String
Operation type.
final
uid → String
Operation id, used by receipts.download().
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