RoomTypeAvailabilityData
extends AbstractDataTransferObject
in package
Data transfer object for room type availability.
Table of Contents
- $availableRoomsCount : mixed
- $isCheckInDate : mixed
- $isCheckInNotAllowed : mixed
- $isCheckOutDate : mixed
- $isCheckOutNotAllowed : mixed
- $isEarlierThanMinAdvanceDate : mixed
- $isLaterThanMaxAdvanceDate : mixed
- $isStayInNotAllowed : mixed
- $maxStayNights : mixed
- $minStayNights : mixed
- $roomTypeStatus : RoomTypeAvailabilityStatus
- __construct() : mixed
- getAvailableRoomsCount() : mixed
- getMaxStayNights() : mixed
- getMinStayNights() : mixed
- getRoomTypeStatus() : mixed
- isCheckInDate() : mixed
- isCheckInNotAllowed() : mixed
- isCheckOutDate() : mixed
- isCheckOutNotAllowed() : mixed
- isEarlierThanMinAdvanceDate() : mixed
- isLaterThanMaxAdvanceDate() : mixed
- isStayInNotAllowed() : mixed
- toArray() : mixed
Properties
$availableRoomsCount
private
mixed
$availableRoomsCount
$isCheckInDate
private
mixed
$isCheckInDate
$isCheckInNotAllowed
private
mixed
$isCheckInNotAllowed
$isCheckOutDate
private
mixed
$isCheckOutDate
$isCheckOutNotAllowed
private
mixed
$isCheckOutNotAllowed
$isEarlierThanMinAdvanceDate
private
mixed
$isEarlierThanMinAdvanceDate
$isLaterThanMaxAdvanceDate
private
mixed
$isLaterThanMaxAdvanceDate
$isStayInNotAllowed
private
mixed
$isStayInNotAllowed
$maxStayNights
private
mixed
$maxStayNights
= null
$minStayNights
private
mixed
$minStayNights
$roomTypeStatus
private
RoomTypeAvailabilityStatus
$roomTypeStatus
Methods
__construct()
public
__construct(mixed $roomTypeStatus, mixed $availableRoomsCount[, mixed $isCheckInDate = false ][, mixed $isCheckOutDate = false ][, mixed $isStayInNotAllowed = false ][, mixed $isCheckInNotAllowed = false ][, mixed $isCheckOutNotAllowed = false ][, mixed $isEarlierThanMinAdvanceDate = false ][, mixed $isLaterThanMaxAdvanceDate = false ][, mixed $minStayNights = 1 ][, mixed $maxStayNights = null ]) : mixed
Parameters
- $roomTypeStatus : mixed
- $availableRoomsCount : mixed
- $isCheckInDate : mixed = false
- $isCheckOutDate : mixed = false
- $isStayInNotAllowed : mixed = false
- $isCheckInNotAllowed : mixed = false
- $isCheckOutNotAllowed : mixed = false
- $isEarlierThanMinAdvanceDate : mixed = false
- $isLaterThanMaxAdvanceDate : mixed = false
- $minStayNights : mixed = 1
- $maxStayNights : mixed = null
Return values
mixed —getAvailableRoomsCount()
public
getAvailableRoomsCount() : mixed
Return values
mixed —getMaxStayNights()
public
getMaxStayNights() : mixed
Return values
mixed —getMinStayNights()
public
getMinStayNights() : mixed
Return values
mixed —getRoomTypeStatus()
public
getRoomTypeStatus() : mixed
Return values
mixed —isCheckInDate()
public
isCheckInDate() : mixed
Return values
mixed —isCheckInNotAllowed()
public
isCheckInNotAllowed() : mixed
Return values
mixed —isCheckOutDate()
public
isCheckOutDate() : mixed
Return values
mixed —isCheckOutNotAllowed()
public
isCheckOutNotAllowed() : mixed
Return values
mixed —isEarlierThanMinAdvanceDate()
public
isEarlierThanMinAdvanceDate() : mixed
Return values
mixed —isLaterThanMaxAdvanceDate()
public
isLaterThanMaxAdvanceDate() : mixed
Return values
mixed —isStayInNotAllowed()
public
isStayInNotAllowed() : mixed
Return values
mixed —toArray()
public
toArray() : mixed