diff --git a/src/HotelsConnector/Element/CorrectionAvailability.php b/src/HotelsConnector/Element/CorrectionAvailability.php index d2d4628..8b61cfe 100644 --- a/src/HotelsConnector/Element/CorrectionAvailability.php +++ b/src/HotelsConnector/Element/CorrectionAvailability.php @@ -17,7 +17,7 @@ class CorrectionAvailability * Доступна ли коррекция услуги * Is service correction available * - * @var int + * @var bool */ public $isCorrectionAvailable; @@ -93,7 +93,7 @@ class CorrectionAvailability public $referenceId; /** - * @param int $isCorrectionAvailable + * @param bool $isCorrectionAvailable */ public function setIsCorrectionAvailable($isCorrectionAvailable) { @@ -181,7 +181,7 @@ public function getAvailableCorrectionNumber() } /** - * @return int + * @return bool */ public function getIsCorrectionAvailable() { diff --git a/src/HotelsConnector/Element/EditMeal.php b/src/HotelsConnector/Element/EditMeal.php new file mode 100644 index 0000000..f7baf19 --- /dev/null +++ b/src/HotelsConnector/Element/EditMeal.php @@ -0,0 +1,25 @@ +booked; + } + + /** + * @param mixed $booked + */ + public function setBooked($booked) + { + $this->booked = $booked; + } +} diff --git a/src/HotelsConnector/Enum/ClassMaps.php b/src/HotelsConnector/Enum/ClassMaps.php index c1700c0..15b2d39 100644 --- a/src/HotelsConnector/Enum/ClassMaps.php +++ b/src/HotelsConnector/Enum/ClassMaps.php @@ -188,6 +188,7 @@ class ClassMaps extends Enum 'Taxes' => Element\Taxes::class, 'TimeRange' => Element\TimeRange::class, 'EditServiceHourPrice' => Element\EditServiceHourPrice::class, + 'EditMeal' => Element\EditMeal::class ];