Class ItineraryNonAuthenticatedEntity
java.lang.Object
travel.wink.sdk.lookup.model.ItineraryNonAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-04T20:30:38.486457190+07:00[Asia/Bangkok]")
public class ItineraryNonAuthenticatedEntity
extends Object
BookingItinerary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow many total children for this stay@Valid LocalDateOptional end date.How many total guests for this staygetHours()Number of hours between start and end dates.@NotNull @Valid @Size(min=1,max=2147483647) List<RoomConfigurationNonAuthenticatedEntity> getItems()Room configurationsOptional number of nights.getRooms()How many total rooms for this stay@NotNull @Valid LocalDateStart date of itineraryinthashCode()voidsetChildren(Integer children) voidsetEndDate(LocalDate endDate) voidvoidvoidvoidvoidsetStartDate(LocalDate startDate) toString()
-
Field Details
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_NIGHTS
- See Also:
-
JSON_PROPERTY_ITEMS
- See Also:
-
JSON_PROPERTY_HOURS
- See Also:
-
JSON_PROPERTY_CHILDREN
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_GUESTS
- See Also:
-
-
Constructor Details
-
ItineraryNonAuthenticatedEntity
public ItineraryNonAuthenticatedEntity() -
ItineraryNonAuthenticatedEntity
-
-
Method Details
-
startDate
-
getStartDate
Start date of itinerary- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Optional end date. If endDate is empty, nights needs to be present. If both are present, nights will take precedence.- Returns:
- endDate
-
setEndDate
-
nights
-
getNights
Optional number of nights. If nights is empty, endDate needs to be present. If both are present, nights will take precedence.- Returns:
- nights
-
setNights
-
items
-
addItemsItem
public ItineraryNonAuthenticatedEntity addItemsItem(RoomConfigurationNonAuthenticatedEntity itemsItem) -
getItems
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<RoomConfigurationNonAuthenticatedEntity> getItems()Room configurations- Returns:
- items
-
setItems
-
getHours
Number of hours between start and end dates. Used for itineraries that require bookings that occur within hours and not days. E.g. Meeting room reservation.- Returns:
- hours
-
children
-
getChildren
-
setChildren
-
rooms
-
getRooms
-
setRooms
-
guests
-
getGuests
-
setGuests
-
equals
-
hashCode
-
toString
-