@@ 5-63 (lines=59) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class AvailabilityOverview |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var int $ID_RateCode |
|
10 | */ |
|
11 | protected $ID_RateCode = null; |
|
12 | ||
13 | /** |
|
14 | * @var float $RateAmount |
|
15 | */ |
|
16 | protected $RateAmount = null; |
|
17 | ||
18 | /** |
|
19 | * @param int $ID_RateCode |
|
20 | * @param float $RateAmount |
|
21 | */ |
|
22 | public function __construct($ID_RateCode, $RateAmount) |
|
23 | { |
|
24 | $this->ID_RateCode = $ID_RateCode; |
|
25 | $this->RateAmount = $RateAmount; |
|
26 | } |
|
27 | ||
28 | /** |
|
29 | * @return int |
|
30 | */ |
|
31 | public function getID_RateCode() |
|
32 | { |
|
33 | return $this->ID_RateCode; |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * @param int $ID_RateCode |
|
38 | * @return \Gueststream\PMS\IQWare\API\AvailabilityOverview |
|
39 | */ |
|
40 | public function setID_RateCode($ID_RateCode) |
|
41 | { |
|
42 | $this->ID_RateCode = $ID_RateCode; |
|
43 | return $this; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * @return float |
|
48 | */ |
|
49 | public function getRateAmount() |
|
50 | { |
|
51 | return $this->RateAmount; |
|
52 | } |
|
53 | ||
54 | /** |
|
55 | * @param float $RateAmount |
|
56 | * @return \Gueststream\PMS\IQWare\API\AvailabilityOverview |
|
57 | */ |
|
58 | public function setRateAmount($RateAmount) |
|
59 | { |
|
60 | $this->RateAmount = $RateAmount; |
|
61 | return $this; |
|
62 | } |
|
63 | } |
|
64 |
@@ 5-63 (lines=59) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class GoogleRates |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var int $ID_RateCode |
|
10 | */ |
|
11 | protected $ID_RateCode = null; |
|
12 | ||
13 | /** |
|
14 | * @var int $ID_RoomType |
|
15 | */ |
|
16 | protected $ID_RoomType = null; |
|
17 | ||
18 | /** |
|
19 | * @param int $ID_RateCode |
|
20 | * @param int $ID_RoomType |
|
21 | */ |
|
22 | public function __construct($ID_RateCode, $ID_RoomType) |
|
23 | { |
|
24 | $this->ID_RateCode = $ID_RateCode; |
|
25 | $this->ID_RoomType = $ID_RoomType; |
|
26 | } |
|
27 | ||
28 | /** |
|
29 | * @return int |
|
30 | */ |
|
31 | public function getID_RateCode() |
|
32 | { |
|
33 | return $this->ID_RateCode; |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * @param int $ID_RateCode |
|
38 | * @return \Gueststream\PMS\IQWare\API\GoogleRates |
|
39 | */ |
|
40 | public function setID_RateCode($ID_RateCode) |
|
41 | { |
|
42 | $this->ID_RateCode = $ID_RateCode; |
|
43 | return $this; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * @return int |
|
48 | */ |
|
49 | public function getID_RoomType() |
|
50 | { |
|
51 | return $this->ID_RoomType; |
|
52 | } |
|
53 | ||
54 | /** |
|
55 | * @param int $ID_RoomType |
|
56 | * @return \Gueststream\PMS\IQWare\API\GoogleRates |
|
57 | */ |
|
58 | public function setID_RoomType($ID_RoomType) |
|
59 | { |
|
60 | $this->ID_RoomType = $ID_RoomType; |
|
61 | return $this; |
|
62 | } |
|
63 | } |
|
64 |