1: <?php
2:
3: namespace SellerLabs\Snagshout\Model;
4:
5: class Product
6: {
7: /**
8: * @var string
9: */
10: protected $externalUrl;
11: /**
12: * @var string
13: */
14: protected $marketplace;
15: /**
16: * @var string
17: */
18: protected $name;
19: /**
20: * @var string
21: */
22: protected $keywords;
23: /**
24: * @var string
25: */
26: protected $description;
27: /**
28: * @var string
29: */
30: protected $url;
31: /**
32: * @var string
33: */
34: protected $ean;
35: /**
36: * @var string
37: */
38: protected $currency;
39: /**
40: * @var string
41: */
42: protected $price;
43: /**
44: * @var int
45: */
46: protected $id;
47: /**
48: * @var AmazonData
49: */
50: protected $amazonData;
51: /**
52: * @var Category
53: */
54: protected $mainCategory;
55: /**
56: * @var Image
57: */
58: protected $featuredImage;
59: /**
60: * @var Image[]
61: */
62: protected $media;
63: /**
64: * @var Shipping[]
65: */
66: protected $shipping;
67: /**
68: * @var Attribute[]
69: */
70: protected $attributes;
71: /**
72: * @var BookmarkMetadata
73: */
74: protected $bookmarkedBy;
75: /**
76: * @return string
77: */
78: public function getExternalUrl()
79: {
80: return $this->externalUrl;
81: }
82: /**
83: * @param string $externalUrl
84: *
85: * @return self
86: */
87: public function setExternalUrl($externalUrl = null)
88: {
89: $this->externalUrl = $externalUrl;
90: return $this;
91: }
92: /**
93: * @return string
94: */
95: public function getMarketplace()
96: {
97: return $this->marketplace;
98: }
99: /**
100: * @param string $marketplace
101: *
102: * @return self
103: */
104: public function setMarketplace($marketplace = null)
105: {
106: $this->marketplace = $marketplace;
107: return $this;
108: }
109: /**
110: * @return string
111: */
112: public function getName()
113: {
114: return $this->name;
115: }
116: /**
117: * @param string $name
118: *
119: * @return self
120: */
121: public function setName($name = null)
122: {
123: $this->name = $name;
124: return $this;
125: }
126: /**
127: * @return string
128: */
129: public function getKeywords()
130: {
131: return $this->keywords;
132: }
133: /**
134: * @param string $keywords
135: *
136: * @return self
137: */
138: public function setKeywords($keywords = null)
139: {
140: $this->keywords = $keywords;
141: return $this;
142: }
143: /**
144: * @return string
145: */
146: public function getDescription()
147: {
148: return $this->description;
149: }
150: /**
151: * @param string $description
152: *
153: * @return self
154: */
155: public function setDescription($description = null)
156: {
157: $this->description = $description;
158: return $this;
159: }
160: /**
161: * @return string
162: */
163: public function getUrl()
164: {
165: return $this->url;
166: }
167: /**
168: * @param string $url
169: *
170: * @return self
171: */
172: public function setUrl($url = null)
173: {
174: $this->url = $url;
175: return $this;
176: }
177: /**
178: * @return string
179: */
180: public function getEan()
181: {
182: return $this->ean;
183: }
184: /**
185: * @param string $ean
186: *
187: * @return self
188: */
189: public function setEan($ean = null)
190: {
191: $this->ean = $ean;
192: return $this;
193: }
194: /**
195: * @return string
196: */
197: public function getCurrency()
198: {
199: return $this->currency;
200: }
201: /**
202: * @param string $currency
203: *
204: * @return self
205: */
206: public function setCurrency($currency = null)
207: {
208: $this->currency = $currency;
209: return $this;
210: }
211: /**
212: * @return string
213: */
214: public function getPrice()
215: {
216: return $this->price;
217: }
218: /**
219: * @param string $price
220: *
221: * @return self
222: */
223: public function setPrice($price = null)
224: {
225: $this->price = $price;
226: return $this;
227: }
228: /**
229: * @return int
230: */
231: public function getId()
232: {
233: return $this->id;
234: }
235: /**
236: * @param int $id
237: *
238: * @return self
239: */
240: public function setId($id = null)
241: {
242: $this->id = $id;
243: return $this;
244: }
245: /**
246: * @return AmazonData
247: */
248: public function getAmazonData()
249: {
250: return $this->amazonData;
251: }
252: /**
253: * @param AmazonData $amazonData
254: *
255: * @return self
256: */
257: public function setAmazonData(AmazonData $amazonData = null)
258: {
259: $this->amazonData = $amazonData;
260: return $this;
261: }
262: /**
263: * @return Category
264: */
265: public function getMainCategory()
266: {
267: return $this->mainCategory;
268: }
269: /**
270: * @param Category $mainCategory
271: *
272: * @return self
273: */
274: public function setMainCategory(Category $mainCategory = null)
275: {
276: $this->mainCategory = $mainCategory;
277: return $this;
278: }
279: /**
280: * @return Image
281: */
282: public function getFeaturedImage()
283: {
284: return $this->featuredImage;
285: }
286: /**
287: * @param Image $featuredImage
288: *
289: * @return self
290: */
291: public function setFeaturedImage(Image $featuredImage = null)
292: {
293: $this->featuredImage = $featuredImage;
294: return $this;
295: }
296: /**
297: * @return Image[]
298: */
299: public function getMedia()
300: {
301: return $this->media;
302: }
303: /**
304: * @param Image[] $media
305: *
306: * @return self
307: */
308: public function setMedia(array $media = null)
309: {
310: $this->media = $media;
311: return $this;
312: }
313: /**
314: * @return Shipping[]
315: */
316: public function getShipping()
317: {
318: return $this->shipping;
319: }
320: /**
321: * @param Shipping[] $shipping
322: *
323: * @return self
324: */
325: public function setShipping(array $shipping = null)
326: {
327: $this->shipping = $shipping;
328: return $this;
329: }
330: /**
331: * @return Attribute[]
332: */
333: public function getAttributes()
334: {
335: return $this->attributes;
336: }
337: /**
338: * @param Attribute[] $attributes
339: *
340: * @return self
341: */
342: public function setAttributes(array $attributes = null)
343: {
344: $this->attributes = $attributes;
345: return $this;
346: }
347: /**
348: * @return BookmarkMetadata
349: */
350: public function getBookmarkedBy()
351: {
352: return $this->bookmarkedBy;
353: }
354: /**
355: * @param BookmarkMetadata $bookmarkedBy
356: *
357: * @return self
358: */
359: public function setBookmarkedBy(BookmarkMetadata $bookmarkedBy = null)
360: {
361: $this->bookmarkedBy = $bookmarkedBy;
362: return $this;
363: }
364: }