| @@ 46-54 (lines=9) @@ | ||
| 43 | * @param \DateTime $DepartureDate |
|
| 44 | * @param int $AccountStatus |
|
| 45 | */ |
|
| 46 | public function __construct($ConfirmationNo, $Name, \DateTime $CreationDate, \DateTime $ArrivalDate, \DateTime $DepartureDate, $AccountStatus) |
|
| 47 | { |
|
| 48 | $this->ConfirmationNo = $ConfirmationNo; |
|
| 49 | $this->Name = $Name; |
|
| 50 | $this->CreationDate = $CreationDate->format(\DateTime::ATOM); |
|
| 51 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
|
| 52 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
|
| 53 | $this->AccountStatus = $AccountStatus; |
|
| 54 | } |
|
| 55 | ||
| 56 | /** |
|
| 57 | * @return int |
|
| @@ 51-59 (lines=9) @@ | ||
| 48 | * @param \DateTime $SystemCreationDate |
|
| 49 | * @param float $GrossRevenue |
|
| 50 | */ |
|
| 51 | public function __construct($ID_Guest, \DateTime $ArrivalDate, \DateTime $DepartureDate, $BookingCondoType, \DateTime $SystemCreationDate, $GrossRevenue) |
|
| 52 | { |
|
| 53 | $this->ID_Guest = $ID_Guest; |
|
| 54 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
|
| 55 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
|
| 56 | $this->BookingCondoType = $BookingCondoType; |
|
| 57 | $this->SystemCreationDate = $SystemCreationDate->format(\DateTime::ATOM); |
|
| 58 | $this->GrossRevenue = $GrossRevenue; |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * @return int |
|