Room class abstract
Room
Properties:
- numberOfNights - The total number of nights the room is booked for. * Format: Numeric * Must be a number between 1 and 99 * additionalData key:
lodging.room[N].numberOfNights - rate - Room rate per night, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000 * additionalData key:
lodging.room[N].rate
- Annotations
-
- @BuiltValue.new()
Constructors
- Room([void updates(RoomBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- numberOfNights → int?
-
The total number of nights the room is booked for. * Format: Numeric * Must be a number between 1 and 99 * additionalData key:
lodging.room[N].numberOfNightsno setter - rate → int?
-
Room rate per night, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000 * additionalData key:
lodging.room[N].rateno setter - 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
-
rebuild(
dynamic updates(RoomBuilder)) → Room -
Rebuilds the instance.
inherited
-
toBuilder(
) → RoomBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Room> -
no setter