| @@ 193-208 (lines=16) @@ | ||
| 190 | * @param int $ID_RoomType |
|
| 191 | * @param int $ID_Accomodation |
|
| 192 | */ |
|
| 193 | public function __construct($AccountNo, $AccountStatusType, $NumberOfGuests, \DateTime $ArrivalDate, \DateTime $DepartureDate, $ID_MarketSegment, $CrsBookingType, $ManualRateType, $ID_RateCode, $ManualRate, $ID_ManualRateReason, $ID_RoomType, $ID_Accomodation) |
|
| 194 | { |
|
| 195 | $this->AccountNo = $AccountNo; |
|
| 196 | $this->AccountStatusType = $AccountStatusType; |
|
| 197 | $this->NumberOfGuests = $NumberOfGuests; |
|
| 198 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
|
| 199 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
|
| 200 | $this->ID_MarketSegment = $ID_MarketSegment; |
|
| 201 | $this->CrsBookingType = $CrsBookingType; |
|
| 202 | $this->ManualRateType = $ManualRateType; |
|
| 203 | $this->ID_RateCode = $ID_RateCode; |
|
| 204 | $this->ManualRate = $ManualRate; |
|
| 205 | $this->ID_ManualRateReason = $ID_ManualRateReason; |
|
| 206 | $this->ID_RoomType = $ID_RoomType; |
|
| 207 | $this->ID_Accomodation = $ID_Accomodation; |
|
| 208 | } |
|
| 209 | ||
| 210 | /** |
|
| 211 | * @return int |
|
| @@ 94-110 (lines=17) @@ | ||
| 91 | * @param string $AccountStatusString |
|
| 92 | * @param string $ID_RateCode |
|
| 93 | */ |
|
| 94 | public function __construct($ID_Account, $AccountNo, $RoomNo, $AccountName, $ID_RoomType, $RoomTypeName, $RoomQty, $GuestTotal, \DateTime $ArrivalDate, \DateTime $DepartureDate, $ID_Group, $AccountStatus, $AccountStatusString, $ID_RateCode) |
|
| 95 | { |
|
| 96 | $this->ID_Account = $ID_Account; |
|
| 97 | $this->AccountNo = $AccountNo; |
|
| 98 | $this->RoomNo = $RoomNo; |
|
| 99 | $this->AccountName = $AccountName; |
|
| 100 | $this->ID_RoomType = $ID_RoomType; |
|
| 101 | $this->RoomTypeName = $RoomTypeName; |
|
| 102 | $this->RoomQty = $RoomQty; |
|
| 103 | $this->GuestTotal = $GuestTotal; |
|
| 104 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
|
| 105 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
|
| 106 | $this->ID_Group = $ID_Group; |
|
| 107 | $this->AccountStatus = $AccountStatus; |
|
| 108 | $this->AccountStatusString = $AccountStatusString; |
|
| 109 | $this->ID_RateCode = $ID_RateCode; |
|
| 110 | } |
|
| 111 | ||
| 112 | /** |
|
| 113 | * @return int |
|