1: <?php
2:
3: namespace SellerLabs\Snagshout\Model;
4:
5: class PromoCode
6: {
7: /**
8: * @var string
9: */
10: protected $promoCode;
11: /**
12: * @var bool
13: */
14: protected $oneTime;
15: /**
16: * @return string
17: */
18: public function getPromoCode()
19: {
20: return $this->promoCode;
21: }
22: /**
23: * @param string $promoCode
24: *
25: * @return self
26: */
27: public function setPromoCode($promoCode = null)
28: {
29: $this->promoCode = $promoCode;
30: return $this;
31: }
32: /**
33: * @return bool
34: */
35: public function getOneTime()
36: {
37: return $this->oneTime;
38: }
39: /**
40: * @param bool $oneTime
41: *
42: * @return self
43: */
44: public function setOneTime($oneTime = null)
45: {
46: $this->oneTime = $oneTime;
47: return $this;
48: }
49: }