DVMeterReport class
One tenant's usage of one meter over one period, as sent or to be sent.
Constructors
-
DVMeterReport({required String tenant, required String meter, required DVMeterPeriod period, required int quantity, required String idempotencyKey, required DVMeterReportStatus status, List<
String> codes = const <String>[], String? error}) -
const
Properties
-
codes
→ List<
String> -
final
- error → String?
-
Why the last attempt did not go through, for a queued report.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idempotencyKey → String
-
The same for every attempt at this period's report, so a provider that
received a report whose response was lost counts the retry once.
final
- meter → String
-
final
- period → DVMeterPeriod
-
final
- quantity → int
-
What is billed: a whole number, rounded up from the meter's figure.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → DVMeterReportStatus
-
final
- tenant → String
-
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