source: vendor/google/apiclient-services/src/ManufacturerCenter/Product.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.5 KB
Line 
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\ManufacturerCenter;
19
20class Product extends \Google\Collection
21{
22 protected $collection_key = 'issues';
23 protected $attributesType = Attributes::class;
24 protected $attributesDataType = '';
25 /**
26 * @var string
27 */
28 public $contentLanguage;
29 protected $destinationStatusesType = DestinationStatus::class;
30 protected $destinationStatusesDataType = 'array';
31 /**
32 * @var string
33 */
34 public $feedLabel;
35 protected $issuesType = Issue::class;
36 protected $issuesDataType = 'array';
37 /**
38 * @var string
39 */
40 public $name;
41 /**
42 * @var string
43 */
44 public $parent;
45 /**
46 * @var string
47 */
48 public $productId;
49 /**
50 * @var string
51 */
52 public $targetCountry;
53
54 /**
55 * @param Attributes
56 */
57 public function setAttributes(Attributes $attributes)
58 {
59 $this->attributes = $attributes;
60 }
61 /**
62 * @return Attributes
63 */
64 public function getAttributes()
65 {
66 return $this->attributes;
67 }
68 /**
69 * @param string
70 */
71 public function setContentLanguage($contentLanguage)
72 {
73 $this->contentLanguage = $contentLanguage;
74 }
75 /**
76 * @return string
77 */
78 public function getContentLanguage()
79 {
80 return $this->contentLanguage;
81 }
82 /**
83 * @param DestinationStatus[]
84 */
85 public function setDestinationStatuses($destinationStatuses)
86 {
87 $this->destinationStatuses = $destinationStatuses;
88 }
89 /**
90 * @return DestinationStatus[]
91 */
92 public function getDestinationStatuses()
93 {
94 return $this->destinationStatuses;
95 }
96 /**
97 * @param string
98 */
99 public function setFeedLabel($feedLabel)
100 {
101 $this->feedLabel = $feedLabel;
102 }
103 /**
104 * @return string
105 */
106 public function getFeedLabel()
107 {
108 return $this->feedLabel;
109 }
110 /**
111 * @param Issue[]
112 */
113 public function setIssues($issues)
114 {
115 $this->issues = $issues;
116 }
117 /**
118 * @return Issue[]
119 */
120 public function getIssues()
121 {
122 return $this->issues;
123 }
124 /**
125 * @param string
126 */
127 public function setName($name)
128 {
129 $this->name = $name;
130 }
131 /**
132 * @return string
133 */
134 public function getName()
135 {
136 return $this->name;
137 }
138 /**
139 * @param string
140 */
141 public function setParent($parent)
142 {
143 $this->parent = $parent;
144 }
145 /**
146 * @return string
147 */
148 public function getParent()
149 {
150 return $this->parent;
151 }
152 /**
153 * @param string
154 */
155 public function setProductId($productId)
156 {
157 $this->productId = $productId;
158 }
159 /**
160 * @return string
161 */
162 public function getProductId()
163 {
164 return $this->productId;
165 }
166 /**
167 * @param string
168 */
169 public function setTargetCountry($targetCountry)
170 {
171 $this->targetCountry = $targetCountry;
172 }
173 /**
174 * @return string
175 */
176 public function getTargetCountry()
177 {
178 return $this->targetCountry;
179 }
180}
181
182// Adding a class alias for backwards compatibility with the previous class name.
183class_alias(Product::class, 'Google_Service_ManufacturerCenter_Product');
Note: See TracBrowser for help on using the repository browser.