EsimUsageReading class
Constructors
-
EsimUsageReading({required String iccid, required EsimUsageReadingStatusEnum status, required DateTime capturedAt, DateTime? start, DateTime? end, required bool isUnlimited, required EsimUsageReadingUsageBandEnum usageBand, required EsimUsageReadingExpiryBandEnum expiryBand, required int allowedData, required int remainingData, required int allowedSms, required int remainingSms, required int allowedVoice, required int remainingVoice})
-
Returns a new EsimUsageReading instance.
Properties
-
allowedData
↔ int
-
Total data in MB; 9007199254740991 means unlimited.
getter/setter pair
-
allowedSms
↔ int
-
Total SMS.
getter/setter pair
-
allowedVoice
↔ int
-
Total voice in seconds.
getter/setter pair
-
capturedAt
↔ DateTime
-
When the usage was read, in UTC.
getter/setter pair
-
end
↔ DateTime?
-
When the plan ends, in UTC; null while no end is set.
getter/setter pair
-
expiryBand
↔ EsimUsageReadingExpiryBandEnum
-
How close the plan was to its end at the reading: none, or within 14, 7, 3 or 1 days.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
iccid
↔ String
-
The eSIM's ICCID.
getter/setter pair
-
isUnlimited
↔ bool
-
Whether the plan has unlimited data.
getter/setter pair
-
remainingData
↔ int
-
Remaining data in MB; 9007199254740991 means unlimited.
getter/setter pair
-
remainingSms
↔ int
-
Remaining SMS.
getter/setter pair
-
remainingVoice
↔ int
-
Remaining voice in seconds.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
start
↔ DateTime?
-
When the plan started, in UTC; null until it is activated.
getter/setter pair
-
status
↔ EsimUsageReadingStatusEnum
-
The eSIM's lifecycle status at the reading.
getter/setter pair
-
usageBand
↔ EsimUsageReadingUsageBandEnum
-
The share of data used at the reading: none, 25, 50, 75 or 90 percent, or depleted.
getter/setter pair