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 AccountBusinessIdentity extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $blackOwnedType = AccountIdentityType::class;
|
---|
23 | protected $blackOwnedDataType = '';
|
---|
24 | /**
|
---|
25 | * @var bool
|
---|
26 | */
|
---|
27 | public $includeForPromotions;
|
---|
28 | protected $latinoOwnedType = AccountIdentityType::class;
|
---|
29 | protected $latinoOwnedDataType = '';
|
---|
30 | protected $smallBusinessType = AccountIdentityType::class;
|
---|
31 | protected $smallBusinessDataType = '';
|
---|
32 | protected $veteranOwnedType = AccountIdentityType::class;
|
---|
33 | protected $veteranOwnedDataType = '';
|
---|
34 | protected $womenOwnedType = AccountIdentityType::class;
|
---|
35 | protected $womenOwnedDataType = '';
|
---|
36 |
|
---|
37 | /**
|
---|
38 | * @param AccountIdentityType
|
---|
39 | */
|
---|
40 | public function setBlackOwned(AccountIdentityType $blackOwned)
|
---|
41 | {
|
---|
42 | $this->blackOwned = $blackOwned;
|
---|
43 | }
|
---|
44 | /**
|
---|
45 | * @return AccountIdentityType
|
---|
46 | */
|
---|
47 | public function getBlackOwned()
|
---|
48 | {
|
---|
49 | return $this->blackOwned;
|
---|
50 | }
|
---|
51 | /**
|
---|
52 | * @param bool
|
---|
53 | */
|
---|
54 | public function setIncludeForPromotions($includeForPromotions)
|
---|
55 | {
|
---|
56 | $this->includeForPromotions = $includeForPromotions;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return bool
|
---|
60 | */
|
---|
61 | public function getIncludeForPromotions()
|
---|
62 | {
|
---|
63 | return $this->includeForPromotions;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param AccountIdentityType
|
---|
67 | */
|
---|
68 | public function setLatinoOwned(AccountIdentityType $latinoOwned)
|
---|
69 | {
|
---|
70 | $this->latinoOwned = $latinoOwned;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return AccountIdentityType
|
---|
74 | */
|
---|
75 | public function getLatinoOwned()
|
---|
76 | {
|
---|
77 | return $this->latinoOwned;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param AccountIdentityType
|
---|
81 | */
|
---|
82 | public function setSmallBusiness(AccountIdentityType $smallBusiness)
|
---|
83 | {
|
---|
84 | $this->smallBusiness = $smallBusiness;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return AccountIdentityType
|
---|
88 | */
|
---|
89 | public function getSmallBusiness()
|
---|
90 | {
|
---|
91 | return $this->smallBusiness;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param AccountIdentityType
|
---|
95 | */
|
---|
96 | public function setVeteranOwned(AccountIdentityType $veteranOwned)
|
---|
97 | {
|
---|
98 | $this->veteranOwned = $veteranOwned;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return AccountIdentityType
|
---|
102 | */
|
---|
103 | public function getVeteranOwned()
|
---|
104 | {
|
---|
105 | return $this->veteranOwned;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param AccountIdentityType
|
---|
109 | */
|
---|
110 | public function setWomenOwned(AccountIdentityType $womenOwned)
|
---|
111 | {
|
---|
112 | $this->womenOwned = $womenOwned;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return AccountIdentityType
|
---|
116 | */
|
---|
117 | public function getWomenOwned()
|
---|
118 | {
|
---|
119 | return $this->womenOwned;
|
---|
120 | }
|
---|
121 | }
|
---|
122 |
|
---|
123 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
124 | class_alias(AccountBusinessIdentity::class, 'Google_Service_ShoppingContent_AccountBusinessIdentity');
|
---|