source: vendor/google/apiclient-services/src/Walletobjects/TicketLeg.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Walletobjects;
19
20class TicketLeg extends \Google\Collection
21{
22 protected $collection_key = 'ticketSeats';
23 /**
24 * @var string
25 */
26 public $arrivalDateTime;
27 /**
28 * @var string
29 */
30 public $carriage;
31 /**
32 * @var string
33 */
34 public $departureDateTime;
35 protected $destinationNameType = LocalizedString::class;
36 protected $destinationNameDataType = '';
37 /**
38 * @var string
39 */
40 public $destinationStationCode;
41 protected $fareNameType = LocalizedString::class;
42 protected $fareNameDataType = '';
43 protected $originNameType = LocalizedString::class;
44 protected $originNameDataType = '';
45 /**
46 * @var string
47 */
48 public $originStationCode;
49 /**
50 * @var string
51 */
52 public $platform;
53 protected $ticketSeatType = TicketSeat::class;
54 protected $ticketSeatDataType = '';
55 protected $ticketSeatsType = TicketSeat::class;
56 protected $ticketSeatsDataType = 'array';
57 protected $transitOperatorNameType = LocalizedString::class;
58 protected $transitOperatorNameDataType = '';
59 protected $transitTerminusNameType = LocalizedString::class;
60 protected $transitTerminusNameDataType = '';
61 /**
62 * @var string
63 */
64 public $zone;
65
66 /**
67 * @param string
68 */
69 public function setArrivalDateTime($arrivalDateTime)
70 {
71 $this->arrivalDateTime = $arrivalDateTime;
72 }
73 /**
74 * @return string
75 */
76 public function getArrivalDateTime()
77 {
78 return $this->arrivalDateTime;
79 }
80 /**
81 * @param string
82 */
83 public function setCarriage($carriage)
84 {
85 $this->carriage = $carriage;
86 }
87 /**
88 * @return string
89 */
90 public function getCarriage()
91 {
92 return $this->carriage;
93 }
94 /**
95 * @param string
96 */
97 public function setDepartureDateTime($departureDateTime)
98 {
99 $this->departureDateTime = $departureDateTime;
100 }
101 /**
102 * @return string
103 */
104 public function getDepartureDateTime()
105 {
106 return $this->departureDateTime;
107 }
108 /**
109 * @param LocalizedString
110 */
111 public function setDestinationName(LocalizedString $destinationName)
112 {
113 $this->destinationName = $destinationName;
114 }
115 /**
116 * @return LocalizedString
117 */
118 public function getDestinationName()
119 {
120 return $this->destinationName;
121 }
122 /**
123 * @param string
124 */
125 public function setDestinationStationCode($destinationStationCode)
126 {
127 $this->destinationStationCode = $destinationStationCode;
128 }
129 /**
130 * @return string
131 */
132 public function getDestinationStationCode()
133 {
134 return $this->destinationStationCode;
135 }
136 /**
137 * @param LocalizedString
138 */
139 public function setFareName(LocalizedString $fareName)
140 {
141 $this->fareName = $fareName;
142 }
143 /**
144 * @return LocalizedString
145 */
146 public function getFareName()
147 {
148 return $this->fareName;
149 }
150 /**
151 * @param LocalizedString
152 */
153 public function setOriginName(LocalizedString $originName)
154 {
155 $this->originName = $originName;
156 }
157 /**
158 * @return LocalizedString
159 */
160 public function getOriginName()
161 {
162 return $this->originName;
163 }
164 /**
165 * @param string
166 */
167 public function setOriginStationCode($originStationCode)
168 {
169 $this->originStationCode = $originStationCode;
170 }
171 /**
172 * @return string
173 */
174 public function getOriginStationCode()
175 {
176 return $this->originStationCode;
177 }
178 /**
179 * @param string
180 */
181 public function setPlatform($platform)
182 {
183 $this->platform = $platform;
184 }
185 /**
186 * @return string
187 */
188 public function getPlatform()
189 {
190 return $this->platform;
191 }
192 /**
193 * @param TicketSeat
194 */
195 public function setTicketSeat(TicketSeat $ticketSeat)
196 {
197 $this->ticketSeat = $ticketSeat;
198 }
199 /**
200 * @return TicketSeat
201 */
202 public function getTicketSeat()
203 {
204 return $this->ticketSeat;
205 }
206 /**
207 * @param TicketSeat[]
208 */
209 public function setTicketSeats($ticketSeats)
210 {
211 $this->ticketSeats = $ticketSeats;
212 }
213 /**
214 * @return TicketSeat[]
215 */
216 public function getTicketSeats()
217 {
218 return $this->ticketSeats;
219 }
220 /**
221 * @param LocalizedString
222 */
223 public function setTransitOperatorName(LocalizedString $transitOperatorName)
224 {
225 $this->transitOperatorName = $transitOperatorName;
226 }
227 /**
228 * @return LocalizedString
229 */
230 public function getTransitOperatorName()
231 {
232 return $this->transitOperatorName;
233 }
234 /**
235 * @param LocalizedString
236 */
237 public function setTransitTerminusName(LocalizedString $transitTerminusName)
238 {
239 $this->transitTerminusName = $transitTerminusName;
240 }
241 /**
242 * @return LocalizedString
243 */
244 public function getTransitTerminusName()
245 {
246 return $this->transitTerminusName;
247 }
248 /**
249 * @param string
250 */
251 public function setZone($zone)
252 {
253 $this->zone = $zone;
254 }
255 /**
256 * @return string
257 */
258 public function getZone()
259 {
260 return $this->zone;
261 }
262}
263
264// Adding a class alias for backwards compatibility with the previous class name.
265class_alias(TicketLeg::class, 'Google_Service_Walletobjects_TicketLeg');
Note: See TracBrowser for help on using the repository browser.