Skip to content

Commit

Permalink
Merge pull request #43 from bronevik-com/master
Browse files Browse the repository at this point in the history
Добавлен элемент EditMeal
  • Loading branch information
DmitryNaum authored Nov 11, 2021
2 parents afa9115 + 778d872 commit 4bf73f0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HotelsConnector/Element/CorrectionAvailability.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CorrectionAvailability
* Доступна ли коррекция услуги
* Is service correction available
*
* @var int
* @var bool
*/
public $isCorrectionAvailable;

Expand Down Expand Up @@ -93,7 +93,7 @@ class CorrectionAvailability
public $referenceId;

/**
* @param int $isCorrectionAvailable
* @param bool $isCorrectionAvailable
*/
public function setIsCorrectionAvailable($isCorrectionAvailable)
{
Expand Down Expand Up @@ -181,7 +181,7 @@ public function getAvailableCorrectionNumber()
}

/**
* @return int
* @return bool
*/
public function getIsCorrectionAvailable()
{
Expand Down
25 changes: 25 additions & 0 deletions src/HotelsConnector/Element/EditMeal.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php


namespace Bronevik\HotelsConnector\Element;

class EditMeal extends AvailableMeal
{
public $booked;

/**
* @return mixed
*/
public function getBooked()
{
return $this->booked;
}

/**
* @param mixed $booked
*/
public function setBooked($booked)
{
$this->booked = $booked;
}
}
1 change: 1 addition & 0 deletions src/HotelsConnector/Enum/ClassMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ class ClassMaps extends Enum
'Taxes' => Element\Taxes::class,
'TimeRange' => Element\TimeRange::class,
'EditServiceHourPrice' => Element\EditServiceHourPrice::class,
'EditMeal' => Element\EditMeal::class

];

Expand Down

0 comments on commit 4bf73f0

Please sign in to comment.