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 Promotion
  6: {
  7:     /**
  8:      * @var string
  9:      */
 10:     protected $restriction;
 11:     /**
 12:      * @var string
 13:      */
 14:     protected $note;
 15:     /**
 16:      * @var string
 17:      */
 18:     protected $price;
 19:     /**
 20:      * @var int
 21:      */
 22:     protected $dailyLimit;
 23:     /**
 24:      * @var int
 25:      */
 26:     protected $id;
 27:     /**
 28:      * @var int
 29:      */
 30:     protected $snaggedToday;
 31:     /**
 32:      * @var int
 33:      */
 34:     protected $snaggableQuantity;
 35:     /**
 36:      * @var string[]
 37:      */
 38:     protected $badges;
 39:     /**
 40:      * @var bool
 41:      */
 42:     protected $elegible;
 43:     /**
 44:      * @var PromoCode
 45:      */
 46:     protected $promoCode;
 47:     /**
 48:      * @return string
 49:      */
 50:     public function getRestriction()
 51:     {
 52:         return $this->restriction;
 53:     }
 54:     /**
 55:      * @param string $restriction
 56:      *
 57:      * @return self
 58:      */
 59:     public function setRestriction($restriction = null)
 60:     {
 61:         $this->restriction = $restriction;
 62:         return $this;
 63:     }
 64:     /**
 65:      * @return string
 66:      */
 67:     public function getNote()
 68:     {
 69:         return $this->note;
 70:     }
 71:     /**
 72:      * @param string $note
 73:      *
 74:      * @return self
 75:      */
 76:     public function setNote($note = null)
 77:     {
 78:         $this->note = $note;
 79:         return $this;
 80:     }
 81:     /**
 82:      * @return string
 83:      */
 84:     public function getPrice()
 85:     {
 86:         return $this->price;
 87:     }
 88:     /**
 89:      * @param string $price
 90:      *
 91:      * @return self
 92:      */
 93:     public function setPrice($price = null)
 94:     {
 95:         $this->price = $price;
 96:         return $this;
 97:     }
 98:     /**
 99:      * @return int
100:      */
101:     public function getDailyLimit()
102:     {
103:         return $this->dailyLimit;
104:     }
105:     /**
106:      * @param int $dailyLimit
107:      *
108:      * @return self
109:      */
110:     public function setDailyLimit($dailyLimit = null)
111:     {
112:         $this->dailyLimit = $dailyLimit;
113:         return $this;
114:     }
115:     /**
116:      * @return int
117:      */
118:     public function getId()
119:     {
120:         return $this->id;
121:     }
122:     /**
123:      * @param int $id
124:      *
125:      * @return self
126:      */
127:     public function setId($id = null)
128:     {
129:         $this->id = $id;
130:         return $this;
131:     }
132:     /**
133:      * @return int
134:      */
135:     public function getSnaggedToday()
136:     {
137:         return $this->snaggedToday;
138:     }
139:     /**
140:      * @param int $snaggedToday
141:      *
142:      * @return self
143:      */
144:     public function setSnaggedToday($snaggedToday = null)
145:     {
146:         $this->snaggedToday = $snaggedToday;
147:         return $this;
148:     }
149:     /**
150:      * @return int
151:      */
152:     public function getSnaggableQuantity()
153:     {
154:         return $this->snaggableQuantity;
155:     }
156:     /**
157:      * @param int $snaggableQuantity
158:      *
159:      * @return self
160:      */
161:     public function setSnaggableQuantity($snaggableQuantity = null)
162:     {
163:         $this->snaggableQuantity = $snaggableQuantity;
164:         return $this;
165:     }
166:     /**
167:      * @return string[]
168:      */
169:     public function getBadges()
170:     {
171:         return $this->badges;
172:     }
173:     /**
174:      * @param string[] $badges
175:      *
176:      * @return self
177:      */
178:     public function setBadges(array $badges = null)
179:     {
180:         $this->badges = $badges;
181:         return $this;
182:     }
183:     /**
184:      * @return bool
185:      */
186:     public function getElegible()
187:     {
188:         return $this->elegible;
189:     }
190:     /**
191:      * @param bool $elegible
192:      *
193:      * @return self
194:      */
195:     public function setElegible($elegible = null)
196:     {
197:         $this->elegible = $elegible;
198:         return $this;
199:     }
200:     /**
201:      * @return PromoCode
202:      */
203:     public function getPromoCode()
204:     {
205:         return $this->promoCode;
206:     }
207:     /**
208:      * @param PromoCode $promoCode
209:      *
210:      * @return self
211:      */
212:     public function setPromoCode(PromoCode $promoCode = null)
213:     {
214:         $this->promoCode = $promoCode;
215:         return $this;
216:     }
217: }
API documentation generated by ApiGen