Class ApiStay
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiStay
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiStay
extends Object
Defines the time of the stay at the hotel.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowOnlyShift(Boolean allowOnlyShift) booleanDefines if results are returned for shiftDays even if there's no results for the searched dates.@NotNull @Valid LocalDateCheck-in date.@NotNull @Valid LocalDateCheck-out date.@Min(1L) @Max(5L) IntegerAmount of days after and before the check-in to check availability, keeping the same stay duration.inthashCode()voidsetAllowOnlyShift(Boolean allowOnlyShift) voidsetCheckIn(LocalDate checkIn) voidsetCheckOut(LocalDate checkOut) voidsetShiftDays(Integer shiftDays) toString()
-
Field Details
-
JSON_PROPERTY_CHECK_IN
- See Also:
-
JSON_PROPERTY_CHECK_OUT
- See Also:
-
JSON_PROPERTY_SHIFT_DAYS
- See Also:
-
JSON_PROPERTY_ALLOW_ONLY_SHIFT
- See Also:
-
-
Constructor Details
-
ApiStay
public ApiStay()
-
-
Method Details
-
checkIn
-
getCheckIn
Check-in date.- Returns:
- checkIn
-
setCheckIn
-
checkOut
-
getCheckOut
Check-out date.- Returns:
- checkOut
-
setCheckOut
-
shiftDays
-
getShiftDays
Amount of days after and before the check-in to check availability, keeping the same stay duration. minimum: 1 maximum: 5- Returns:
- shiftDays
-
setShiftDays
-
allowOnlyShift
-
getAllowOnlyShift
Defines if results are returned for shiftDays even if there's no results for the searched dates.- Returns:
- allowOnlyShift
-
setAllowOnlyShift
-
equals
-
hashCode
public int hashCode() -
toString
-