Overview

Namespaces

  • SellerLabs
    • Snagshout
      • Model
      • Normalizer
      • Resource
      • Utils

Classes

  • SellerLabs\Snagshout\Client
  • SellerLabs\Snagshout\Model\AmazonData
  • SellerLabs\Snagshout\Model\Attribute
  • SellerLabs\Snagshout\Model\BookmarkMetadata
  • SellerLabs\Snagshout\Model\Campaign
  • SellerLabs\Snagshout\Model\Category
  • SellerLabs\Snagshout\Model\Image
  • SellerLabs\Snagshout\Model\ImageMetadata
  • SellerLabs\Snagshout\Model\Links
  • SellerLabs\Snagshout\Model\Product
  • SellerLabs\Snagshout\Model\PromoCode
  • SellerLabs\Snagshout\Model\Promotion
  • SellerLabs\Snagshout\Model\Shipping
  • SellerLabs\Snagshout\Model\V1GetCampaignsResponse
  • SellerLabs\Snagshout\Model\V1GetCategoriesResponse
  • SellerLabs\Snagshout\Model\V1GetStatus
  • SellerLabs\Snagshout\Model\V1GetStatusResponse
  • SellerLabs\Snagshout\Normalizer\AmazonDataNormalizer
  • SellerLabs\Snagshout\Normalizer\AttributeNormalizer
  • SellerLabs\Snagshout\Normalizer\BookmarkMetadataNormalizer
  • SellerLabs\Snagshout\Normalizer\CampaignNormalizer
  • SellerLabs\Snagshout\Normalizer\CategoryNormalizer
  • SellerLabs\Snagshout\Normalizer\ImageMetadataNormalizer
  • SellerLabs\Snagshout\Normalizer\ImageNormalizer
  • SellerLabs\Snagshout\Normalizer\LinksNormalizer
  • SellerLabs\Snagshout\Normalizer\NormalizerFactory
  • SellerLabs\Snagshout\Normalizer\ProductNormalizer
  • SellerLabs\Snagshout\Normalizer\PromoCodeNormalizer
  • SellerLabs\Snagshout\Normalizer\PromotionNormalizer
  • SellerLabs\Snagshout\Normalizer\ShippingNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetCampaignsResponseNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetCategoriesResponseNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetStatusNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetStatusResponseNormalizer
  • SellerLabs\Snagshout\Resource\CampaignResource
  • SellerLabs\Snagshout\Resource\CategoryResource
  • SellerLabs\Snagshout\Resource\FrontResource
  • SellerLabs\Snagshout\SyndicationClient
  • SellerLabs\Snagshout\Utils\NormalizerFactory
  • SellerLabs\Snagshout\Utils\NullNormalizer
  • Overview
  • Namespace
  • Class
  1: <?php
  2: 
  3: namespace SellerLabs\Snagshout\Model;
  4: 
  5: class Campaign
  6: {
  7:     /**
  8:      * @var int
  9:      */
 10:     protected $id;
 11:     /**
 12:      * @var string
 13:      */
 14:     protected $name;
 15:     /**
 16:      * @var string
 17:      */
 18:     protected $description;
 19:     /**
 20:      * @var string
 21:      */
 22:     protected $note;
 23:     /**
 24:      * @var string
 25:      */
 26:     protected $country;
 27:     /**
 28:      * @var string[]
 29:      */
 30:     protected $shoutChannels;
 31:     /**
 32:      * @var string
 33:      */
 34:     protected $url;
 35:     /**
 36:      * @var string
 37:      */
 38:     protected $shortUrl;
 39:     /**
 40:      * @var string
 41:      */
 42:     protected $availability;
 43:     /**
 44:      * @var string
 45:      */
 46:     protected $startsAt;
 47:     /**
 48:      * @var string
 49:      */
 50:     protected $endsAt;
 51:     /**
 52:      * @var string
 53:      */
 54:     protected $type;
 55:     /**
 56:      * @var Product
 57:      */
 58:     protected $product;
 59:     /**
 60:      * @var Promotion[]
 61:      */
 62:     protected $promotions;
 63:     /**
 64:      * @return int
 65:      */
 66:     public function getId()
 67:     {
 68:         return $this->id;
 69:     }
 70:     /**
 71:      * @param int $id
 72:      *
 73:      * @return self
 74:      */
 75:     public function setId($id = null)
 76:     {
 77:         $this->id = $id;
 78:         return $this;
 79:     }
 80:     /**
 81:      * @return string
 82:      */
 83:     public function getName()
 84:     {
 85:         return $this->name;
 86:     }
 87:     /**
 88:      * @param string $name
 89:      *
 90:      * @return self
 91:      */
 92:     public function setName($name = null)
 93:     {
 94:         $this->name = $name;
 95:         return $this;
 96:     }
 97:     /**
 98:      * @return string
 99:      */
100:     public function getDescription()
101:     {
102:         return $this->description;
103:     }
104:     /**
105:      * @param string $description
106:      *
107:      * @return self
108:      */
109:     public function setDescription($description = null)
110:     {
111:         $this->description = $description;
112:         return $this;
113:     }
114:     /**
115:      * @return string
116:      */
117:     public function getNote()
118:     {
119:         return $this->note;
120:     }
121:     /**
122:      * @param string $note
123:      *
124:      * @return self
125:      */
126:     public function setNote($note = null)
127:     {
128:         $this->note = $note;
129:         return $this;
130:     }
131:     /**
132:      * @return string
133:      */
134:     public function getCountry()
135:     {
136:         return $this->country;
137:     }
138:     /**
139:      * @param string $country
140:      *
141:      * @return self
142:      */
143:     public function setCountry($country = null)
144:     {
145:         $this->country = $country;
146:         return $this;
147:     }
148:     /**
149:      * @return string[]
150:      */
151:     public function getShoutChannels()
152:     {
153:         return $this->shoutChannels;
154:     }
155:     /**
156:      * @param string[] $shoutChannels
157:      *
158:      * @return self
159:      */
160:     public function setShoutChannels(array $shoutChannels = null)
161:     {
162:         $this->shoutChannels = $shoutChannels;
163:         return $this;
164:     }
165:     /**
166:      * @return string
167:      */
168:     public function getUrl()
169:     {
170:         return $this->url;
171:     }
172:     /**
173:      * @param string $url
174:      *
175:      * @return self
176:      */
177:     public function setUrl($url = null)
178:     {
179:         $this->url = $url;
180:         return $this;
181:     }
182:     /**
183:      * @return string
184:      */
185:     public function getShortUrl()
186:     {
187:         return $this->shortUrl;
188:     }
189:     /**
190:      * @param string $shortUrl
191:      *
192:      * @return self
193:      */
194:     public function setShortUrl($shortUrl = null)
195:     {
196:         $this->shortUrl = $shortUrl;
197:         return $this;
198:     }
199:     /**
200:      * @return string
201:      */
202:     public function getAvailability()
203:     {
204:         return $this->availability;
205:     }
206:     /**
207:      * @param string $availability
208:      *
209:      * @return self
210:      */
211:     public function setAvailability($availability = null)
212:     {
213:         $this->availability = $availability;
214:         return $this;
215:     }
216:     /**
217:      * @return string
218:      */
219:     public function getStartsAt()
220:     {
221:         return $this->startsAt;
222:     }
223:     /**
224:      * @param string $startsAt
225:      *
226:      * @return self
227:      */
228:     public function setStartsAt($startsAt = null)
229:     {
230:         $this->startsAt = $startsAt;
231:         return $this;
232:     }
233:     /**
234:      * @return string
235:      */
236:     public function getEndsAt()
237:     {
238:         return $this->endsAt;
239:     }
240:     /**
241:      * @param string $endsAt
242:      *
243:      * @return self
244:      */
245:     public function setEndsAt($endsAt = null)
246:     {
247:         $this->endsAt = $endsAt;
248:         return $this;
249:     }
250:     /**
251:      * @return string
252:      */
253:     public function getType()
254:     {
255:         return $this->type;
256:     }
257:     /**
258:      * @param string $type
259:      *
260:      * @return self
261:      */
262:     public function setType($type = null)
263:     {
264:         $this->type = $type;
265:         return $this;
266:     }
267:     /**
268:      * @return Product
269:      */
270:     public function getProduct()
271:     {
272:         return $this->product;
273:     }
274:     /**
275:      * @param Product $product
276:      *
277:      * @return self
278:      */
279:     public function setProduct(Product $product = null)
280:     {
281:         $this->product = $product;
282:         return $this;
283:     }
284:     /**
285:      * @return Promotion[]
286:      */
287:     public function getPromotions()
288:     {
289:         return $this->promotions;
290:     }
291:     /**
292:      * @param Promotion[] $promotions
293:      *
294:      * @return self
295:      */
296:     public function setPromotions(array $promotions = null)
297:     {
298:         $this->promotions = $promotions;
299:         return $this;
300:     }
301: }
API documentation generated by ApiGen