EsimInputs class

Constructors

EsimInputs({bool? isInstant, String? eid, String? imei2, DateTime? travelStartDate, String? iccid, MoneyInput? maxPrice})
Returns a new EsimInputs instance.

Properties

eid ↔ String?
The EID of the device, when the offer requires it.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
iccid ↔ String?
The ICCID (18 to 22 digits) of your eSIM that a top-up offer from search?iccid= tops up. It alone makes the item a top-up: a top-up offer has the publicId of the plan's purchase offer, so without it the item is a new eSIM.
getter/setter pair
imei2 ↔ String?
The second IMEI of the device, when the offer requires it.
getter/setter pair
isInstant ↔ bool?
True when omitted: the eSIM is created when the order is fulfilled. False delivers an entitlement, and the eSIM is created later through provisioning. A top-up is always instant, so false is not allowed with an ICCID.
getter/setter pair
maxPrice ↔ MoneyInput?
Optional highest accepted unit price, in the order or cart currency; a higher current unit price gives 409 / 11002.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
travelStartDate ↔ DateTime?
The first day of travel, when the offer requires it. A deferred eSIM may send it at provisioning instead.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → EsimInputs?
Returns a new EsimInputs instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<EsimInputs>
mapFromJson(dynamic json) → Map<String, EsimInputs>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<EsimInputs>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.