FlightOrderRequestItem class
Constructors
- FlightOrderRequestItem({required String publicId, int? quantity, FlightInputs? inputs})
- Returns a new FlightOrderRequestItem instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- inputs ↔ FlightInputs?
-
The passengers, paid extras and optional price guard of the fare. Optional on quote, which then prices the fare alone; required on order.
getter/setter pair
- publicId ↔ String
-
A fare's
publicIdfrom search, or thepublicIda quote returned for the item or one of its fare options. A search itineraryidis not a fare and gives 400 / 11004.getter/setter pair - quantity ↔ int?
-
Always 1: one item books one fare for all its passengers.
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) → FlightOrderRequestItem? -
Returns a new FlightOrderRequestItem instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< FlightOrderRequestItem> -
mapFromJson(
dynamic json) → Map< String, FlightOrderRequestItem> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< FlightOrderRequestItem> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.