[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\ShoppingContent;
|
---|
| 19 |
|
---|
| 20 | class Account extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'youtubeChannelLinks';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $accountManagement;
|
---|
| 27 | protected $adsLinksType = AccountAdsLink::class;
|
---|
| 28 | protected $adsLinksDataType = 'array';
|
---|
| 29 | /**
|
---|
| 30 | * @var bool
|
---|
| 31 | */
|
---|
| 32 | public $adultContent;
|
---|
| 33 | protected $automaticImprovementsType = AccountAutomaticImprovements::class;
|
---|
| 34 | protected $automaticImprovementsDataType = '';
|
---|
| 35 | /**
|
---|
| 36 | * @var string[]
|
---|
| 37 | */
|
---|
| 38 | public $automaticLabelIds;
|
---|
| 39 | protected $businessIdentityType = AccountBusinessIdentity::class;
|
---|
| 40 | protected $businessIdentityDataType = '';
|
---|
| 41 | protected $businessInformationType = AccountBusinessInformation::class;
|
---|
| 42 | protected $businessInformationDataType = '';
|
---|
| 43 | protected $conversionSettingsType = AccountConversionSettings::class;
|
---|
| 44 | protected $conversionSettingsDataType = '';
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $cssId;
|
---|
| 49 | protected $googleMyBusinessLinkType = AccountGoogleMyBusinessLink::class;
|
---|
| 50 | protected $googleMyBusinessLinkDataType = '';
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $id;
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $kind;
|
---|
| 59 | /**
|
---|
| 60 | * @var string[]
|
---|
| 61 | */
|
---|
| 62 | public $labelIds;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $name;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $sellerId;
|
---|
| 71 | protected $usersType = AccountUser::class;
|
---|
| 72 | protected $usersDataType = 'array';
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $websiteUrl;
|
---|
| 77 | protected $youtubeChannelLinksType = AccountYouTubeChannelLink::class;
|
---|
| 78 | protected $youtubeChannelLinksDataType = 'array';
|
---|
| 79 |
|
---|
| 80 | /**
|
---|
| 81 | * @param string
|
---|
| 82 | */
|
---|
| 83 | public function setAccountManagement($accountManagement)
|
---|
| 84 | {
|
---|
| 85 | $this->accountManagement = $accountManagement;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return string
|
---|
| 89 | */
|
---|
| 90 | public function getAccountManagement()
|
---|
| 91 | {
|
---|
| 92 | return $this->accountManagement;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param AccountAdsLink[]
|
---|
| 96 | */
|
---|
| 97 | public function setAdsLinks($adsLinks)
|
---|
| 98 | {
|
---|
| 99 | $this->adsLinks = $adsLinks;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return AccountAdsLink[]
|
---|
| 103 | */
|
---|
| 104 | public function getAdsLinks()
|
---|
| 105 | {
|
---|
| 106 | return $this->adsLinks;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param bool
|
---|
| 110 | */
|
---|
| 111 | public function setAdultContent($adultContent)
|
---|
| 112 | {
|
---|
| 113 | $this->adultContent = $adultContent;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return bool
|
---|
| 117 | */
|
---|
| 118 | public function getAdultContent()
|
---|
| 119 | {
|
---|
| 120 | return $this->adultContent;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param AccountAutomaticImprovements
|
---|
| 124 | */
|
---|
| 125 | public function setAutomaticImprovements(AccountAutomaticImprovements $automaticImprovements)
|
---|
| 126 | {
|
---|
| 127 | $this->automaticImprovements = $automaticImprovements;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return AccountAutomaticImprovements
|
---|
| 131 | */
|
---|
| 132 | public function getAutomaticImprovements()
|
---|
| 133 | {
|
---|
| 134 | return $this->automaticImprovements;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param string[]
|
---|
| 138 | */
|
---|
| 139 | public function setAutomaticLabelIds($automaticLabelIds)
|
---|
| 140 | {
|
---|
| 141 | $this->automaticLabelIds = $automaticLabelIds;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return string[]
|
---|
| 145 | */
|
---|
| 146 | public function getAutomaticLabelIds()
|
---|
| 147 | {
|
---|
| 148 | return $this->automaticLabelIds;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param AccountBusinessIdentity
|
---|
| 152 | */
|
---|
| 153 | public function setBusinessIdentity(AccountBusinessIdentity $businessIdentity)
|
---|
| 154 | {
|
---|
| 155 | $this->businessIdentity = $businessIdentity;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return AccountBusinessIdentity
|
---|
| 159 | */
|
---|
| 160 | public function getBusinessIdentity()
|
---|
| 161 | {
|
---|
| 162 | return $this->businessIdentity;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param AccountBusinessInformation
|
---|
| 166 | */
|
---|
| 167 | public function setBusinessInformation(AccountBusinessInformation $businessInformation)
|
---|
| 168 | {
|
---|
| 169 | $this->businessInformation = $businessInformation;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return AccountBusinessInformation
|
---|
| 173 | */
|
---|
| 174 | public function getBusinessInformation()
|
---|
| 175 | {
|
---|
| 176 | return $this->businessInformation;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param AccountConversionSettings
|
---|
| 180 | */
|
---|
| 181 | public function setConversionSettings(AccountConversionSettings $conversionSettings)
|
---|
| 182 | {
|
---|
| 183 | $this->conversionSettings = $conversionSettings;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return AccountConversionSettings
|
---|
| 187 | */
|
---|
| 188 | public function getConversionSettings()
|
---|
| 189 | {
|
---|
| 190 | return $this->conversionSettings;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param string
|
---|
| 194 | */
|
---|
| 195 | public function setCssId($cssId)
|
---|
| 196 | {
|
---|
| 197 | $this->cssId = $cssId;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return string
|
---|
| 201 | */
|
---|
| 202 | public function getCssId()
|
---|
| 203 | {
|
---|
| 204 | return $this->cssId;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param AccountGoogleMyBusinessLink
|
---|
| 208 | */
|
---|
| 209 | public function setGoogleMyBusinessLink(AccountGoogleMyBusinessLink $googleMyBusinessLink)
|
---|
| 210 | {
|
---|
| 211 | $this->googleMyBusinessLink = $googleMyBusinessLink;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return AccountGoogleMyBusinessLink
|
---|
| 215 | */
|
---|
| 216 | public function getGoogleMyBusinessLink()
|
---|
| 217 | {
|
---|
| 218 | return $this->googleMyBusinessLink;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param string
|
---|
| 222 | */
|
---|
| 223 | public function setId($id)
|
---|
| 224 | {
|
---|
| 225 | $this->id = $id;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return string
|
---|
| 229 | */
|
---|
| 230 | public function getId()
|
---|
| 231 | {
|
---|
| 232 | return $this->id;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param string
|
---|
| 236 | */
|
---|
| 237 | public function setKind($kind)
|
---|
| 238 | {
|
---|
| 239 | $this->kind = $kind;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return string
|
---|
| 243 | */
|
---|
| 244 | public function getKind()
|
---|
| 245 | {
|
---|
| 246 | return $this->kind;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @param string[]
|
---|
| 250 | */
|
---|
| 251 | public function setLabelIds($labelIds)
|
---|
| 252 | {
|
---|
| 253 | $this->labelIds = $labelIds;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @return string[]
|
---|
| 257 | */
|
---|
| 258 | public function getLabelIds()
|
---|
| 259 | {
|
---|
| 260 | return $this->labelIds;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @param string
|
---|
| 264 | */
|
---|
| 265 | public function setName($name)
|
---|
| 266 | {
|
---|
| 267 | $this->name = $name;
|
---|
| 268 | }
|
---|
| 269 | /**
|
---|
| 270 | * @return string
|
---|
| 271 | */
|
---|
| 272 | public function getName()
|
---|
| 273 | {
|
---|
| 274 | return $this->name;
|
---|
| 275 | }
|
---|
| 276 | /**
|
---|
| 277 | * @param string
|
---|
| 278 | */
|
---|
| 279 | public function setSellerId($sellerId)
|
---|
| 280 | {
|
---|
| 281 | $this->sellerId = $sellerId;
|
---|
| 282 | }
|
---|
| 283 | /**
|
---|
| 284 | * @return string
|
---|
| 285 | */
|
---|
| 286 | public function getSellerId()
|
---|
| 287 | {
|
---|
| 288 | return $this->sellerId;
|
---|
| 289 | }
|
---|
| 290 | /**
|
---|
| 291 | * @param AccountUser[]
|
---|
| 292 | */
|
---|
| 293 | public function setUsers($users)
|
---|
| 294 | {
|
---|
| 295 | $this->users = $users;
|
---|
| 296 | }
|
---|
| 297 | /**
|
---|
| 298 | * @return AccountUser[]
|
---|
| 299 | */
|
---|
| 300 | public function getUsers()
|
---|
| 301 | {
|
---|
| 302 | return $this->users;
|
---|
| 303 | }
|
---|
| 304 | /**
|
---|
| 305 | * @param string
|
---|
| 306 | */
|
---|
| 307 | public function setWebsiteUrl($websiteUrl)
|
---|
| 308 | {
|
---|
| 309 | $this->websiteUrl = $websiteUrl;
|
---|
| 310 | }
|
---|
| 311 | /**
|
---|
| 312 | * @return string
|
---|
| 313 | */
|
---|
| 314 | public function getWebsiteUrl()
|
---|
| 315 | {
|
---|
| 316 | return $this->websiteUrl;
|
---|
| 317 | }
|
---|
| 318 | /**
|
---|
| 319 | * @param AccountYouTubeChannelLink[]
|
---|
| 320 | */
|
---|
| 321 | public function setYoutubeChannelLinks($youtubeChannelLinks)
|
---|
| 322 | {
|
---|
| 323 | $this->youtubeChannelLinks = $youtubeChannelLinks;
|
---|
| 324 | }
|
---|
| 325 | /**
|
---|
| 326 | * @return AccountYouTubeChannelLink[]
|
---|
| 327 | */
|
---|
| 328 | public function getYoutubeChannelLinks()
|
---|
| 329 | {
|
---|
| 330 | return $this->youtubeChannelLinks;
|
---|
| 331 | }
|
---|
| 332 | }
|
---|
| 333 |
|
---|
| 334 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 335 | class_alias(Account::class, 'Google_Service_ShoppingContent_Account');
|
---|