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');