1: <?php
2:
3: namespace SellerLabs\Snagshout\Model;
4:
5: class AmazonData
6: {
7: /**
8: * @var string
9: */
10: protected $asin;
11: /**
12: * @var string
13: */
14: protected $merchantId;
15: /**
16: * @var string
17: */
18: protected $fulfillment;
19: /**
20: * @var int
21: */
22: protected $starRating;
23: /**
24: * @var int
25: */
26: protected $numReviews;
27: /**
28: * @var int
29: */
30: protected $productId;
31: /**
32: * @var string[]
33: */
34: protected $childAsins;
35: /**
36: * @return string
37: */
38: public function getAsin()
39: {
40: return $this->asin;
41: }
42: /**
43: * @param string $asin
44: *
45: * @return self
46: */
47: public function setAsin($asin = null)
48: {
49: $this->asin = $asin;
50: return $this;
51: }
52: /**
53: * @return string
54: */
55: public function getMerchantId()
56: {
57: return $this->merchantId;
58: }
59: /**
60: * @param string $merchantId
61: *
62: * @return self
63: */
64: public function setMerchantId($merchantId = null)
65: {
66: $this->merchantId = $merchantId;
67: return $this;
68: }
69: /**
70: * @return string
71: */
72: public function getFulfillment()
73: {
74: return $this->fulfillment;
75: }
76: /**
77: * @param string $fulfillment
78: *
79: * @return self
80: */
81: public function setFulfillment($fulfillment = null)
82: {
83: $this->fulfillment = $fulfillment;
84: return $this;
85: }
86: /**
87: * @return int
88: */
89: public function getStarRating()
90: {
91: return $this->starRating;
92: }
93: /**
94: * @param int $starRating
95: *
96: * @return self
97: */
98: public function setStarRating($starRating = null)
99: {
100: $this->starRating = $starRating;
101: return $this;
102: }
103: /**
104: * @return int
105: */
106: public function getNumReviews()
107: {
108: return $this->numReviews;
109: }
110: /**
111: * @param int $numReviews
112: *
113: * @return self
114: */
115: public function setNumReviews($numReviews = null)
116: {
117: $this->numReviews = $numReviews;
118: return $this;
119: }
120: /**
121: * @return int
122: */
123: public function getProductId()
124: {
125: return $this->productId;
126: }
127: /**
128: * @param int $productId
129: *
130: * @return self
131: */
132: public function setProductId($productId = null)
133: {
134: $this->productId = $productId;
135: return $this;
136: }
137: /**
138: * @return string[]
139: */
140: public function getChildAsins()
141: {
142: return $this->childAsins;
143: }
144: /**
145: * @param string[] $childAsins
146: *
147: * @return self
148: */
149: public function setChildAsins(array $childAsins = null)
150: {
151: $this->childAsins = $childAsins;
152: return $this;
153: }
154: }