| Total Complexity | 4 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Channel extends AbstractModel |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Online type, for sales in the website |
||
| 15 | */ |
||
| 16 | const ONLINE = 'ONLINE'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * In store type, for sales in a physical store |
||
| 20 | */ |
||
| 21 | const INSTORE = 'IN_STORE'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * PhoneSale type, for sales made on the phone |
||
| 25 | */ |
||
| 26 | const PHONESALE = 'PHONE'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string type |
||
| 30 | */ |
||
| 31 | protected $type; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var bool $assistedSale |
||
| 35 | */ |
||
| 36 | protected $assistedSale; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | public function getAssistedSale() |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param $assistedSale |
||
| 48 | * |
||
| 49 | * @return $this |
||
| 50 | |||
| 51 | */ |
||
| 52 | public function setAssistedSale($assistedSale) |
||
| 57 | } |
||
| 58 | |||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getType() |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param $type |
||
| 70 | * |
||
| 71 | * @return $this |
||
| 72 | */ |
||
| 73 | public function setType($type) |
||
| 80 |