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\Cloudchannel;
19
20class GoogleCloudChannelV1Customer extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $alternateEmail;
26  /**
27   * @var string
28   */
29  public $channelPartnerId;
30  /**
31   * @var string
32   */
33  public $cloudIdentityId;
34  protected $cloudIdentityInfoType = GoogleCloudChannelV1CloudIdentityInfo::class;
35  protected $cloudIdentityInfoDataType = '';
36  /**
37   * @var string
38   */
39  public $createTime;
40  /**
41   * @var string
42   */
43  public $domain;
44  /**
45   * @var string
46   */
47  public $languageCode;
48  /**
49   * @var string
50   */
51  public $name;
52  /**
53   * @var string
54   */
55  public $orgDisplayName;
56  protected $orgPostalAddressType = GoogleTypePostalAddress::class;
57  protected $orgPostalAddressDataType = '';
58  protected $primaryContactInfoType = GoogleCloudChannelV1ContactInfo::class;
59  protected $primaryContactInfoDataType = '';
60  /**
61   * @var string
62   */
63  public $updateTime;
64
65  /**
66   * @param string
67   */
68  public function setAlternateEmail($alternateEmail)
69  {
70    $this->alternateEmail = $alternateEmail;
71  }
72  /**
73   * @return string
74   */
75  public function getAlternateEmail()
76  {
77    return $this->alternateEmail;
78  }
79  /**
80   * @param string
81   */
82  public function setChannelPartnerId($channelPartnerId)
83  {
84    $this->channelPartnerId = $channelPartnerId;
85  }
86  /**
87   * @return string
88   */
89  public function getChannelPartnerId()
90  {
91    return $this->channelPartnerId;
92  }
93  /**
94   * @param string
95   */
96  public function setCloudIdentityId($cloudIdentityId)
97  {
98    $this->cloudIdentityId = $cloudIdentityId;
99  }
100  /**
101   * @return string
102   */
103  public function getCloudIdentityId()
104  {
105    return $this->cloudIdentityId;
106  }
107  /**
108   * @param GoogleCloudChannelV1CloudIdentityInfo
109   */
110  public function setCloudIdentityInfo(GoogleCloudChannelV1CloudIdentityInfo $cloudIdentityInfo)
111  {
112    $this->cloudIdentityInfo = $cloudIdentityInfo;
113  }
114  /**
115   * @return GoogleCloudChannelV1CloudIdentityInfo
116   */
117  public function getCloudIdentityInfo()
118  {
119    return $this->cloudIdentityInfo;
120  }
121  /**
122   * @param string
123   */
124  public function setCreateTime($createTime)
125  {
126    $this->createTime = $createTime;
127  }
128  /**
129   * @return string
130   */
131  public function getCreateTime()
132  {
133    return $this->createTime;
134  }
135  /**
136   * @param string
137   */
138  public function setDomain($domain)
139  {
140    $this->domain = $domain;
141  }
142  /**
143   * @return string
144   */
145  public function getDomain()
146  {
147    return $this->domain;
148  }
149  /**
150   * @param string
151   */
152  public function setLanguageCode($languageCode)
153  {
154    $this->languageCode = $languageCode;
155  }
156  /**
157   * @return string
158   */
159  public function getLanguageCode()
160  {
161    return $this->languageCode;
162  }
163  /**
164   * @param string
165   */
166  public function setName($name)
167  {
168    $this->name = $name;
169  }
170  /**
171   * @return string
172   */
173  public function getName()
174  {
175    return $this->name;
176  }
177  /**
178   * @param string
179   */
180  public function setOrgDisplayName($orgDisplayName)
181  {
182    $this->orgDisplayName = $orgDisplayName;
183  }
184  /**
185   * @return string
186   */
187  public function getOrgDisplayName()
188  {
189    return $this->orgDisplayName;
190  }
191  /**
192   * @param GoogleTypePostalAddress
193   */
194  public function setOrgPostalAddress(GoogleTypePostalAddress $orgPostalAddress)
195  {
196    $this->orgPostalAddress = $orgPostalAddress;
197  }
198  /**
199   * @return GoogleTypePostalAddress
200   */
201  public function getOrgPostalAddress()
202  {
203    return $this->orgPostalAddress;
204  }
205  /**
206   * @param GoogleCloudChannelV1ContactInfo
207   */
208  public function setPrimaryContactInfo(GoogleCloudChannelV1ContactInfo $primaryContactInfo)
209  {
210    $this->primaryContactInfo = $primaryContactInfo;
211  }
212  /**
213   * @return GoogleCloudChannelV1ContactInfo
214   */
215  public function getPrimaryContactInfo()
216  {
217    return $this->primaryContactInfo;
218  }
219  /**
220   * @param string
221   */
222  public function setUpdateTime($updateTime)
223  {
224    $this->updateTime = $updateTime;
225  }
226  /**
227   * @return string
228   */
229  public function getUpdateTime()
230  {
231    return $this->updateTime;
232  }
233}
234
235// Adding a class alias for backwards compatibility with the previous class name.
236class_alias(GoogleCloudChannelV1Customer::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Customer');
237