Skip to content

Commit

Permalink
Little fixes And update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmaGhareeb committed Dec 13, 2016
1 parent 1215f09 commit b0fb4e4
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 75 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": ">=5.4.0",
"kriswallsmith/buzz": "^0.15.0",
"ext-curl": "*",
"jms/serializer": "1.1.0",
"jms/serializer": "1.0.0",
"doctrine/collections": "^1.3"

},
Expand Down
102 changes: 48 additions & 54 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 15 additions & 6 deletions src/SalmaAbdelhady/RoomsXML/Model/Booking.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
class Booking
{
/**
* @var
* @var booking creation date
* @Type(name="DateTime<'Y-m-d'>")
* @SerializedName("CreationDate")
*/
protected $CreationDate;

/**
* @var
* @var hotel booking details
* @SerializedName("HotelBooking")
* @XmlList(inline=true,entry="HotelBooking")
* @XmlElement(cdata=false)
Expand All @@ -40,31 +40,40 @@ class Booking
protected $HotelBooking;

/**
* @return mixed
* get booking creating date
*
* @return \DateTime
*/
public function getCreationDate()
{
return $this->CreationDate;
}

/**
* @param mixed $CreationDate
* set booking creation date
*
* @param $CreationDate
*/
public function setCreationDate($CreationDate)
{
$this->CreationDate = $CreationDate;
}

/**
* @return mixed
* Get hotel booking object
*
*
* @return HotelBooking
*/
public function getHotelBooking()
{
return $this->HotelBooking;
}

/**
* @param mixed $HotelBooking
* HotelBooking setter
*
* @param HotelBooking $HotelBooking
*/
public function setHotelBooking($HotelBooking)
{
Expand Down
Loading

0 comments on commit b0fb4e4

Please sign in to comment.