@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfActivityUnit implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var ActivityUnit[] $ActivityUnit |
|
10 | */ |
|
11 | protected $ActivityUnit = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return ActivityUnit[] |
|
21 | */ |
|
22 | public function getActivityUnit() |
|
23 | { |
|
24 | return $this->ActivityUnit; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param ActivityUnit[] $ActivityUnit |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfActivityUnit |
|
30 | */ |
|
31 | public function setActivityUnit(array $ActivityUnit = null) |
|
32 | { |
|
33 | $this->ActivityUnit = $ActivityUnit; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->ActivityUnit[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return ActivityUnit |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->ActivityUnit[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param ActivityUnit $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->ActivityUnit[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->ActivityUnit[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return ActivityUnit Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->ActivityUnit); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->ActivityUnit); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->ActivityUnit); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->ActivityUnit); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return ActivityUnit Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->ActivityUnit); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfActivityUnitAvail implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var ActivityUnitAvail[] $ActivityUnitAvail |
|
10 | */ |
|
11 | protected $ActivityUnitAvail = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return ActivityUnitAvail[] |
|
21 | */ |
|
22 | public function getActivityUnitAvail() |
|
23 | { |
|
24 | return $this->ActivityUnitAvail; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param ActivityUnitAvail[] $ActivityUnitAvail |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfActivityUnitAvail |
|
30 | */ |
|
31 | public function setActivityUnitAvail(array $ActivityUnitAvail = null) |
|
32 | { |
|
33 | $this->ActivityUnitAvail = $ActivityUnitAvail; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->ActivityUnitAvail[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return ActivityUnitAvail |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->ActivityUnitAvail[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param ActivityUnitAvail $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->ActivityUnitAvail[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->ActivityUnitAvail[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return ActivityUnitAvail Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->ActivityUnitAvail); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->ActivityUnitAvail); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->ActivityUnitAvail); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->ActivityUnitAvail); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return ActivityUnitAvail Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->ActivityUnitAvail); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfApplicableSpecialOffersRBO implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var ApplicableSpecialOffersRBO[] $ApplicableSpecialOffersRBO |
|
10 | */ |
|
11 | protected $ApplicableSpecialOffersRBO = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return ApplicableSpecialOffersRBO[] |
|
21 | */ |
|
22 | public function getApplicableSpecialOffersRBO() |
|
23 | { |
|
24 | return $this->ApplicableSpecialOffersRBO; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param ApplicableSpecialOffersRBO[] $ApplicableSpecialOffersRBO |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfApplicableSpecialOffersRBO |
|
30 | */ |
|
31 | public function setApplicableSpecialOffersRBO(array $ApplicableSpecialOffersRBO = null) |
|
32 | { |
|
33 | $this->ApplicableSpecialOffersRBO = $ApplicableSpecialOffersRBO; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->ApplicableSpecialOffersRBO[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return ApplicableSpecialOffersRBO |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->ApplicableSpecialOffersRBO[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param ApplicableSpecialOffersRBO $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->ApplicableSpecialOffersRBO[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->ApplicableSpecialOffersRBO[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return ApplicableSpecialOffersRBO Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->ApplicableSpecialOffersRBO); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->ApplicableSpecialOffersRBO); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->ApplicableSpecialOffersRBO); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->ApplicableSpecialOffersRBO); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return ApplicableSpecialOffersRBO Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->ApplicableSpecialOffersRBO); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfArrivalAndDepartureTimeSeason implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var ArrivalAndDepartureTimeSeason[] $ArrivalAndDepartureTimeSeason |
|
10 | */ |
|
11 | protected $ArrivalAndDepartureTimeSeason = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return ArrivalAndDepartureTimeSeason[] |
|
21 | */ |
|
22 | public function getArrivalAndDepartureTimeSeason() |
|
23 | { |
|
24 | return $this->ArrivalAndDepartureTimeSeason; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param ArrivalAndDepartureTimeSeason[] $ArrivalAndDepartureTimeSeason |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfArrivalAndDepartureTimeSeason |
|
30 | */ |
|
31 | public function setArrivalAndDepartureTimeSeason(array $ArrivalAndDepartureTimeSeason = null) |
|
32 | { |
|
33 | $this->ArrivalAndDepartureTimeSeason = $ArrivalAndDepartureTimeSeason; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->ArrivalAndDepartureTimeSeason[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return ArrivalAndDepartureTimeSeason |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->ArrivalAndDepartureTimeSeason[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param ArrivalAndDepartureTimeSeason $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->ArrivalAndDepartureTimeSeason[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->ArrivalAndDepartureTimeSeason[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return ArrivalAndDepartureTimeSeason Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->ArrivalAndDepartureTimeSeason); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->ArrivalAndDepartureTimeSeason); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->ArrivalAndDepartureTimeSeason); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->ArrivalAndDepartureTimeSeason); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return ArrivalAndDepartureTimeSeason Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->ArrivalAndDepartureTimeSeason); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfAvailabilityOverview implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var AvailabilityOverview[] $AvailabilityOverview |
|
10 | */ |
|
11 | protected $AvailabilityOverview = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return AvailabilityOverview[] |
|
21 | */ |
|
22 | public function getAvailabilityOverview() |
|
23 | { |
|
24 | return $this->AvailabilityOverview; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param AvailabilityOverview[] $AvailabilityOverview |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfAvailabilityOverview |
|
30 | */ |
|
31 | public function setAvailabilityOverview(array $AvailabilityOverview = null) |
|
32 | { |
|
33 | $this->AvailabilityOverview = $AvailabilityOverview; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->AvailabilityOverview[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return AvailabilityOverview |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->AvailabilityOverview[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param AvailabilityOverview $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->AvailabilityOverview[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->AvailabilityOverview[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return AvailabilityOverview Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->AvailabilityOverview); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->AvailabilityOverview); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->AvailabilityOverview); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->AvailabilityOverview); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return AvailabilityOverview Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->AvailabilityOverview); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfAvailableRoom implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var AvailableRoom[] $AvailableRoom |
|
10 | */ |
|
11 | protected $AvailableRoom = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return AvailableRoom[] |
|
21 | */ |
|
22 | public function getAvailableRoom() |
|
23 | { |
|
24 | return $this->AvailableRoom; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param AvailableRoom[] $AvailableRoom |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfAvailableRoom |
|
30 | */ |
|
31 | public function setAvailableRoom(array $AvailableRoom = null) |
|
32 | { |
|
33 | $this->AvailableRoom = $AvailableRoom; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->AvailableRoom[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return AvailableRoom |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->AvailableRoom[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param AvailableRoom $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->AvailableRoom[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->AvailableRoom[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return AvailableRoom Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->AvailableRoom); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->AvailableRoom); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->AvailableRoom); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->AvailableRoom); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return AvailableRoom Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->AvailableRoom); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfAvailableSuite implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var AvailableSuite[] $AvailableSuite |
|
10 | */ |
|
11 | protected $AvailableSuite = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return AvailableSuite[] |
|
21 | */ |
|
22 | public function getAvailableSuite() |
|
23 | { |
|
24 | return $this->AvailableSuite; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param AvailableSuite[] $AvailableSuite |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfAvailableSuite |
|
30 | */ |
|
31 | public function setAvailableSuite(array $AvailableSuite = null) |
|
32 | { |
|
33 | $this->AvailableSuite = $AvailableSuite; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->AvailableSuite[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return AvailableSuite |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->AvailableSuite[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param AvailableSuite $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->AvailableSuite[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->AvailableSuite[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return AvailableSuite Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->AvailableSuite); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->AvailableSuite); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->AvailableSuite); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->AvailableSuite); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return AvailableSuite Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->AvailableSuite); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfB2BAnywhere implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var B2BAnywhere[] $B2BAnywhere |
|
10 | */ |
|
11 | protected $B2BAnywhere = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return B2BAnywhere[] |
|
21 | */ |
|
22 | public function getB2BAnywhere() |
|
23 | { |
|
24 | return $this->B2BAnywhere; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param B2BAnywhere[] $B2BAnywhere |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfB2BAnywhere |
|
30 | */ |
|
31 | public function setB2BAnywhere(array $B2BAnywhere = null) |
|
32 | { |
|
33 | $this->B2BAnywhere = $B2BAnywhere; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->B2BAnywhere[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return B2BAnywhere |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->B2BAnywhere[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param B2BAnywhere $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->B2BAnywhere[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->B2BAnywhere[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return B2BAnywhere Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->B2BAnywhere); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->B2BAnywhere); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->B2BAnywhere); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->B2BAnywhere); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return B2BAnywhere Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->B2BAnywhere); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfBeachChairSite implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var BeachChairSite[] $BeachChairSite |
|
10 | */ |
|
11 | protected $BeachChairSite = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return BeachChairSite[] |
|
21 | */ |
|
22 | public function getBeachChairSite() |
|
23 | { |
|
24 | return $this->BeachChairSite; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param BeachChairSite[] $BeachChairSite |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfBeachChairSite |
|
30 | */ |
|
31 | public function setBeachChairSite(array $BeachChairSite = null) |
|
32 | { |
|
33 | $this->BeachChairSite = $BeachChairSite; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->BeachChairSite[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return BeachChairSite |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->BeachChairSite[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param BeachChairSite $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->BeachChairSite[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->BeachChairSite[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return BeachChairSite Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->BeachChairSite); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->BeachChairSite); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->BeachChairSite); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->BeachChairSite); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return BeachChairSite Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->BeachChairSite); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfBedding implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Bedding[] $Bedding |
|
10 | */ |
|
11 | protected $Bedding = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Bedding[] |
|
21 | */ |
|
22 | public function getBedding() |
|
23 | { |
|
24 | return $this->Bedding; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Bedding[] $Bedding |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfBedding |
|
30 | */ |
|
31 | public function setBedding(array $Bedding = null) |
|
32 | { |
|
33 | $this->Bedding = $Bedding; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Bedding[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Bedding |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Bedding[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Bedding $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Bedding[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Bedding[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Bedding Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Bedding); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Bedding); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Bedding); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Bedding); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Bedding Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Bedding); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfBreakdownByDay implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var BreakdownByDay[] $BreakdownByDay |
|
10 | */ |
|
11 | protected $BreakdownByDay = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return BreakdownByDay[] |
|
21 | */ |
|
22 | public function getBreakdownByDay() |
|
23 | { |
|
24 | return $this->BreakdownByDay; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param BreakdownByDay[] $BreakdownByDay |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfBreakdownByDay |
|
30 | */ |
|
31 | public function setBreakdownByDay(array $BreakdownByDay = null) |
|
32 | { |
|
33 | $this->BreakdownByDay = $BreakdownByDay; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->BreakdownByDay[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return BreakdownByDay |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->BreakdownByDay[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param BreakdownByDay $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->BreakdownByDay[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->BreakdownByDay[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return BreakdownByDay Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->BreakdownByDay); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->BreakdownByDay); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->BreakdownByDay); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->BreakdownByDay); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return BreakdownByDay Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->BreakdownByDay); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCancellationReason implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var CancellationReason[] $CancellationReason |
|
10 | */ |
|
11 | protected $CancellationReason = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return CancellationReason[] |
|
21 | */ |
|
22 | public function getCancellationReason() |
|
23 | { |
|
24 | return $this->CancellationReason; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param CancellationReason[] $CancellationReason |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCancellationReason |
|
30 | */ |
|
31 | public function setCancellationReason(array $CancellationReason = null) |
|
32 | { |
|
33 | $this->CancellationReason = $CancellationReason; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->CancellationReason[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return CancellationReason |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->CancellationReason[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param CancellationReason $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->CancellationReason[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->CancellationReason[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return CancellationReason Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->CancellationReason); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->CancellationReason); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->CancellationReason); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->CancellationReason); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return CancellationReason Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->CancellationReason); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCComments implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cComments[] $cComments |
|
10 | */ |
|
11 | protected $cComments = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cComments[] |
|
21 | */ |
|
22 | public function getCComments() |
|
23 | { |
|
24 | return $this->cComments; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cComments[] $cComments |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCComments |
|
30 | */ |
|
31 | public function setCComments(array $cComments = null) |
|
32 | { |
|
33 | $this->cComments = $cComments; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cComments[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cComments |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cComments[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cComments $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cComments[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cComments[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cComments Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cComments); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cComments); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cComments); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cComments); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cComments Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cComments); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCCreditCard implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cCreditCard[] $cCreditCard |
|
10 | */ |
|
11 | protected $cCreditCard = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cCreditCard[] |
|
21 | */ |
|
22 | public function getCCreditCard() |
|
23 | { |
|
24 | return $this->cCreditCard; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cCreditCard[] $cCreditCard |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCCreditCard |
|
30 | */ |
|
31 | public function setCCreditCard(array $cCreditCard = null) |
|
32 | { |
|
33 | $this->cCreditCard = $cCreditCard; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cCreditCard[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cCreditCard |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cCreditCard[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cCreditCard $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cCreditCard[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cCreditCard[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cCreditCard Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cCreditCard); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cCreditCard); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cCreditCard); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cCreditCard); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cCreditCard Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cCreditCard); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCElement implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cElement[] $cElement |
|
10 | */ |
|
11 | protected $cElement = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cElement[] |
|
21 | */ |
|
22 | public function getCElement() |
|
23 | { |
|
24 | return $this->cElement; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cElement[] $cElement |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCElement |
|
30 | */ |
|
31 | public function setCElement(array $cElement = null) |
|
32 | { |
|
33 | $this->cElement = $cElement; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cElement[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cElement |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cElement[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cElement $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cElement[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cElement[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cElement Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cElement); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cElement); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cElement); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cElement); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cElement Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cElement); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCFitMember implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cFitMember[] $cFitMember |
|
10 | */ |
|
11 | protected $cFitMember = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cFitMember[] |
|
21 | */ |
|
22 | public function getCFitMember() |
|
23 | { |
|
24 | return $this->cFitMember; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cFitMember[] $cFitMember |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCFitMember |
|
30 | */ |
|
31 | public function setCFitMember(array $cFitMember = null) |
|
32 | { |
|
33 | $this->cFitMember = $cFitMember; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cFitMember[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cFitMember |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cFitMember[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cFitMember $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cFitMember[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cFitMember[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cFitMember Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cFitMember); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cFitMember); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cFitMember); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cFitMember); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cFitMember Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cFitMember); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCFolioDist implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cFolioDist[] $cFolioDist |
|
10 | */ |
|
11 | protected $cFolioDist = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cFolioDist[] |
|
21 | */ |
|
22 | public function getCFolioDist() |
|
23 | { |
|
24 | return $this->cFolioDist; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cFolioDist[] $cFolioDist |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCFolioDist |
|
30 | */ |
|
31 | public function setCFolioDist(array $cFolioDist = null) |
|
32 | { |
|
33 | $this->cFolioDist = $cFolioDist; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cFolioDist[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cFolioDist |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cFolioDist[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cFolioDist $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cFolioDist[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cFolioDist[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cFolioDist Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cFolioDist); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cFolioDist); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cFolioDist); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cFolioDist); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cFolioDist Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cFolioDist); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCGiftCertificateIncentivePeriod implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cGiftCertificateIncentivePeriod[] $cGiftCertificateIncentivePeriod |
|
10 | */ |
|
11 | protected $cGiftCertificateIncentivePeriod = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cGiftCertificateIncentivePeriod[] |
|
21 | */ |
|
22 | public function getCGiftCertificateIncentivePeriod() |
|
23 | { |
|
24 | return $this->cGiftCertificateIncentivePeriod; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cGiftCertificateIncentivePeriod[] $cGiftCertificateIncentivePeriod |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCGiftCertificateIncentivePeriod |
|
30 | */ |
|
31 | public function setCGiftCertificateIncentivePeriod(array $cGiftCertificateIncentivePeriod = null) |
|
32 | { |
|
33 | $this->cGiftCertificateIncentivePeriod = $cGiftCertificateIncentivePeriod; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cGiftCertificateIncentivePeriod[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cGiftCertificateIncentivePeriod |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cGiftCertificateIncentivePeriod[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cGiftCertificateIncentivePeriod $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cGiftCertificateIncentivePeriod[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cGiftCertificateIncentivePeriod[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cGiftCertificateIncentivePeriod Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cGiftCertificateIncentivePeriod); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cGiftCertificateIncentivePeriod); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cGiftCertificateIncentivePeriod); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cGiftCertificateIncentivePeriod); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cGiftCertificateIncentivePeriod Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cGiftCertificateIncentivePeriod); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCGolfItems implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cGolfItems[] $cGolfItems |
|
10 | */ |
|
11 | protected $cGolfItems = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cGolfItems[] |
|
21 | */ |
|
22 | public function getCGolfItems() |
|
23 | { |
|
24 | return $this->cGolfItems; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cGolfItems[] $cGolfItems |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCGolfItems |
|
30 | */ |
|
31 | public function setCGolfItems(array $cGolfItems = null) |
|
32 | { |
|
33 | $this->cGolfItems = $cGolfItems; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cGolfItems[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cGolfItems |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cGolfItems[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cGolfItems $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cGolfItems[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cGolfItems[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cGolfItems Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cGolfItems); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cGolfItems); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cGolfItems); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cGolfItems); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cGolfItems Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cGolfItems); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCManualRateDaily implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cManualRateDaily[] $cManualRateDaily |
|
10 | */ |
|
11 | protected $cManualRateDaily = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cManualRateDaily[] |
|
21 | */ |
|
22 | public function getCManualRateDaily() |
|
23 | { |
|
24 | return $this->cManualRateDaily; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cManualRateDaily[] $cManualRateDaily |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCManualRateDaily |
|
30 | */ |
|
31 | public function setCManualRateDaily(array $cManualRateDaily = null) |
|
32 | { |
|
33 | $this->cManualRateDaily = $cManualRateDaily; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cManualRateDaily[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cManualRateDaily |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cManualRateDaily[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cManualRateDaily $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cManualRateDaily[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cManualRateDaily[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cManualRateDaily Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cManualRateDaily); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cManualRateDaily); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cManualRateDaily); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cManualRateDaily); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cManualRateDaily Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cManualRateDaily); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCPersonCountDaily implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cPersonCountDaily[] $cPersonCountDaily |
|
10 | */ |
|
11 | protected $cPersonCountDaily = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cPersonCountDaily[] |
|
21 | */ |
|
22 | public function getCPersonCountDaily() |
|
23 | { |
|
24 | return $this->cPersonCountDaily; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cPersonCountDaily[] $cPersonCountDaily |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCPersonCountDaily |
|
30 | */ |
|
31 | public function setCPersonCountDaily(array $cPersonCountDaily = null) |
|
32 | { |
|
33 | $this->cPersonCountDaily = $cPersonCountDaily; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cPersonCountDaily[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cPersonCountDaily |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cPersonCountDaily[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cPersonCountDaily $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cPersonCountDaily[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cPersonCountDaily[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cPersonCountDaily Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cPersonCountDaily); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cPersonCountDaily); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cPersonCountDaily); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cPersonCountDaily); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cPersonCountDaily Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cPersonCountDaily); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCRateDaily implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cRateDaily[] $cRateDaily |
|
10 | */ |
|
11 | protected $cRateDaily = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cRateDaily[] |
|
21 | */ |
|
22 | public function getCRateDaily() |
|
23 | { |
|
24 | return $this->cRateDaily; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cRateDaily[] $cRateDaily |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCRateDaily |
|
30 | */ |
|
31 | public function setCRateDaily(array $cRateDaily = null) |
|
32 | { |
|
33 | $this->cRateDaily = $cRateDaily; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cRateDaily[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cRateDaily |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cRateDaily[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cRateDaily $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cRateDaily[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cRateDaily[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cRateDaily Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cRateDaily); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cRateDaily); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cRateDaily); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cRateDaily); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cRateDaily Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cRateDaily); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCreditCardTypes implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var CreditCardTypes[] $CreditCardTypes |
|
10 | */ |
|
11 | protected $CreditCardTypes = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return CreditCardTypes[] |
|
21 | */ |
|
22 | public function getCreditCardTypes() |
|
23 | { |
|
24 | return $this->CreditCardTypes; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param CreditCardTypes[] $CreditCardTypes |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCreditCardTypes |
|
30 | */ |
|
31 | public function setCreditCardTypes(array $CreditCardTypes = null) |
|
32 | { |
|
33 | $this->CreditCardTypes = $CreditCardTypes; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->CreditCardTypes[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return CreditCardTypes |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->CreditCardTypes[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param CreditCardTypes $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->CreditCardTypes[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->CreditCardTypes[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return CreditCardTypes Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->CreditCardTypes); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->CreditCardTypes); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->CreditCardTypes); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->CreditCardTypes); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return CreditCardTypes Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->CreditCardTypes); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCreditLimit implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var CreditLimit[] $CreditLimit |
|
10 | */ |
|
11 | protected $CreditLimit = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return CreditLimit[] |
|
21 | */ |
|
22 | public function getCreditLimit() |
|
23 | { |
|
24 | return $this->CreditLimit; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param CreditLimit[] $CreditLimit |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCreditLimit |
|
30 | */ |
|
31 | public function setCreditLimit(array $CreditLimit = null) |
|
32 | { |
|
33 | $this->CreditLimit = $CreditLimit; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->CreditLimit[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return CreditLimit |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->CreditLimit[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param CreditLimit $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->CreditLimit[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->CreditLimit[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return CreditLimit Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->CreditLimit); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->CreditLimit); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->CreditLimit); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->CreditLimit); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return CreditLimit Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->CreditLimit); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCServiceChargeALaCarte implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cServiceChargeALaCarte[] $cServiceChargeALaCarte |
|
10 | */ |
|
11 | protected $cServiceChargeALaCarte = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cServiceChargeALaCarte[] |
|
21 | */ |
|
22 | public function getCServiceChargeALaCarte() |
|
23 | { |
|
24 | return $this->cServiceChargeALaCarte; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cServiceChargeALaCarte[] $cServiceChargeALaCarte |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCServiceChargeALaCarte |
|
30 | */ |
|
31 | public function setCServiceChargeALaCarte(array $cServiceChargeALaCarte = null) |
|
32 | { |
|
33 | $this->cServiceChargeALaCarte = $cServiceChargeALaCarte; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cServiceChargeALaCarte[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cServiceChargeALaCarte |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cServiceChargeALaCarte[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cServiceChargeALaCarte $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cServiceChargeALaCarte[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cServiceChargeALaCarte[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cServiceChargeALaCarte Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cServiceChargeALaCarte); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cServiceChargeALaCarte); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cServiceChargeALaCarte); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cServiceChargeALaCarte); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cServiceChargeALaCarte Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cServiceChargeALaCarte); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCTelephone implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cTelephone[] $cTelephone |
|
10 | */ |
|
11 | protected $cTelephone = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cTelephone[] |
|
21 | */ |
|
22 | public function getCTelephone() |
|
23 | { |
|
24 | return $this->cTelephone; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cTelephone[] $cTelephone |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCTelephone |
|
30 | */ |
|
31 | public function setCTelephone(array $cTelephone = null) |
|
32 | { |
|
33 | $this->cTelephone = $cTelephone; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cTelephone[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cTelephone |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cTelephone[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cTelephone $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cTelephone[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cTelephone[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cTelephone Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cTelephone); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cTelephone); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cTelephone); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cTelephone); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cTelephone Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cTelephone); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfCTransfer implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var cTransfer[] $cTransfer |
|
10 | */ |
|
11 | protected $cTransfer = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return cTransfer[] |
|
21 | */ |
|
22 | public function getCTransfer() |
|
23 | { |
|
24 | return $this->cTransfer; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param cTransfer[] $cTransfer |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfCTransfer |
|
30 | */ |
|
31 | public function setCTransfer(array $cTransfer = null) |
|
32 | { |
|
33 | $this->cTransfer = $cTransfer; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->cTransfer[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return cTransfer |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->cTransfer[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param cTransfer $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->cTransfer[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->cTransfer[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return cTransfer Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->cTransfer); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->cTransfer); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->cTransfer); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->cTransfer); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return cTransfer Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->cTransfer); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDailyBreakdown implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var DailyBreakdown[] $DailyBreakdown |
|
10 | */ |
|
11 | protected $DailyBreakdown = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return DailyBreakdown[] |
|
21 | */ |
|
22 | public function getDailyBreakdown() |
|
23 | { |
|
24 | return $this->DailyBreakdown; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param DailyBreakdown[] $DailyBreakdown |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDailyBreakdown |
|
30 | */ |
|
31 | public function setDailyBreakdown(array $DailyBreakdown = null) |
|
32 | { |
|
33 | $this->DailyBreakdown = $DailyBreakdown; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->DailyBreakdown[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return DailyBreakdown |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->DailyBreakdown[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param DailyBreakdown $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->DailyBreakdown[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->DailyBreakdown[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return DailyBreakdown Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->DailyBreakdown); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->DailyBreakdown); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->DailyBreakdown); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->DailyBreakdown); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return DailyBreakdown Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->DailyBreakdown); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDailyEvaluation implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var DailyEvaluation[] $DailyEvaluation |
|
10 | */ |
|
11 | protected $DailyEvaluation = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return DailyEvaluation[] |
|
21 | */ |
|
22 | public function getDailyEvaluation() |
|
23 | { |
|
24 | return $this->DailyEvaluation; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param DailyEvaluation[] $DailyEvaluation |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDailyEvaluation |
|
30 | */ |
|
31 | public function setDailyEvaluation(array $DailyEvaluation = null) |
|
32 | { |
|
33 | $this->DailyEvaluation = $DailyEvaluation; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->DailyEvaluation[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return DailyEvaluation |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->DailyEvaluation[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param DailyEvaluation $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->DailyEvaluation[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->DailyEvaluation[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return DailyEvaluation Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->DailyEvaluation); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->DailyEvaluation); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->DailyEvaluation); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->DailyEvaluation); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return DailyEvaluation Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->DailyEvaluation); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDailyOccupancy implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var DailyOccupancy[] $DailyOccupancy |
|
10 | */ |
|
11 | protected $DailyOccupancy = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return DailyOccupancy[] |
|
21 | */ |
|
22 | public function getDailyOccupancy() |
|
23 | { |
|
24 | return $this->DailyOccupancy; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param DailyOccupancy[] $DailyOccupancy |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDailyOccupancy |
|
30 | */ |
|
31 | public function setDailyOccupancy(array $DailyOccupancy = null) |
|
32 | { |
|
33 | $this->DailyOccupancy = $DailyOccupancy; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->DailyOccupancy[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return DailyOccupancy |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->DailyOccupancy[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param DailyOccupancy $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->DailyOccupancy[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->DailyOccupancy[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return DailyOccupancy Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->DailyOccupancy); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->DailyOccupancy); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->DailyOccupancy); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->DailyOccupancy); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return DailyOccupancy Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->DailyOccupancy); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDataSet implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var DataSet[] $DataSet |
|
10 | */ |
|
11 | protected $DataSet = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return DataSet[] |
|
21 | */ |
|
22 | public function getDataSet() |
|
23 | { |
|
24 | return $this->DataSet; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param DataSet[] $DataSet |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDataSet |
|
30 | */ |
|
31 | public function setDataSet(array $DataSet = null) |
|
32 | { |
|
33 | $this->DataSet = $DataSet; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->DataSet[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return DataSet |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->DataSet[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param DataSet $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->DataSet[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->DataSet[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return DataSet Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->DataSet); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->DataSet); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->DataSet); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->DataSet); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return DataSet Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->DataSet); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDateTime implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var dateTime[] $dateTime |
|
10 | */ |
|
11 | protected $dateTime = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return dateTime[] |
|
21 | */ |
|
22 | public function getDateTime() |
|
23 | { |
|
24 | return $this->dateTime; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param dateTime[] $dateTime |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDateTime |
|
30 | */ |
|
31 | public function setDateTime(array $dateTime = null) |
|
32 | { |
|
33 | $this->dateTime = $dateTime; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->dateTime[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return dateTime |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->dateTime[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param dateTime $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->dateTime[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->dateTime[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return dateTime Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->dateTime); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->dateTime); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->dateTime); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->dateTime); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return dateTime Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->dateTime); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDetail implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Detail[] $Detail |
|
10 | */ |
|
11 | protected $Detail = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Detail[] |
|
21 | */ |
|
22 | public function getDetail() |
|
23 | { |
|
24 | return $this->Detail; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Detail[] $Detail |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDetail |
|
30 | */ |
|
31 | public function setDetail(array $Detail = null) |
|
32 | { |
|
33 | $this->Detail = $Detail; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Detail[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Detail |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Detail[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Detail $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Detail[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Detail[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Detail Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Detail); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Detail); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Detail); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Detail); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Detail Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Detail); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfDetails implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Details[] $Details |
|
10 | */ |
|
11 | protected $Details = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Details[] |
|
21 | */ |
|
22 | public function getDetails() |
|
23 | { |
|
24 | return $this->Details; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Details[] $Details |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfDetails |
|
30 | */ |
|
31 | public function setDetails(array $Details = null) |
|
32 | { |
|
33 | $this->Details = $Details; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Details[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Details |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Details[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Details $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Details[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Details[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Details Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Details); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Details); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Details); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Details); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Details Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Details); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfElements implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Elements[] $Elements |
|
10 | */ |
|
11 | protected $Elements = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Elements[] |
|
21 | */ |
|
22 | public function getElements() |
|
23 | { |
|
24 | return $this->Elements; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Elements[] $Elements |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfElements |
|
30 | */ |
|
31 | public function setElements(array $Elements = null) |
|
32 | { |
|
33 | $this->Elements = $Elements; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Elements[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Elements |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Elements[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Elements $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Elements[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Elements[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Elements Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Elements); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Elements); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Elements); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Elements); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Elements Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Elements); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfEvaluation implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Evaluation[] $Evaluation |
|
10 | */ |
|
11 | protected $Evaluation = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Evaluation[] |
|
21 | */ |
|
22 | public function getEvaluation() |
|
23 | { |
|
24 | return $this->Evaluation; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Evaluation[] $Evaluation |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfEvaluation |
|
30 | */ |
|
31 | public function setEvaluation(array $Evaluation = null) |
|
32 | { |
|
33 | $this->Evaluation = $Evaluation; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Evaluation[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Evaluation |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Evaluation[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Evaluation $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Evaluation[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Evaluation[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Evaluation Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Evaluation); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Evaluation); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Evaluation); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Evaluation); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Evaluation Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Evaluation); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfEvaluationResult implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var EvaluationResult[] $EvaluationResult |
|
10 | */ |
|
11 | protected $EvaluationResult = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return EvaluationResult[] |
|
21 | */ |
|
22 | public function getEvaluationResult() |
|
23 | { |
|
24 | return $this->EvaluationResult; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param EvaluationResult[] $EvaluationResult |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfEvaluationResult |
|
30 | */ |
|
31 | public function setEvaluationResult(array $EvaluationResult = null) |
|
32 | { |
|
33 | $this->EvaluationResult = $EvaluationResult; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->EvaluationResult[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return EvaluationResult |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->EvaluationResult[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param EvaluationResult $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->EvaluationResult[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->EvaluationResult[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return EvaluationResult Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->EvaluationResult); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->EvaluationResult); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->EvaluationResult); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->EvaluationResult); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return EvaluationResult Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->EvaluationResult); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfExportedRate implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var ExportedRate[] $ExportedRate |
|
10 | */ |
|
11 | protected $ExportedRate = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return ExportedRate[] |
|
21 | */ |
|
22 | public function getExportedRate() |
|
23 | { |
|
24 | return $this->ExportedRate; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param ExportedRate[] $ExportedRate |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfExportedRate |
|
30 | */ |
|
31 | public function setExportedRate(array $ExportedRate = null) |
|
32 | { |
|
33 | $this->ExportedRate = $ExportedRate; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->ExportedRate[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return ExportedRate |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->ExportedRate[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param ExportedRate $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->ExportedRate[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->ExportedRate[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return ExportedRate Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->ExportedRate); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->ExportedRate); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->ExportedRate); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->ExportedRate); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return ExportedRate Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->ExportedRate); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfGDSListing implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var GDSListing[] $GDSListing |
|
10 | */ |
|
11 | protected $GDSListing = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return GDSListing[] |
|
21 | */ |
|
22 | public function getGDSListing() |
|
23 | { |
|
24 | return $this->GDSListing; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param GDSListing[] $GDSListing |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfGDSListing |
|
30 | */ |
|
31 | public function setGDSListing(array $GDSListing = null) |
|
32 | { |
|
33 | $this->GDSListing = $GDSListing; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->GDSListing[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return GDSListing |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->GDSListing[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param GDSListing $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->GDSListing[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->GDSListing[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return GDSListing Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->GDSListing); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->GDSListing); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->GDSListing); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->GDSListing); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return GDSListing Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->GDSListing); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfGlobalAccess implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var GlobalAccess[] $GlobalAccess |
|
10 | */ |
|
11 | protected $GlobalAccess = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return GlobalAccess[] |
|
21 | */ |
|
22 | public function getGlobalAccess() |
|
23 | { |
|
24 | return $this->GlobalAccess; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param GlobalAccess[] $GlobalAccess |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfGlobalAccess |
|
30 | */ |
|
31 | public function setGlobalAccess(array $GlobalAccess = null) |
|
32 | { |
|
33 | $this->GlobalAccess = $GlobalAccess; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->GlobalAccess[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return GlobalAccess |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->GlobalAccess[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param GlobalAccess $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->GlobalAccess[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->GlobalAccess[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return GlobalAccess Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->GlobalAccess); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->GlobalAccess); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->GlobalAccess); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->GlobalAccess); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return GlobalAccess Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->GlobalAccess); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfGroupValues implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var GroupValues[] $GroupValues |
|
10 | */ |
|
11 | protected $GroupValues = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return GroupValues[] |
|
21 | */ |
|
22 | public function getGroupValues() |
|
23 | { |
|
24 | return $this->GroupValues; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param GroupValues[] $GroupValues |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfGroupValues |
|
30 | */ |
|
31 | public function setGroupValues(array $GroupValues = null) |
|
32 | { |
|
33 | $this->GroupValues = $GroupValues; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->GroupValues[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return GroupValues |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->GroupValues[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param GroupValues $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->GroupValues[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->GroupValues[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return GroupValues Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->GroupValues); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->GroupValues); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->GroupValues); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->GroupValues); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return GroupValues Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->GroupValues); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfInfosBilling implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var InfosBilling[] $InfosBilling |
|
10 | */ |
|
11 | protected $InfosBilling = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return InfosBilling[] |
|
21 | */ |
|
22 | public function getInfosBilling() |
|
23 | { |
|
24 | return $this->InfosBilling; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param InfosBilling[] $InfosBilling |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfInfosBilling |
|
30 | */ |
|
31 | public function setInfosBilling(array $InfosBilling = null) |
|
32 | { |
|
33 | $this->InfosBilling = $InfosBilling; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->InfosBilling[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return InfosBilling |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->InfosBilling[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param InfosBilling $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->InfosBilling[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->InfosBilling[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return InfosBilling Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->InfosBilling); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->InfosBilling); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->InfosBilling); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->InfosBilling); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return InfosBilling Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->InfosBilling); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfInt implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var int[] $int |
|
10 | */ |
|
11 | protected $int = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return int[] |
|
21 | */ |
|
22 | public function getInt() |
|
23 | { |
|
24 | return $this->int; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param int[] $int |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfInt |
|
30 | */ |
|
31 | public function setInt(array $int = null) |
|
32 | { |
|
33 | $this->int = $int; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->int[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return int |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->int[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param int $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->int[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->int[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return int Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->int); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->int); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->int); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->int); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return int Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->int); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfIQImage implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var IQImage[] $IQImage |
|
10 | */ |
|
11 | protected $IQImage = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return IQImage[] |
|
21 | */ |
|
22 | public function getIQImage() |
|
23 | { |
|
24 | return $this->IQImage; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param IQImage[] $IQImage |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfIQImage |
|
30 | */ |
|
31 | public function setIQImage(array $IQImage = null) |
|
32 | { |
|
33 | $this->IQImage = $IQImage; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->IQImage[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return IQImage |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->IQImage[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param IQImage $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->IQImage[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->IQImage[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return IQImage Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->IQImage); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->IQImage); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->IQImage); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->IQImage); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return IQImage Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->IQImage); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfLanguage implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Language[] $Language |
|
10 | */ |
|
11 | protected $Language = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Language[] |
|
21 | */ |
|
22 | public function getLanguage() |
|
23 | { |
|
24 | return $this->Language; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Language[] $Language |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfLanguage |
|
30 | */ |
|
31 | public function setLanguage(array $Language = null) |
|
32 | { |
|
33 | $this->Language = $Language; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Language[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Language |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Language[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Language $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Language[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Language[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Language Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Language); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Language); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Language); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Language); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Language Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Language); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfMarkupItem implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var MarkupItem[] $MarkupItem |
|
10 | */ |
|
11 | protected $MarkupItem = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return MarkupItem[] |
|
21 | */ |
|
22 | public function getMarkupItem() |
|
23 | { |
|
24 | return $this->MarkupItem; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param MarkupItem[] $MarkupItem |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfMarkupItem |
|
30 | */ |
|
31 | public function setMarkupItem(array $MarkupItem = null) |
|
32 | { |
|
33 | $this->MarkupItem = $MarkupItem; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->MarkupItem[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return MarkupItem |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->MarkupItem[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param MarkupItem $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->MarkupItem[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->MarkupItem[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return MarkupItem Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->MarkupItem); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->MarkupItem); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->MarkupItem); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->MarkupItem); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return MarkupItem Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->MarkupItem); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfMemberLanguage implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var MemberLanguage[] $MemberLanguage |
|
10 | */ |
|
11 | protected $MemberLanguage = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return MemberLanguage[] |
|
21 | */ |
|
22 | public function getMemberLanguage() |
|
23 | { |
|
24 | return $this->MemberLanguage; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param MemberLanguage[] $MemberLanguage |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfMemberLanguage |
|
30 | */ |
|
31 | public function setMemberLanguage(array $MemberLanguage = null) |
|
32 | { |
|
33 | $this->MemberLanguage = $MemberLanguage; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->MemberLanguage[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return MemberLanguage |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->MemberLanguage[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param MemberLanguage $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->MemberLanguage[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->MemberLanguage[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return MemberLanguage Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->MemberLanguage); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->MemberLanguage); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->MemberLanguage); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->MemberLanguage); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return MemberLanguage Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->MemberLanguage); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfMemberReservation implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var MemberReservation[] $MemberReservation |
|
10 | */ |
|
11 | protected $MemberReservation = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return MemberReservation[] |
|
21 | */ |
|
22 | public function getMemberReservation() |
|
23 | { |
|
24 | return $this->MemberReservation; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param MemberReservation[] $MemberReservation |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfMemberReservation |
|
30 | */ |
|
31 | public function setMemberReservation(array $MemberReservation = null) |
|
32 | { |
|
33 | $this->MemberReservation = $MemberReservation; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->MemberReservation[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return MemberReservation |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->MemberReservation[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param MemberReservation $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->MemberReservation[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->MemberReservation[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return MemberReservation Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->MemberReservation); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->MemberReservation); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->MemberReservation); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->MemberReservation); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return MemberReservation Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->MemberReservation); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfNationality implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Nationality[] $Nationality |
|
10 | */ |
|
11 | protected $Nationality = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Nationality[] |
|
21 | */ |
|
22 | public function getNationality() |
|
23 | { |
|
24 | return $this->Nationality; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Nationality[] $Nationality |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfNationality |
|
30 | */ |
|
31 | public function setNationality(array $Nationality = null) |
|
32 | { |
|
33 | $this->Nationality = $Nationality; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Nationality[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Nationality |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Nationality[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Nationality $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Nationality[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Nationality[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Nationality Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Nationality); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Nationality); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Nationality); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Nationality); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Nationality Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Nationality); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfOaccAddress implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var oaccAddress[] $oaccAddress |
|
10 | */ |
|
11 | protected $oaccAddress = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return oaccAddress[] |
|
21 | */ |
|
22 | public function getOaccAddress() |
|
23 | { |
|
24 | return $this->oaccAddress; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param oaccAddress[] $oaccAddress |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfOaccAddress |
|
30 | */ |
|
31 | public function setOaccAddress(array $oaccAddress = null) |
|
32 | { |
|
33 | $this->oaccAddress = $oaccAddress; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->oaccAddress[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return oaccAddress |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->oaccAddress[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param oaccAddress $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->oaccAddress[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->oaccAddress[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return oaccAddress Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->oaccAddress); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->oaccAddress); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->oaccAddress); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->oaccAddress); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return oaccAddress Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->oaccAddress); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-146 (lines=142) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfOaccTelephone implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var OaccTelephone[] $oaccTelephone |
|
10 | */ |
|
11 | protected $oaccTelephone = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return OaccTelephone[] |
|
21 | */ |
|
22 | public function getOaccTelephone() |
|
23 | { |
|
24 | return $this->oaccTelephone; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param OaccTelephone[] $oaccTelephone |
|
29 | * |
|
30 | *@return \Gueststream\PMS\IQWare\API\ArrayOfOaccTelephone |
|
31 | */ |
|
32 | public function setOaccTelephone(array $oaccTelephone = null) |
|
33 | { |
|
34 | $this->oaccTelephone = $oaccTelephone; |
|
35 | return $this; |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * ArrayAccess implementation |
|
40 | * |
|
41 | * @param mixed $offset An offset to check for |
|
42 | * @return boolean true on success or false on failure |
|
43 | */ |
|
44 | public function offsetExists($offset) |
|
45 | { |
|
46 | return isset($this->oaccTelephone[$offset]); |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * ArrayAccess implementation |
|
51 | * |
|
52 | * @param mixed $offset The offset to retrieve |
|
53 | * |
|
54 | *@return OaccTelephone |
|
55 | */ |
|
56 | public function offsetGet($offset) |
|
57 | { |
|
58 | return $this->oaccTelephone[$offset]; |
|
59 | } |
|
60 | ||
61 | /** |
|
62 | * ArrayAccess implementation |
|
63 | * |
|
64 | * @param mixed $offset The offset to assign the value to |
|
65 | * @param OaccTelephone $value The value to set |
|
66 | * |
|
67 | *@return void |
|
68 | */ |
|
69 | public function offsetSet($offset, $value) |
|
70 | { |
|
71 | $this->oaccTelephone[$offset] = $value; |
|
72 | } |
|
73 | ||
74 | /** |
|
75 | * ArrayAccess implementation |
|
76 | * |
|
77 | * @param mixed $offset The offset to unset |
|
78 | * @return void |
|
79 | */ |
|
80 | public function offsetUnset($offset) |
|
81 | { |
|
82 | unset($this->oaccTelephone[$offset]); |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * Iterator implementation |
|
87 | * |
|
88 | * @return OaccTelephone Return the current element |
|
89 | */ |
|
90 | public function current() |
|
91 | { |
|
92 | return current($this->oaccTelephone); |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Iterator implementation |
|
97 | * Move forward to next element |
|
98 | * |
|
99 | * @return void |
|
100 | */ |
|
101 | public function next() |
|
102 | { |
|
103 | next($this->oaccTelephone); |
|
104 | } |
|
105 | ||
106 | /** |
|
107 | * Iterator implementation |
|
108 | * |
|
109 | * @return string|null Return the key of the current element or null |
|
110 | */ |
|
111 | public function key() |
|
112 | { |
|
113 | return key($this->oaccTelephone); |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * Iterator implementation |
|
118 | * |
|
119 | * @return boolean Return the validity of the current position |
|
120 | */ |
|
121 | public function valid() |
|
122 | { |
|
123 | return $this->key() !== null; |
|
124 | } |
|
125 | ||
126 | /** |
|
127 | * Iterator implementation |
|
128 | * Rewind the Iterator to the first element |
|
129 | * |
|
130 | * @return void |
|
131 | */ |
|
132 | public function rewind() |
|
133 | { |
|
134 | reset($this->oaccTelephone); |
|
135 | } |
|
136 | ||
137 | /** |
|
138 | * Countable implementation |
|
139 | * |
|
140 | * @return OaccTelephone Return count of elements |
|
141 | */ |
|
142 | public function count() |
|
143 | { |
|
144 | return count($this->oaccTelephone); |
|
145 | } |
|
146 | } |
|
147 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfOwnerInvoiceInfo implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var OwnerInvoiceInfo[] $OwnerInvoiceInfo |
|
10 | */ |
|
11 | protected $OwnerInvoiceInfo = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return OwnerInvoiceInfo[] |
|
21 | */ |
|
22 | public function getOwnerInvoiceInfo() |
|
23 | { |
|
24 | return $this->OwnerInvoiceInfo; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param OwnerInvoiceInfo[] $OwnerInvoiceInfo |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfOwnerInvoiceInfo |
|
30 | */ |
|
31 | public function setOwnerInvoiceInfo(array $OwnerInvoiceInfo = null) |
|
32 | { |
|
33 | $this->OwnerInvoiceInfo = $OwnerInvoiceInfo; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->OwnerInvoiceInfo[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return OwnerInvoiceInfo |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->OwnerInvoiceInfo[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param OwnerInvoiceInfo $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->OwnerInvoiceInfo[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->OwnerInvoiceInfo[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return OwnerInvoiceInfo Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->OwnerInvoiceInfo); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->OwnerInvoiceInfo); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->OwnerInvoiceInfo); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->OwnerInvoiceInfo); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return OwnerInvoiceInfo Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->OwnerInvoiceInfo); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRateCode implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RateCode[] $RateCode |
|
10 | */ |
|
11 | protected $RateCode = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RateCode[] |
|
21 | */ |
|
22 | public function getRateCode() |
|
23 | { |
|
24 | return $this->RateCode; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RateCode[] $RateCode |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRateCode |
|
30 | */ |
|
31 | public function setRateCode(array $RateCode = null) |
|
32 | { |
|
33 | $this->RateCode = $RateCode; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RateCode[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RateCode |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RateCode[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RateCode $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RateCode[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RateCode[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RateCode Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RateCode); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RateCode); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RateCode); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RateCode); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RateCode Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RateCode); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRateReason implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RateReason[] $RateReason |
|
10 | */ |
|
11 | protected $RateReason = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RateReason[] |
|
21 | */ |
|
22 | public function getRateReason() |
|
23 | { |
|
24 | return $this->RateReason; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RateReason[] $RateReason |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRateReason |
|
30 | */ |
|
31 | public function setRateReason(array $RateReason = null) |
|
32 | { |
|
33 | $this->RateReason = $RateReason; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RateReason[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RateReason |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RateReason[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RateReason $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RateReason[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RateReason[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RateReason Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RateReason); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RateReason); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RateReason); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RateReason); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RateReason Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RateReason); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRatesDetails implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RatesDetails[] $RatesDetails |
|
10 | */ |
|
11 | protected $RatesDetails = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RatesDetails[] |
|
21 | */ |
|
22 | public function getRatesDetails() |
|
23 | { |
|
24 | return $this->RatesDetails; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RatesDetails[] $RatesDetails |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRatesDetails |
|
30 | */ |
|
31 | public function setRatesDetails(array $RatesDetails = null) |
|
32 | { |
|
33 | $this->RatesDetails = $RatesDetails; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RatesDetails[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RatesDetails |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RatesDetails[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RatesDetails $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RatesDetails[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RatesDetails[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RatesDetails Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RatesDetails); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RatesDetails); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RatesDetails); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RatesDetails); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RatesDetails Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RatesDetails); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRateSpecialValidPeriod implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RateSpecialValidPeriod[] $RateSpecialValidPeriod |
|
10 | */ |
|
11 | protected $RateSpecialValidPeriod = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RateSpecialValidPeriod[] |
|
21 | */ |
|
22 | public function getRateSpecialValidPeriod() |
|
23 | { |
|
24 | return $this->RateSpecialValidPeriod; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RateSpecialValidPeriod[] $RateSpecialValidPeriod |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRateSpecialValidPeriod |
|
30 | */ |
|
31 | public function setRateSpecialValidPeriod(array $RateSpecialValidPeriod = null) |
|
32 | { |
|
33 | $this->RateSpecialValidPeriod = $RateSpecialValidPeriod; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RateSpecialValidPeriod[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RateSpecialValidPeriod |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RateSpecialValidPeriod[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RateSpecialValidPeriod $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RateSpecialValidPeriod[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RateSpecialValidPeriod[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RateSpecialValidPeriod Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RateSpecialValidPeriod); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RateSpecialValidPeriod); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RateSpecialValidPeriod); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RateSpecialValidPeriod); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RateSpecialValidPeriod Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RateSpecialValidPeriod); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRefusal implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var Refusal[] $Refusal |
|
10 | */ |
|
11 | protected $Refusal = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return Refusal[] |
|
21 | */ |
|
22 | public function getRefusal() |
|
23 | { |
|
24 | return $this->Refusal; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param Refusal[] $Refusal |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRefusal |
|
30 | */ |
|
31 | public function setRefusal(array $Refusal = null) |
|
32 | { |
|
33 | $this->Refusal = $Refusal; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->Refusal[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return Refusal |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->Refusal[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param Refusal $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->Refusal[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->Refusal[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return Refusal Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->Refusal); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->Refusal); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->Refusal); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->Refusal); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return Refusal Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->Refusal); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomAttribute implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomAttribute[] $RoomAttribute |
|
10 | */ |
|
11 | protected $RoomAttribute = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomAttribute[] |
|
21 | */ |
|
22 | public function getRoomAttribute() |
|
23 | { |
|
24 | return $this->RoomAttribute; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomAttribute[] $RoomAttribute |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomAttribute |
|
30 | */ |
|
31 | public function setRoomAttribute(array $RoomAttribute = null) |
|
32 | { |
|
33 | $this->RoomAttribute = $RoomAttribute; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomAttribute[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomAttribute |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomAttribute[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomAttribute $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomAttribute[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomAttribute[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomAttribute Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomAttribute); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomAttribute); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomAttribute); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomAttribute); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomAttribute Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomAttribute); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomAttributGrouping implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomAttributGrouping[] $RoomAttributGrouping |
|
10 | */ |
|
11 | protected $RoomAttributGrouping = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomAttributGrouping[] |
|
21 | */ |
|
22 | public function getRoomAttributGrouping() |
|
23 | { |
|
24 | return $this->RoomAttributGrouping; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomAttributGrouping[] $RoomAttributGrouping |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomAttributGrouping |
|
30 | */ |
|
31 | public function setRoomAttributGrouping(array $RoomAttributGrouping = null) |
|
32 | { |
|
33 | $this->RoomAttributGrouping = $RoomAttributGrouping; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomAttributGrouping[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomAttributGrouping |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomAttributGrouping[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomAttributGrouping $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomAttributGrouping[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomAttributGrouping[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomAttributGrouping Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomAttributGrouping); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomAttributGrouping); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomAttributGrouping); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomAttributGrouping); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomAttributGrouping Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomAttributGrouping); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomAvailabilityForStay implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomAvailabilityForStay[] $RoomAvailabilityForStay |
|
10 | */ |
|
11 | protected $RoomAvailabilityForStay = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomAvailabilityForStay[] |
|
21 | */ |
|
22 | public function getRoomAvailabilityForStay() |
|
23 | { |
|
24 | return $this->RoomAvailabilityForStay; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomAvailabilityForStay[] $RoomAvailabilityForStay |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomAvailabilityForStay |
|
30 | */ |
|
31 | public function setRoomAvailabilityForStay(array $RoomAvailabilityForStay = null) |
|
32 | { |
|
33 | $this->RoomAvailabilityForStay = $RoomAvailabilityForStay; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomAvailabilityForStay[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomAvailabilityForStay |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomAvailabilityForStay[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomAvailabilityForStay $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomAvailabilityForStay[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomAvailabilityForStay[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomAvailabilityForStay Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomAvailabilityForStay); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomAvailabilityForStay); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomAvailabilityForStay); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomAvailabilityForStay); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomAvailabilityForStay Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomAvailabilityForStay); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomCalendar implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomCalendar[] $RoomCalendar |
|
10 | */ |
|
11 | protected $RoomCalendar = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomCalendar[] |
|
21 | */ |
|
22 | public function getRoomCalendar() |
|
23 | { |
|
24 | return $this->RoomCalendar; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomCalendar[] $RoomCalendar |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomCalendar |
|
30 | */ |
|
31 | public function setRoomCalendar(array $RoomCalendar = null) |
|
32 | { |
|
33 | $this->RoomCalendar = $RoomCalendar; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomCalendar[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomCalendar |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomCalendar[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomCalendar $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomCalendar[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomCalendar[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomCalendar Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomCalendar); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomCalendar); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomCalendar); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomCalendar); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomCalendar Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomCalendar); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomCalendarBreakdown implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomCalendarBreakdown[] $RoomCalendarBreakdown |
|
10 | */ |
|
11 | protected $RoomCalendarBreakdown = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomCalendarBreakdown[] |
|
21 | */ |
|
22 | public function getRoomCalendarBreakdown() |
|
23 | { |
|
24 | return $this->RoomCalendarBreakdown; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomCalendarBreakdown[] $RoomCalendarBreakdown |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomCalendarBreakdown |
|
30 | */ |
|
31 | public function setRoomCalendarBreakdown(array $RoomCalendarBreakdown = null) |
|
32 | { |
|
33 | $this->RoomCalendarBreakdown = $RoomCalendarBreakdown; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomCalendarBreakdown[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomCalendarBreakdown |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomCalendarBreakdown[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomCalendarBreakdown $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomCalendarBreakdown[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomCalendarBreakdown[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomCalendarBreakdown Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomCalendarBreakdown); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomCalendarBreakdown); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomCalendarBreakdown); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomCalendarBreakdown); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomCalendarBreakdown Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomCalendarBreakdown); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomDayAvailability implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomDayAvailability[] $RoomDayAvailability |
|
10 | */ |
|
11 | protected $RoomDayAvailability = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomDayAvailability[] |
|
21 | */ |
|
22 | public function getRoomDayAvailability() |
|
23 | { |
|
24 | return $this->RoomDayAvailability; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomDayAvailability[] $RoomDayAvailability |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomDayAvailability |
|
30 | */ |
|
31 | public function setRoomDayAvailability(array $RoomDayAvailability = null) |
|
32 | { |
|
33 | $this->RoomDayAvailability = $RoomDayAvailability; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomDayAvailability[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomDayAvailability |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomDayAvailability[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomDayAvailability $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomDayAvailability[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomDayAvailability[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomDayAvailability Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomDayAvailability); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomDayAvailability); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomDayAvailability); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomDayAvailability); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomDayAvailability Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomDayAvailability); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomInventory implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomInventory[] $RoomInventory |
|
10 | */ |
|
11 | protected $RoomInventory = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomInventory[] |
|
21 | */ |
|
22 | public function getRoomInventory() |
|
23 | { |
|
24 | return $this->RoomInventory; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomInventory[] $RoomInventory |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomInventory |
|
30 | */ |
|
31 | public function setRoomInventory(array $RoomInventory = null) |
|
32 | { |
|
33 | $this->RoomInventory = $RoomInventory; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomInventory[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomInventory |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomInventory[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomInventory $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomInventory[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomInventory[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomInventory Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomInventory); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomInventory); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomInventory); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomInventory); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomInventory Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomInventory); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomLocation implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomLocation[] $RoomLocation |
|
10 | */ |
|
11 | protected $RoomLocation = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomLocation[] |
|
21 | */ |
|
22 | public function getRoomLocation() |
|
23 | { |
|
24 | return $this->RoomLocation; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomLocation[] $RoomLocation |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomLocation |
|
30 | */ |
|
31 | public function setRoomLocation(array $RoomLocation = null) |
|
32 | { |
|
33 | $this->RoomLocation = $RoomLocation; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomLocation[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomLocation |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomLocation[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomLocation $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomLocation[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomLocation[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomLocation Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomLocation); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomLocation); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomLocation); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomLocation); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomLocation Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomLocation); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomLocationGrouping implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomLocationGrouping[] $RoomLocationGrouping |
|
10 | */ |
|
11 | protected $RoomLocationGrouping = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomLocationGrouping[] |
|
21 | */ |
|
22 | public function getRoomLocationGrouping() |
|
23 | { |
|
24 | return $this->RoomLocationGrouping; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomLocationGrouping[] $RoomLocationGrouping |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomLocationGrouping |
|
30 | */ |
|
31 | public function setRoomLocationGrouping(array $RoomLocationGrouping = null) |
|
32 | { |
|
33 | $this->RoomLocationGrouping = $RoomLocationGrouping; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomLocationGrouping[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomLocationGrouping |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomLocationGrouping[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomLocationGrouping $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomLocationGrouping[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomLocationGrouping[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomLocationGrouping Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomLocationGrouping); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomLocationGrouping); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomLocationGrouping); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomLocationGrouping); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomLocationGrouping Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomLocationGrouping); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomSpecification implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomSpecification[] $RoomSpecification |
|
10 | */ |
|
11 | protected $RoomSpecification = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomSpecification[] |
|
21 | */ |
|
22 | public function getRoomSpecification() |
|
23 | { |
|
24 | return $this->RoomSpecification; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomSpecification[] $RoomSpecification |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomSpecification |
|
30 | */ |
|
31 | public function setRoomSpecification(array $RoomSpecification = null) |
|
32 | { |
|
33 | $this->RoomSpecification = $RoomSpecification; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomSpecification[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomSpecification |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomSpecification[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomSpecification $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomSpecification[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomSpecification[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomSpecification Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomSpecification); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomSpecification); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomSpecification); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomSpecification); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomSpecification Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomSpecification); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomType implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomType[] $RoomType |
|
10 | */ |
|
11 | protected $RoomType = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomType[] |
|
21 | */ |
|
22 | public function getRoomType() |
|
23 | { |
|
24 | return $this->RoomType; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomType[] $RoomType |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomType |
|
30 | */ |
|
31 | public function setRoomType(array $RoomType = null) |
|
32 | { |
|
33 | $this->RoomType = $RoomType; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomType[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomType |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomType[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomType $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomType[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomType[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomType Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomType); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomType); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomType); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomType); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomType Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomType); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomTypeAvailability implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomTypeAvailability[] $RoomTypeAvailability |
|
10 | */ |
|
11 | protected $RoomTypeAvailability = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomTypeAvailability[] |
|
21 | */ |
|
22 | public function getRoomTypeAvailability() |
|
23 | { |
|
24 | return $this->RoomTypeAvailability; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomTypeAvailability[] $RoomTypeAvailability |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomTypeAvailability |
|
30 | */ |
|
31 | public function setRoomTypeAvailability(array $RoomTypeAvailability = null) |
|
32 | { |
|
33 | $this->RoomTypeAvailability = $RoomTypeAvailability; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomTypeAvailability[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomTypeAvailability |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomTypeAvailability[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomTypeAvailability $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomTypeAvailability[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomTypeAvailability[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomTypeAvailability Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomTypeAvailability); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomTypeAvailability); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomTypeAvailability); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomTypeAvailability); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomTypeAvailability Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomTypeAvailability); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomTypeBreakdown implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomTypeBreakdown[] $RoomTypeBreakdown |
|
10 | */ |
|
11 | protected $RoomTypeBreakdown = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomTypeBreakdown[] |
|
21 | */ |
|
22 | public function getRoomTypeBreakdown() |
|
23 | { |
|
24 | return $this->RoomTypeBreakdown; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomTypeBreakdown[] $RoomTypeBreakdown |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomTypeBreakdown |
|
30 | */ |
|
31 | public function setRoomTypeBreakdown(array $RoomTypeBreakdown = null) |
|
32 | { |
|
33 | $this->RoomTypeBreakdown = $RoomTypeBreakdown; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomTypeBreakdown[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomTypeBreakdown |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomTypeBreakdown[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomTypeBreakdown $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomTypeBreakdown[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomTypeBreakdown[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomTypeBreakdown Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomTypeBreakdown); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomTypeBreakdown); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomTypeBreakdown); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomTypeBreakdown); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomTypeBreakdown Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomTypeBreakdown); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomTypeBuildingsAndPL implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomTypeBuildingsAndPL[] $RoomTypeBuildingsAndPL |
|
10 | */ |
|
11 | protected $RoomTypeBuildingsAndPL = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomTypeBuildingsAndPL[] |
|
21 | */ |
|
22 | public function getRoomTypeBuildingsAndPL() |
|
23 | { |
|
24 | return $this->RoomTypeBuildingsAndPL; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomTypeBuildingsAndPL[] $RoomTypeBuildingsAndPL |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomTypeBuildingsAndPL |
|
30 | */ |
|
31 | public function setRoomTypeBuildingsAndPL(array $RoomTypeBuildingsAndPL = null) |
|
32 | { |
|
33 | $this->RoomTypeBuildingsAndPL = $RoomTypeBuildingsAndPL; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomTypeBuildingsAndPL[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomTypeBuildingsAndPL |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomTypeBuildingsAndPL[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomTypeBuildingsAndPL $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomTypeBuildingsAndPL[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomTypeBuildingsAndPL[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomTypeBuildingsAndPL Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomTypeBuildingsAndPL); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomTypeBuildingsAndPL); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomTypeBuildingsAndPL); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomTypeBuildingsAndPL); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomTypeBuildingsAndPL Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomTypeBuildingsAndPL); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomTypeCluster implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomTypeCluster[] $RoomTypeCluster |
|
10 | */ |
|
11 | protected $RoomTypeCluster = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomTypeCluster[] |
|
21 | */ |
|
22 | public function getRoomTypeCluster() |
|
23 | { |
|
24 | return $this->RoomTypeCluster; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomTypeCluster[] $RoomTypeCluster |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomTypeCluster |
|
30 | */ |
|
31 | public function setRoomTypeCluster(array $RoomTypeCluster = null) |
|
32 | { |
|
33 | $this->RoomTypeCluster = $RoomTypeCluster; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomTypeCluster[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomTypeCluster |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomTypeCluster[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomTypeCluster $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomTypeCluster[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomTypeCluster[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomTypeCluster Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomTypeCluster); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomTypeCluster); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomTypeCluster); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomTypeCluster); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomTypeCluster Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomTypeCluster); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfRoomTypeClusterResult implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var RoomTypeClusterResult[] $RoomTypeClusterResult |
|
10 | */ |
|
11 | protected $RoomTypeClusterResult = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return RoomTypeClusterResult[] |
|
21 | */ |
|
22 | public function getRoomTypeClusterResult() |
|
23 | { |
|
24 | return $this->RoomTypeClusterResult; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param RoomTypeClusterResult[] $RoomTypeClusterResult |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfRoomTypeClusterResult |
|
30 | */ |
|
31 | public function setRoomTypeClusterResult(array $RoomTypeClusterResult = null) |
|
32 | { |
|
33 | $this->RoomTypeClusterResult = $RoomTypeClusterResult; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->RoomTypeClusterResult[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return RoomTypeClusterResult |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->RoomTypeClusterResult[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param RoomTypeClusterResult $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->RoomTypeClusterResult[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->RoomTypeClusterResult[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return RoomTypeClusterResult Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->RoomTypeClusterResult); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->RoomTypeClusterResult); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->RoomTypeClusterResult); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->RoomTypeClusterResult); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return RoomTypeClusterResult Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->RoomTypeClusterResult); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSBDSummary implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SBDSummary[] $SBDSummary |
|
10 | */ |
|
11 | protected $SBDSummary = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SBDSummary[] |
|
21 | */ |
|
22 | public function getSBDSummary() |
|
23 | { |
|
24 | return $this->SBDSummary; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SBDSummary[] $SBDSummary |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSBDSummary |
|
30 | */ |
|
31 | public function setSBDSummary(array $SBDSummary = null) |
|
32 | { |
|
33 | $this->SBDSummary = $SBDSummary; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SBDSummary[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SBDSummary |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SBDSummary[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SBDSummary $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SBDSummary[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SBDSummary[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SBDSummary Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SBDSummary); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SBDSummary); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SBDSummary); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SBDSummary); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SBDSummary Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SBDSummary); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfServiceCharge implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var ServiceCharge[] $ServiceCharge |
|
10 | */ |
|
11 | protected $ServiceCharge = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return ServiceCharge[] |
|
21 | */ |
|
22 | public function getServiceCharge() |
|
23 | { |
|
24 | return $this->ServiceCharge; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param ServiceCharge[] $ServiceCharge |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfServiceCharge |
|
30 | */ |
|
31 | public function setServiceCharge(array $ServiceCharge = null) |
|
32 | { |
|
33 | $this->ServiceCharge = $ServiceCharge; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->ServiceCharge[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return ServiceCharge |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->ServiceCharge[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param ServiceCharge $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->ServiceCharge[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->ServiceCharge[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return ServiceCharge Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->ServiceCharge); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->ServiceCharge); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->ServiceCharge); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->ServiceCharge); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return ServiceCharge Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->ServiceCharge); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfShort implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var short[] $short |
|
10 | */ |
|
11 | protected $short = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return short[] |
|
21 | */ |
|
22 | public function getShort() |
|
23 | { |
|
24 | return $this->short; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param short[] $short |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfShort |
|
30 | */ |
|
31 | public function setShort(array $short = null) |
|
32 | { |
|
33 | $this->short = $short; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->short[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return short |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->short[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param short $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->short[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->short[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return short Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->short); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->short); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->short); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->short); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return short Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->short); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSpecialData implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SpecialData[] $SpecialData |
|
10 | */ |
|
11 | protected $SpecialData = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SpecialData[] |
|
21 | */ |
|
22 | public function getSpecialData() |
|
23 | { |
|
24 | return $this->SpecialData; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SpecialData[] $SpecialData |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSpecialData |
|
30 | */ |
|
31 | public function setSpecialData(array $SpecialData = null) |
|
32 | { |
|
33 | $this->SpecialData = $SpecialData; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SpecialData[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SpecialData |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SpecialData[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SpecialData $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SpecialData[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SpecialData[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SpecialData Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SpecialData); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SpecialData); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SpecialData); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SpecialData); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SpecialData Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SpecialData); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSpecialOfferByDay implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SpecialOfferByDay[] $SpecialOfferByDay |
|
10 | */ |
|
11 | protected $SpecialOfferByDay = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SpecialOfferByDay[] |
|
21 | */ |
|
22 | public function getSpecialOfferByDay() |
|
23 | { |
|
24 | return $this->SpecialOfferByDay; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SpecialOfferByDay[] $SpecialOfferByDay |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSpecialOfferByDay |
|
30 | */ |
|
31 | public function setSpecialOfferByDay(array $SpecialOfferByDay = null) |
|
32 | { |
|
33 | $this->SpecialOfferByDay = $SpecialOfferByDay; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SpecialOfferByDay[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SpecialOfferByDay |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SpecialOfferByDay[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SpecialOfferByDay $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SpecialOfferByDay[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SpecialOfferByDay[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SpecialOfferByDay Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SpecialOfferByDay); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SpecialOfferByDay); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SpecialOfferByDay); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SpecialOfferByDay); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SpecialOfferByDay Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SpecialOfferByDay); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSpecialOffers implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SpecialOffers[] $SpecialOffers |
|
10 | */ |
|
11 | protected $SpecialOffers = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SpecialOffers[] |
|
21 | */ |
|
22 | public function getSpecialOffers() |
|
23 | { |
|
24 | return $this->SpecialOffers; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SpecialOffers[] $SpecialOffers |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSpecialOffers |
|
30 | */ |
|
31 | public function setSpecialOffers(array $SpecialOffers = null) |
|
32 | { |
|
33 | $this->SpecialOffers = $SpecialOffers; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SpecialOffers[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SpecialOffers |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SpecialOffers[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SpecialOffers $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SpecialOffers[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SpecialOffers[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SpecialOffers Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SpecialOffers); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SpecialOffers); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SpecialOffers); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SpecialOffers); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SpecialOffers Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SpecialOffers); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSpecificDayOccupancyValue implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SpecificDayOccupancyValue[] $SpecificDayOccupancyValue |
|
10 | */ |
|
11 | protected $SpecificDayOccupancyValue = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SpecificDayOccupancyValue[] |
|
21 | */ |
|
22 | public function getSpecificDayOccupancyValue() |
|
23 | { |
|
24 | return $this->SpecificDayOccupancyValue; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SpecificDayOccupancyValue[] $SpecificDayOccupancyValue |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSpecificDayOccupancyValue |
|
30 | */ |
|
31 | public function setSpecificDayOccupancyValue(array $SpecificDayOccupancyValue = null) |
|
32 | { |
|
33 | $this->SpecificDayOccupancyValue = $SpecificDayOccupancyValue; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SpecificDayOccupancyValue[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SpecificDayOccupancyValue |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SpecificDayOccupancyValue[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SpecificDayOccupancyValue $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SpecificDayOccupancyValue[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SpecificDayOccupancyValue[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SpecificDayOccupancyValue Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SpecificDayOccupancyValue); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SpecificDayOccupancyValue); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SpecificDayOccupancyValue); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SpecificDayOccupancyValue); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SpecificDayOccupancyValue Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SpecificDayOccupancyValue); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfStayByNightValue implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var StayByNightValue[] $StayByNightValue |
|
10 | */ |
|
11 | protected $StayByNightValue = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return StayByNightValue[] |
|
21 | */ |
|
22 | public function getStayByNightValue() |
|
23 | { |
|
24 | return $this->StayByNightValue; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param StayByNightValue[] $StayByNightValue |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfStayByNightValue |
|
30 | */ |
|
31 | public function setStayByNightValue(array $StayByNightValue = null) |
|
32 | { |
|
33 | $this->StayByNightValue = $StayByNightValue; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->StayByNightValue[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return StayByNightValue |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->StayByNightValue[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param StayByNightValue $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->StayByNightValue[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->StayByNightValue[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return StayByNightValue Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->StayByNightValue); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->StayByNightValue); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->StayByNightValue); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->StayByNightValue); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return StayByNightValue Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->StayByNightValue); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfStayDailyValue implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var StayDailyValue[] $StayDailyValue |
|
10 | */ |
|
11 | protected $StayDailyValue = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return StayDailyValue[] |
|
21 | */ |
|
22 | public function getStayDailyValue() |
|
23 | { |
|
24 | return $this->StayDailyValue; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param StayDailyValue[] $StayDailyValue |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfStayDailyValue |
|
30 | */ |
|
31 | public function setStayDailyValue(array $StayDailyValue = null) |
|
32 | { |
|
33 | $this->StayDailyValue = $StayDailyValue; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->StayDailyValue[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return StayDailyValue |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->StayDailyValue[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param StayDailyValue $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->StayDailyValue[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->StayDailyValue[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return StayDailyValue Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->StayDailyValue); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->StayDailyValue); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->StayDailyValue); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->StayDailyValue); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return StayDailyValue Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->StayDailyValue); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfStayValue implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var StayValue[] $StayValue |
|
10 | */ |
|
11 | protected $StayValue = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return StayValue[] |
|
21 | */ |
|
22 | public function getStayValue() |
|
23 | { |
|
24 | return $this->StayValue; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param StayValue[] $StayValue |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfStayValue |
|
30 | */ |
|
31 | public function setStayValue(array $StayValue = null) |
|
32 | { |
|
33 | $this->StayValue = $StayValue; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->StayValue[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return StayValue |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->StayValue[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param StayValue $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->StayValue[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->StayValue[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return StayValue Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->StayValue); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->StayValue); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->StayValue); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->StayValue); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return StayValue Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->StayValue); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfStayValue3 implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var StayValue3[] $StayValue3 |
|
10 | */ |
|
11 | protected $StayValue3 = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return StayValue3[] |
|
21 | */ |
|
22 | public function getStayValue3() |
|
23 | { |
|
24 | return $this->StayValue3; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param StayValue3[] $StayValue3 |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfStayValue3 |
|
30 | */ |
|
31 | public function setStayValue3(array $StayValue3 = null) |
|
32 | { |
|
33 | $this->StayValue3 = $StayValue3; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->StayValue3[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return StayValue3 |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->StayValue3[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param StayValue3 $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->StayValue3[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->StayValue3[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return StayValue3 Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->StayValue3); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->StayValue3); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->StayValue3); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->StayValue3); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return StayValue3 Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->StayValue3); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSuiteInventory implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SuiteInventory[] $SuiteInventory |
|
10 | */ |
|
11 | protected $SuiteInventory = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SuiteInventory[] |
|
21 | */ |
|
22 | public function getSuiteInventory() |
|
23 | { |
|
24 | return $this->SuiteInventory; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SuiteInventory[] $SuiteInventory |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSuiteInventory |
|
30 | */ |
|
31 | public function setSuiteInventory(array $SuiteInventory = null) |
|
32 | { |
|
33 | $this->SuiteInventory = $SuiteInventory; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SuiteInventory[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SuiteInventory |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SuiteInventory[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SuiteInventory $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SuiteInventory[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SuiteInventory[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SuiteInventory Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SuiteInventory); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SuiteInventory); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SuiteInventory); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SuiteInventory); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SuiteInventory Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SuiteInventory); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSuiteItems implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SuiteItems[] $SuiteItems |
|
10 | */ |
|
11 | protected $SuiteItems = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SuiteItems[] |
|
21 | */ |
|
22 | public function getSuiteItems() |
|
23 | { |
|
24 | return $this->SuiteItems; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SuiteItems[] $SuiteItems |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSuiteItems |
|
30 | */ |
|
31 | public function setSuiteItems(array $SuiteItems = null) |
|
32 | { |
|
33 | $this->SuiteItems = $SuiteItems; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SuiteItems[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SuiteItems |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SuiteItems[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SuiteItems $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SuiteItems[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SuiteItems[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SuiteItems Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SuiteItems); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SuiteItems); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SuiteItems); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SuiteItems); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SuiteItems Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SuiteItems); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSuitesSpecification implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SuitesSpecification[] $SuitesSpecification |
|
10 | */ |
|
11 | protected $SuitesSpecification = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SuitesSpecification[] |
|
21 | */ |
|
22 | public function getSuitesSpecification() |
|
23 | { |
|
24 | return $this->SuitesSpecification; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SuitesSpecification[] $SuitesSpecification |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSuitesSpecification |
|
30 | */ |
|
31 | public function setSuitesSpecification(array $SuitesSpecification = null) |
|
32 | { |
|
33 | $this->SuitesSpecification = $SuitesSpecification; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SuitesSpecification[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SuitesSpecification |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SuitesSpecification[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SuitesSpecification $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SuitesSpecification[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SuitesSpecification[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SuitesSpecification Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SuitesSpecification); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SuitesSpecification); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SuitesSpecification); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SuitesSpecification); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SuitesSpecification Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SuitesSpecification); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfSummaryItem implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var SummaryItem[] $SummaryItem |
|
10 | */ |
|
11 | protected $SummaryItem = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return SummaryItem[] |
|
21 | */ |
|
22 | public function getSummaryItem() |
|
23 | { |
|
24 | return $this->SummaryItem; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param SummaryItem[] $SummaryItem |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfSummaryItem |
|
30 | */ |
|
31 | public function setSummaryItem(array $SummaryItem = null) |
|
32 | { |
|
33 | $this->SummaryItem = $SummaryItem; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->SummaryItem[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return SummaryItem |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->SummaryItem[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param SummaryItem $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->SummaryItem[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->SummaryItem[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return SummaryItem Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->SummaryItem); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->SummaryItem); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->SummaryItem); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->SummaryItem); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return SummaryItem Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->SummaryItem); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfUnitAvailabilityCalendar implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var UnitAvailabilityCalendar[] $UnitAvailabilityCalendar |
|
10 | */ |
|
11 | protected $UnitAvailabilityCalendar = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return UnitAvailabilityCalendar[] |
|
21 | */ |
|
22 | public function getUnitAvailabilityCalendar() |
|
23 | { |
|
24 | return $this->UnitAvailabilityCalendar; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param UnitAvailabilityCalendar[] $UnitAvailabilityCalendar |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfUnitAvailabilityCalendar |
|
30 | */ |
|
31 | public function setUnitAvailabilityCalendar(array $UnitAvailabilityCalendar = null) |
|
32 | { |
|
33 | $this->UnitAvailabilityCalendar = $UnitAvailabilityCalendar; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->UnitAvailabilityCalendar[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return UnitAvailabilityCalendar |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->UnitAvailabilityCalendar[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param UnitAvailabilityCalendar $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->UnitAvailabilityCalendar[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->UnitAvailabilityCalendar[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return UnitAvailabilityCalendar Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->UnitAvailabilityCalendar); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->UnitAvailabilityCalendar); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->UnitAvailabilityCalendar); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->UnitAvailabilityCalendar); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return UnitAvailabilityCalendar Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->UnitAvailabilityCalendar); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfUnitAvailable implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var UnitAvailable[] $UnitAvailable |
|
10 | */ |
|
11 | protected $UnitAvailable = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return UnitAvailable[] |
|
21 | */ |
|
22 | public function getUnitAvailable() |
|
23 | { |
|
24 | return $this->UnitAvailable; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param UnitAvailable[] $UnitAvailable |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfUnitAvailable |
|
30 | */ |
|
31 | public function setUnitAvailable(array $UnitAvailable = null) |
|
32 | { |
|
33 | $this->UnitAvailable = $UnitAvailable; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->UnitAvailable[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return UnitAvailable |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->UnitAvailable[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param UnitAvailable $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->UnitAvailable[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->UnitAvailable[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return UnitAvailable Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->UnitAvailable); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->UnitAvailable); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->UnitAvailable); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->UnitAvailable); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return UnitAvailable Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->UnitAvailable); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfUnitDate implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var UnitDate[] $UnitDate |
|
10 | */ |
|
11 | protected $UnitDate = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return UnitDate[] |
|
21 | */ |
|
22 | public function getUnitDate() |
|
23 | { |
|
24 | return $this->UnitDate; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param UnitDate[] $UnitDate |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfUnitDate |
|
30 | */ |
|
31 | public function setUnitDate(array $UnitDate = null) |
|
32 | { |
|
33 | $this->UnitDate = $UnitDate; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->UnitDate[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return UnitDate |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->UnitDate[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param UnitDate $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->UnitDate[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->UnitDate[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return UnitDate Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->UnitDate); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->UnitDate); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->UnitDate); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->UnitDate); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return UnitDate Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->UnitDate); |
|
142 | } |
|
143 | } |
|
144 |
@@ 5-143 (lines=139) @@ | ||
2 | ||
3 | namespace Gueststream\PMS\IQWare\API; |
|
4 | ||
5 | class ArrayOfUnitReservation implements \ArrayAccess, \Iterator, \Countable |
|
6 | { |
|
7 | ||
8 | /** |
|
9 | * @var UnitReservation[] $UnitReservation |
|
10 | */ |
|
11 | protected $UnitReservation = null; |
|
12 | ||
13 | ||
14 | public function __construct() |
|
15 | { |
|
16 | ||
17 | } |
|
18 | ||
19 | /** |
|
20 | * @return UnitReservation[] |
|
21 | */ |
|
22 | public function getUnitReservation() |
|
23 | { |
|
24 | return $this->UnitReservation; |
|
25 | } |
|
26 | ||
27 | /** |
|
28 | * @param UnitReservation[] $UnitReservation |
|
29 | * @return \Gueststream\PMS\IQWare\API\ArrayOfUnitReservation |
|
30 | */ |
|
31 | public function setUnitReservation(array $UnitReservation = null) |
|
32 | { |
|
33 | $this->UnitReservation = $UnitReservation; |
|
34 | return $this; |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * ArrayAccess implementation |
|
39 | * |
|
40 | * @param mixed $offset An offset to check for |
|
41 | * @return boolean true on success or false on failure |
|
42 | */ |
|
43 | public function offsetExists($offset) |
|
44 | { |
|
45 | return isset($this->UnitReservation[$offset]); |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * ArrayAccess implementation |
|
50 | * |
|
51 | * @param mixed $offset The offset to retrieve |
|
52 | * @return UnitReservation |
|
53 | */ |
|
54 | public function offsetGet($offset) |
|
55 | { |
|
56 | return $this->UnitReservation[$offset]; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * ArrayAccess implementation |
|
61 | * |
|
62 | * @param mixed $offset The offset to assign the value to |
|
63 | * @param UnitReservation $value The value to set |
|
64 | * @return void |
|
65 | */ |
|
66 | public function offsetSet($offset, $value) |
|
67 | { |
|
68 | $this->UnitReservation[$offset] = $value; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * ArrayAccess implementation |
|
73 | * |
|
74 | * @param mixed $offset The offset to unset |
|
75 | * @return void |
|
76 | */ |
|
77 | public function offsetUnset($offset) |
|
78 | { |
|
79 | unset($this->UnitReservation[$offset]); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Iterator implementation |
|
84 | * |
|
85 | * @return UnitReservation Return the current element |
|
86 | */ |
|
87 | public function current() |
|
88 | { |
|
89 | return current($this->UnitReservation); |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * Iterator implementation |
|
94 | * Move forward to next element |
|
95 | * |
|
96 | * @return void |
|
97 | */ |
|
98 | public function next() |
|
99 | { |
|
100 | next($this->UnitReservation); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Iterator implementation |
|
105 | * |
|
106 | * @return string|null Return the key of the current element or null |
|
107 | */ |
|
108 | public function key() |
|
109 | { |
|
110 | return key($this->UnitReservation); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * Iterator implementation |
|
115 | * |
|
116 | * @return boolean Return the validity of the current position |
|
117 | */ |
|
118 | public function valid() |
|
119 | { |
|
120 | return $this->key() !== null; |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * Iterator implementation |
|
125 | * Rewind the Iterator to the first element |
|
126 | * |
|
127 | * @return void |
|
128 | */ |
|
129 | public function rewind() |
|
130 | { |
|
131 | reset($this->UnitReservation); |
|
132 | } |
|
133 | ||
134 | /** |
|
135 | * Countable implementation |
|
136 | * |
|
137 | * @return UnitReservation Return count of elements |
|
138 | */ |
|
139 | public function count() |
|
140 | { |
|
141 | return count($this->UnitReservation); |
|
142 | } |
|
143 | } |
|
144 |