HotelQuoteItemDetails class
Constructors
-
HotelQuoteItemDetails({DateTime? expiresAt, HotelQuoteItemDetailsAvailabilityEnum? availability, DateTime? checkInDate, DateTime? checkOutDate, List<
RoomOccupancy> requestedRooms = const [], BookingTerms? terms, QuotedRate? rate}) - Returns a new HotelQuoteItemDetails instance.
Properties
- availability ↔ HotelQuoteItemDetailsAvailabilityEnum?
-
confirmedwhen the rate is confirmed;onRequestwhen it is held only on request, which an order refuses with 409 / 11003.getter/setter pair - checkInDate ↔ DateTime?
-
The searched check-in date.
getter/setter pair
- checkOutDate ↔ DateTime?
-
The searched check-out date.
getter/setter pair
- expiresAt ↔ DateTime?
-
When the returned
publicIdstops being accepted (UTC): at most 30 minutes after the quote, and never after an expiry the hotel system states.getter/setter pair - hashCode → int
-
The hash code for this object.
no setteroverride
- rate ↔ QuotedRate?
-
The rate as quoted: rooms, board, taxes, nightly prices and surcharges. The quote's surcharges are the binding list.
getter/setter pair
-
requestedRooms
↔ List<
RoomOccupancy> -
The searched rooms, in search order: adults, children and child ages.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terms ↔ BookingTerms?
-
How the stay is paid, what cancelling gives back and whether it can be changed, as quoted, in the quote currency and with OpenRoam's fees included.
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) → HotelQuoteItemDetails? -
Returns a new HotelQuoteItemDetails instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< HotelQuoteItemDetails> -
mapFromJson(
dynamic json) → Map< String, HotelQuoteItemDetails> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< HotelQuoteItemDetails> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.