EsimOrderRequestItem class
Constructors
- EsimOrderRequestItem({required String publicId, int? quantity, EsimInputs? inputs})
- Returns a new EsimOrderRequestItem instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- inputs ↔ EsimInputs?
-
The inputs the offer's
requiredInputslist, plus the optionalmaxPrice. May be omitted for a new eSIM whose offer requires none; a top-up needsiccid.getter/setter pair - publicId ↔ String
-
Offer public ID from search, top-up search, a destination or the catalog.
getter/setter pair
- quantity ↔ int?
-
Number of eSIMs, at least 1; default 1. Each eSIM becomes its own order item. A top-up takes exactly 1.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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) → EsimOrderRequestItem? -
Returns a new EsimOrderRequestItem instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< EsimOrderRequestItem> -
mapFromJson(
dynamic json) → Map< String, EsimOrderRequestItem> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< EsimOrderRequestItem> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.