📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Walletobjects
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ActivationOptions.php
▶ Open 📄 View Source
🐘 ActivationStatus.php
▶ Open 📄 View Source
🐘 AddMessageRequest.php
▶ Open 📄 View Source
🐘 AirportInfo.php
▶ Open 📄 View Source
🐘 AppLinkData.php
▶ Open 📄 View Source
🐘 AppLinkDataAppLinkInfo.php
▶ Open 📄 View Source
🐘 AppLinkDataAppLinkInfoAppTarget.php
▶ Open 📄 View Source
🐘 AuthenticationKey.php
▶ Open 📄 View Source
🐘 Barcode.php
▶ Open 📄 View Source
🐘 BarcodeSectionDetail.php
▶ Open 📄 View Source
🐘 Blobstore2Info.php
▶ Open 📄 View Source
🐘 BoardingAndSeatingInfo.php
▶ Open 📄 View Source
🐘 BoardingAndSeatingPolicy.php
▶ Open 📄 View Source
🐘 CallbackOptions.php
▶ Open 📄 View Source
🐘 CardBarcodeSectionDetails.php
▶ Open 📄 View Source
🐘 CardRowOneItem.php
▶ Open 📄 View Source
🐘 CardRowTemplateInfo.php
▶ Open 📄 View Source
🐘 CardRowThreeItems.php
▶ Open 📄 View Source
🐘 CardRowTwoItems.php
▶ Open 📄 View Source
🐘 CardTemplateOverride.php
▶ Open 📄 View Source
🐘 ClassTemplateInfo.php
▶ Open 📄 View Source
🐘 CompositeMedia.php
▶ Open 📄 View Source
🐘 ContentTypeInfo.php
▶ Open 📄 View Source
🐘 DateTime.php
▶ Open 📄 View Source
🐘 DetailsItemInfo.php
▶ Open 📄 View Source
🐘 DetailsTemplateOverride.php
▶ Open 📄 View Source
🐘 DeviceContext.php
▶ Open 📄 View Source
🐘 DiffChecksumsResponse.php
▶ Open 📄 View Source
🐘 DiffDownloadResponse.php
▶ Open 📄 View Source
🐘 DiffUploadRequest.php
▶ Open 📄 View Source
🐘 DiffUploadResponse.php
▶ Open 📄 View Source
🐘 DiffVersionResponse.php
▶ Open 📄 View Source
🐘 DiscoverableProgram.php
▶ Open 📄 View Source
🐘 DiscoverableProgramMerchantSigninInfo.php
▶ Open 📄 View Source
🐘 DiscoverableProgramMerchantSignupInfo.php
▶ Open 📄 View Source
🐘 DownloadParameters.php
▶ Open 📄 View Source
🐘 EventDateTime.php
▶ Open 📄 View Source
🐘 EventReservationInfo.php
▶ Open 📄 View Source
🐘 EventSeat.php
▶ Open 📄 View Source
🐘 EventTicketClass.php
▶ Open 📄 View Source
🐘 EventTicketClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 EventTicketClassListResponse.php
▶ Open 📄 View Source
🐘 EventTicketObject.php
▶ Open 📄 View Source
🐘 EventTicketObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 EventTicketObjectListResponse.php
▶ Open 📄 View Source
🐘 EventVenue.php
▶ Open 📄 View Source
🐘 ExpiryNotification.php
▶ Open 📄 View Source
🐘 FieldReference.php
▶ Open 📄 View Source
🐘 FieldSelector.php
▶ Open 📄 View Source
🐘 FirstRowOption.php
▶ Open 📄 View Source
🐘 FlightCarrier.php
▶ Open 📄 View Source
🐘 FlightClass.php
▶ Open 📄 View Source
🐘 FlightClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 FlightClassListResponse.php
▶ Open 📄 View Source
🐘 FlightHeader.php
▶ Open 📄 View Source
🐘 FlightObject.php
▶ Open 📄 View Source
🐘 FlightObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 FlightObjectListResponse.php
▶ Open 📄 View Source
🐘 FrequentFlyerInfo.php
▶ Open 📄 View Source
🐘 GenericClass.php
▶ Open 📄 View Source
🐘 GenericClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 GenericClassListResponse.php
▶ Open 📄 View Source
🐘 GenericObject.php
▶ Open 📄 View Source
🐘 GenericObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 GenericObjectListResponse.php
▶ Open 📄 View Source
🐘 GiftCardClass.php
▶ Open 📄 View Source
🐘 GiftCardClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 GiftCardClassListResponse.php
▶ Open 📄 View Source
🐘 GiftCardObject.php
▶ Open 📄 View Source
🐘 GiftCardObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 GiftCardObjectListResponse.php
▶ Open 📄 View Source
🐘 GroupingInfo.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 ImageModuleData.php
▶ Open 📄 View Source
🐘 ImageUri.php
▶ Open 📄 View Source
🐘 InfoModuleData.php
▶ Open 📄 View Source
🐘 Issuer.php
▶ Open 📄 View Source
🐘 IssuerContactInfo.php
▶ Open 📄 View Source
🐘 IssuerListResponse.php
▶ Open 📄 View Source
🐘 IssuerToUserInfo.php
▶ Open 📄 View Source
🐘 JwtInsertResponse.php
▶ Open 📄 View Source
🐘 JwtResource.php
▶ Open 📄 View Source
🐘 LabelValue.php
▶ Open 📄 View Source
🐘 LabelValueRow.php
▶ Open 📄 View Source
🐘 LatLongPoint.php
▶ Open 📄 View Source
🐘 LinksModuleData.php
▶ Open 📄 View Source
🐘 ListTemplateOverride.php
▶ Open 📄 View Source
🐘 LocalizedString.php
▶ Open 📄 View Source
🐘 LoyaltyClass.php
▶ Open 📄 View Source
🐘 LoyaltyClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 LoyaltyClassListResponse.php
▶ Open 📄 View Source
🐘 LoyaltyObject.php
▶ Open 📄 View Source
🐘 LoyaltyObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 LoyaltyObjectListResponse.php
▶ Open 📄 View Source
🐘 LoyaltyPoints.php
▶ Open 📄 View Source
🐘 LoyaltyPointsBalance.php
▶ Open 📄 View Source
🐘 Media.php
▶ Open 📄 View Source
🐘 MediaRequestInfo.php
▶ Open 📄 View Source
🐘 MerchantLocation.php
▶ Open 📄 View Source
🐘 Message.php
▶ Open 📄 View Source
🐘 ModifyLinkedOfferObjects.php
▶ Open 📄 View Source
🐘 ModifyLinkedOfferObjectsRequest.php
▶ Open 📄 View Source
🐘 ModuleViewConstraints.php
▶ Open 📄 View Source
🐘 Money.php
▶ Open 📄 View Source
🐘 Notifications.php
▶ Open 📄 View Source
🐘 ObjectId.php
▶ Open 📄 View Source
🐘 OfferClass.php
▶ Open 📄 View Source
🐘 OfferClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 OfferClassListResponse.php
▶ Open 📄 View Source
🐘 OfferObject.php
▶ Open 📄 View Source
🐘 OfferObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 OfferObjectListResponse.php
▶ Open 📄 View Source
🐘 Pagination.php
▶ Open 📄 View Source
🐘 PassConstraints.php
▶ Open 📄 View Source
🐘 Permission.php
▶ Open 📄 View Source
🐘 Permissions.php
▶ Open 📄 View Source
🐘 PrivateText.php
▶ Open 📄 View Source
🐘 PrivateUri.php
▶ Open 📄 View Source
🐘 PurchaseDetails.php
▶ Open 📄 View Source
🐘 ReservationInfo.php
▶ Open 📄 View Source
🐘 Resources.php
▶ Open 📄 View Source
🐘 Review.php
▶ Open 📄 View Source
🐘 RotatingBarcode.php
▶ Open 📄 View Source
🐘 RotatingBarcodeTotpDetails.php
▶ Open 📄 View Source
🐘 RotatingBarcodeTotpDetailsTotpParameters.php
▶ Open 📄 View Source
🐘 RotatingBarcodeValues.php
▶ Open 📄 View Source
🐘 SaveRestrictions.php
▶ Open 📄 View Source
🐘 SecurityAnimation.php
▶ Open 📄 View Source
🐘 SetPassUpdateNoticeRequest.php
▶ Open 📄 View Source
🐘 SetPassUpdateNoticeResponse.php
▶ Open 📄 View Source
🐘 SignUpInfo.php
▶ Open 📄 View Source
🐘 SmartTap.php
▶ Open 📄 View Source
🐘 SmartTapMerchantData.php
▶ Open 📄 View Source
🐘 TemplateItem.php
▶ Open 📄 View Source
🐘 TextModuleData.php
▶ Open 📄 View Source
🐘 TicketCost.php
▶ Open 📄 View Source
🐘 TicketLeg.php
▶ Open 📄 View Source
🐘 TicketRestrictions.php
▶ Open 📄 View Source
🐘 TicketSeat.php
▶ Open 📄 View Source
🐘 TimeInterval.php
▶ Open 📄 View Source
🐘 TransitClass.php
▶ Open 📄 View Source
🐘 TransitClassAddMessageResponse.php
▶ Open 📄 View Source
🐘 TransitClassListResponse.php
▶ Open 📄 View Source
🐘 TransitObject.php
▶ Open 📄 View Source
🐘 TransitObjectAddMessageResponse.php
▶ Open 📄 View Source
🐘 TransitObjectListResponse.php
▶ Open 📄 View Source
🐘 TransitObjectUploadRotatingBarcodeValuesRequest.php
▶ Open 📄 View Source
🐘 TransitObjectUploadRotatingBarcodeValuesResponse.php
▶ Open 📄 View Source
🐘 TranslatedString.php
▶ Open 📄 View Source
🐘 UpcomingNotification.php
▶ Open 📄 View Source
🐘 UploadPrivateDataRequest.php
▶ Open 📄 View Source
🐘 UploadPrivateDataResponse.php
▶ Open 📄 View Source
🐘 UploadPrivateImageRequest.php
▶ Open 📄 View Source
🐘 UploadPrivateImageResponse.php
▶ Open 📄 View Source
🐘 Uri.php
▶ Open 📄 View Source
🐘 ValueAddedModuleData.php
▶ Open 📄 View Source

📄 Source: TicketLeg.php

<?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 TicketLeg extends \Google\Collection
{
  protected $collection_key = 'ticketSeats';
  /**
   * The date/time of arrival. This is an ISO 8601 extended format date/time,
   * with or without an offset. Time may be specified up to nanosecond
   * precision. Offsets may be specified with seconds precision (even though
   * offset seconds is not part of ISO 8601). For example:
   * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the
   * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would
   * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4
   * hours before UTC (same instant in time as the above example). If the event
   * were in New York, this would be the equivalent of Eastern Daylight Time
   * (EDT). Remember that offset varies in regions that observe Daylight Saving
   * Time (or Summer Time), depending on the time of the year.
   * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the
   * 19th hour of April 12th, 1985 with no offset information. The portion of
   * the date/time without the offset is considered the "local date/time". This
   * should be the local date/time at the destination station. For example, if
   * the event occurs at the 20th hour of June 5th, 2018 at the destination
   * station, the local date/time portion should be `2018-06-05T20:00:00`. If
   * the local date/time at the destination station is 4 hours before UTC, an
   * offset of `-04:00` may be appended. Without offset information, some rich
   * features may not be available.
   *
   * @var string
   */
  public $arrivalDateTime;
  /**
   * The train or ship name/number that the passsenger needs to board.
   *
   * @var string
   */
  public $carriage;
  /**
   * The date/time of departure. This is required if there is no validity time
   * interval set on the transit object. This is an ISO 8601 extended format
   * date/time, with or without an offset. Time may be specified up to
   * nanosecond precision. Offsets may be specified with seconds precision (even
   * though offset seconds is not part of ISO 8601). For example:
   * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the
   * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would
   * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4
   * hours before UTC (same instant in time as the above example). If the event
   * were in New York, this would be the equivalent of Eastern Daylight Time
   * (EDT). Remember that offset varies in regions that observe Daylight Saving
   * Time (or Summer Time), depending on the time of the year.
   * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the
   * 19th hour of April 12th, 1985 with no offset information. The portion of
   * the date/time without the offset is considered the "local date/time". This
   * should be the local date/time at the origin station. For example, if the
   * departure occurs at the 20th hour of June 5th, 2018 at the origin station,
   * the local date/time portion should be `2018-06-05T20:00:00`. If the local
   * date/time at the origin station is 4 hours before UTC, an offset of
   * `-04:00` may be appended. Without offset information, some rich features
   * may not be available.
   *
   * @var string
   */
  public $departureDateTime;
  protected $destinationNameType = LocalizedString::class;
  protected $destinationNameDataType = '';
  /**
   * The destination station code.
   *
   * @var string
   */
  public $destinationStationCode;
  protected $fareNameType = LocalizedString::class;
  protected $fareNameDataType = '';
  protected $originNameType = LocalizedString::class;
  protected $originNameDataType = '';
  /**
   * The origin station code. This is required if `destinationStationCode` is
   * present or if `originName` is not present.
   *
   * @var string
   */
  public $originStationCode;
  /**
   * The platform or gate where the passenger can board the carriage.
   *
   * @var string
   */
  public $platform;
  protected $ticketSeatType = TicketSeat::class;
  protected $ticketSeatDataType = '';
  protected $ticketSeatsType = TicketSeat::class;
  protected $ticketSeatsDataType = 'array';
  protected $transitOperatorNameType = LocalizedString::class;
  protected $transitOperatorNameDataType = '';
  protected $transitTerminusNameType = LocalizedString::class;
  protected $transitTerminusNameDataType = '';
  /**
   * The zone of boarding within the platform.
   *
   * @var string
   */
  public $zone;

  /**
   * The date/time of arrival. This is an ISO 8601 extended format date/time,
   * with or without an offset. Time may be specified up to nanosecond
   * precision. Offsets may be specified with seconds precision (even though
   * offset seconds is not part of ISO 8601). For example:
   * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the
   * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would
   * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4
   * hours before UTC (same instant in time as the above example). If the event
   * were in New York, this would be the equivalent of Eastern Daylight Time
   * (EDT). Remember that offset varies in regions that observe Daylight Saving
   * Time (or Summer Time), depending on the time of the year.
   * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the
   * 19th hour of April 12th, 1985 with no offset information. The portion of
   * the date/time without the offset is considered the "local date/time". This
   * should be the local date/time at the destination station. For example, if
   * the event occurs at the 20th hour of June 5th, 2018 at the destination
   * station, the local date/time portion should be `2018-06-05T20:00:00`. If
   * the local date/time at the destination station is 4 hours before UTC, an
   * offset of `-04:00` may be appended. Without offset information, some rich
   * features may not be available.
   *
   * @param string $arrivalDateTime
   */
  public function setArrivalDateTime($arrivalDateTime)
  {
    $this->arrivalDateTime = $arrivalDateTime;
  }
  /**
   * @return string
   */
  public function getArrivalDateTime()
  {
    return $this->arrivalDateTime;
  }
  /**
   * The train or ship name/number that the passsenger needs to board.
   *
   * @param string $carriage
   */
  public function setCarriage($carriage)
  {
    $this->carriage = $carriage;
  }
  /**
   * @return string
   */
  public function getCarriage()
  {
    return $this->carriage;
  }
  /**
   * The date/time of departure. This is required if there is no validity time
   * interval set on the transit object. This is an ISO 8601 extended format
   * date/time, with or without an offset. Time may be specified up to
   * nanosecond precision. Offsets may be specified with seconds precision (even
   * though offset seconds is not part of ISO 8601). For example:
   * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the
   * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would
   * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4
   * hours before UTC (same instant in time as the above example). If the event
   * were in New York, this would be the equivalent of Eastern Daylight Time
   * (EDT). Remember that offset varies in regions that observe Daylight Saving
   * Time (or Summer Time), depending on the time of the year.
   * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the
   * 19th hour of April 12th, 1985 with no offset information. The portion of
   * the date/time without the offset is considered the "local date/time". This
   * should be the local date/time at the origin station. For example, if the
   * departure occurs at the 20th hour of June 5th, 2018 at the origin station,
   * the local date/time portion should be `2018-06-05T20:00:00`. If the local
   * date/time at the origin station is 4 hours before UTC, an offset of
   * `-04:00` may be appended. Without offset information, some rich features
   * may not be available.
   *
   * @param string $departureDateTime
   */
  public function setDepartureDateTime($departureDateTime)
  {
    $this->departureDateTime = $departureDateTime;
  }
  /**
   * @return string
   */
  public function getDepartureDateTime()
  {
    return $this->departureDateTime;
  }
  /**
   * The destination name.
   *
   * @param LocalizedString $destinationName
   */
  public function setDestinationName(LocalizedString $destinationName)
  {
    $this->destinationName = $destinationName;
  }
  /**
   * @return LocalizedString
   */
  public function getDestinationName()
  {
    return $this->destinationName;
  }
  /**
   * The destination station code.
   *
   * @param string $destinationStationCode
   */
  public function setDestinationStationCode($destinationStationCode)
  {
    $this->destinationStationCode = $destinationStationCode;
  }
  /**
   * @return string
   */
  public function getDestinationStationCode()
  {
    return $this->destinationStationCode;
  }
  /**
   * Short description/name of the fare for this leg of travel. Eg "Anytime
   * Single Use".
   *
   * @param LocalizedString $fareName
   */
  public function setFareName(LocalizedString $fareName)
  {
    $this->fareName = $fareName;
  }
  /**
   * @return LocalizedString
   */
  public function getFareName()
  {
    return $this->fareName;
  }
  /**
   * The name of the origin station. This is required if `desinationName` is
   * present or if `originStationCode` is not present.
   *
   * @param LocalizedString $originName
   */
  public function setOriginName(LocalizedString $originName)
  {
    $this->originName = $originName;
  }
  /**
   * @return LocalizedString
   */
  public function getOriginName()
  {
    return $this->originName;
  }
  /**
   * The origin station code. This is required if `destinationStationCode` is
   * present or if `originName` is not present.
   *
   * @param string $originStationCode
   */
  public function setOriginStationCode($originStationCode)
  {
    $this->originStationCode = $originStationCode;
  }
  /**
   * @return string
   */
  public function getOriginStationCode()
  {
    return $this->originStationCode;
  }
  /**
   * The platform or gate where the passenger can board the carriage.
   *
   * @param string $platform
   */
  public function setPlatform($platform)
  {
    $this->platform = $platform;
  }
  /**
   * @return string
   */
  public function getPlatform()
  {
    return $this->platform;
  }
  /**
   * The reserved seat for the passenger(s). If more than one seat is to be
   * specified then use the `ticketSeats` field instead. Both `ticketSeat` and
   * `ticketSeats` may not be set.
   *
   * @param TicketSeat $ticketSeat
   */
  public function setTicketSeat(TicketSeat $ticketSeat)
  {
    $this->ticketSeat = $ticketSeat;
  }
  /**
   * @return TicketSeat
   */
  public function getTicketSeat()
  {
    return $this->ticketSeat;
  }
  /**
   * The reserved seat for the passenger(s). If only one seat is to be specified
   * then use the `ticketSeat` field instead. Both `ticketSeat` and
   * `ticketSeats` may not be set.
   *
   * @param TicketSeat[] $ticketSeats
   */
  public function setTicketSeats($ticketSeats)
  {
    $this->ticketSeats = $ticketSeats;
  }
  /**
   * @return TicketSeat[]
   */
  public function getTicketSeats()
  {
    return $this->ticketSeats;
  }
  /**
   * The name of the transit operator that is operating this leg of a trip.
   *
   * @param LocalizedString $transitOperatorName
   */
  public function setTransitOperatorName(LocalizedString $transitOperatorName)
  {
    $this->transitOperatorName = $transitOperatorName;
  }
  /**
   * @return LocalizedString
   */
  public function getTransitOperatorName()
  {
    return $this->transitOperatorName;
  }
  /**
   * Terminus station or destination of the train/bus/etc.
   *
   * @param LocalizedString $transitTerminusName
   */
  public function setTransitTerminusName(LocalizedString $transitTerminusName)
  {
    $this->transitTerminusName = $transitTerminusName;
  }
  /**
   * @return LocalizedString
   */
  public function getTransitTerminusName()
  {
    return $this->transitTerminusName;
  }
  /**
   * The zone of boarding within the platform.
   *
   * @param string $zone
   */
  public function setZone($zone)
  {
    $this->zone = $zone;
  }
  /**
   * @return string
   */
  public function getZone()
  {
    return $this->zone;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TicketLeg::class, 'Google_Service_Walletobjects_TicketLeg');
← Back