📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/MyBusinessBusinessInformation
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdWordsLocationExtensions.php
▶ Open 📄 View Source
🐘 AssociateLocationRequest.php
▶ Open 📄 View Source
🐘 Attribute.php
▶ Open 📄 View Source
🐘 AttributeMetadata.php
▶ Open 📄 View Source
🐘 AttributeValueMetadata.php
▶ Open 📄 View Source
🐘 Attributes.php
▶ Open 📄 View Source
🐘 BatchGetCategoriesResponse.php
▶ Open 📄 View Source
🐘 BusinessHours.php
▶ Open 📄 View Source
🐘 Categories.php
▶ Open 📄 View Source
🐘 Category.php
▶ Open 📄 View Source
🐘 Chain.php
▶ Open 📄 View Source
🐘 ChainName.php
▶ Open 📄 View Source
🐘 ChainUri.php
▶ Open 📄 View Source
🐘 ClearLocationAssociationRequest.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 FreeFormServiceItem.php
▶ Open 📄 View Source
🐘 GoogleLocation.php
▶ Open 📄 View Source
🐘 GoogleUpdatedLocation.php
▶ Open 📄 View Source
🐘 Label.php
▶ Open 📄 View Source
🐘 LatLng.php
▶ Open 📄 View Source
🐘 ListAttributeMetadataResponse.php
▶ Open 📄 View Source
🐘 ListCategoriesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 Money.php
▶ Open 📄 View Source
🐘 MoreHours.php
▶ Open 📄 View Source
🐘 MoreHoursType.php
▶ Open 📄 View Source
🐘 MybusinessbusinessinformationEmpty.php
▶ Open 📄 View Source
🐘 OpenInfo.php
▶ Open 📄 View Source
🐘 PhoneNumbers.php
▶ Open 📄 View Source
🐘 PlaceInfo.php
▶ Open 📄 View Source
🐘 Places.php
▶ Open 📄 View Source
🐘 PostalAddress.php
▶ Open 📄 View Source
🐘 Profile.php
▶ Open 📄 View Source
🐘 RelationshipData.php
▶ Open 📄 View Source
🐘 RelevantLocation.php
▶ Open 📄 View Source
🐘 RepeatedEnumAttributeValue.php
▶ Open 📄 View Source
🐘 SearchChainsResponse.php
▶ Open 📄 View Source
🐘 SearchGoogleLocationsRequest.php
▶ Open 📄 View Source
🐘 SearchGoogleLocationsResponse.php
▶ Open 📄 View Source
🐘 ServiceAreaBusiness.php
▶ Open 📄 View Source
🐘 ServiceItem.php
▶ Open 📄 View Source
🐘 ServiceType.php
▶ Open 📄 View Source
🐘 SpecialHourPeriod.php
▶ Open 📄 View Source
🐘 SpecialHours.php
▶ Open 📄 View Source
🐘 StructuredServiceItem.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TimePeriod.php
▶ Open 📄 View Source
🐘 UriAttributeValue.php
▶ Open 📄 View Source

📄 Source: Chain.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\MyBusinessBusinessInformation;

class Chain extends \Google\Collection
{
  protected $collection_key = 'websites';
  protected $chainNamesType = ChainName::class;
  protected $chainNamesDataType = 'array';
  /**
   * Number of locations that are part of this chain.
   *
   * @var int
   */
  public $locationCount;
  /**
   * Required. The chain's resource name, in the format `chains/{chain_id}`.
   *
   * @var string
   */
  public $name;
  protected $websitesType = ChainUri::class;
  protected $websitesDataType = 'array';

  /**
   * Names of the chain.
   *
   * @param ChainName[] $chainNames
   */
  public function setChainNames($chainNames)
  {
    $this->chainNames = $chainNames;
  }
  /**
   * @return ChainName[]
   */
  public function getChainNames()
  {
    return $this->chainNames;
  }
  /**
   * Number of locations that are part of this chain.
   *
   * @param int $locationCount
   */
  public function setLocationCount($locationCount)
  {
    $this->locationCount = $locationCount;
  }
  /**
   * @return int
   */
  public function getLocationCount()
  {
    return $this->locationCount;
  }
  /**
   * Required. The chain's resource name, in the format `chains/{chain_id}`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Websites of the chain.
   *
   * @param ChainUri[] $websites
   */
  public function setWebsites($websites)
  {
    $this->websites = $websites;
  }
  /**
   * @return ChainUri[]
   */
  public function getWebsites()
  {
    return $this->websites;
  }
}

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