ruạṛ
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Service\Walletobjects; class TicketRestrictions extends \Google\Model { protected $otherRestrictionsType = LocalizedString::class; protected $otherRestrictionsDataType = ''; protected $routeRestrictionsType = LocalizedString::class; protected $routeRestrictionsDataType = ''; protected $routeRestrictionsDetailsType = LocalizedString::class; protected $routeRestrictionsDetailsDataType = ''; protected $timeRestrictionsType = LocalizedString::class; protected $timeRestrictionsDataType = ''; /** * @param LocalizedString */ public function setOtherRestrictions(LocalizedString $otherRestrictions) { $this->otherRestrictions = $otherRestrictions; } /** * @return LocalizedString */ public function getOtherRestrictions() { return $this->otherRestrictions; } /** * @param LocalizedString */ public function setRouteRestrictions(LocalizedString $routeRestrictions) { $this->routeRestrictions = $routeRestrictions; } /** * @return LocalizedString */ public function getRouteRestrictions() { return $this->routeRestrictions; } /** * @param LocalizedString */ public function setRouteRestrictionsDetails(LocalizedString $routeRestrictionsDetails) { $this->routeRestrictionsDetails = $routeRestrictionsDetails; } /** * @return LocalizedString */ public function getRouteRestrictionsDetails() { return $this->routeRestrictionsDetails; } /** * @param LocalizedString */ public function setTimeRestrictions(LocalizedString $timeRestrictions) { $this->timeRestrictions = $timeRestrictions; } /** * @return LocalizedString */ public function getTimeRestrictions() { return $this->timeRestrictions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TicketRestrictions::class, 'Google_Service_Walletobjects_TicketRestrictions');
cải xoăn