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