|
4 | 4 |
|
5 | 5 | interface TicketMessageInterface |
6 | 6 | { |
| 7 | + const STATUS_INVALID = 0; |
| 8 | + |
| 9 | + const STATUS_OPEN = 10; |
| 10 | + |
| 11 | + const STATUS_IN_PROGRESS = 11; |
| 12 | + |
| 13 | + const STATUS_INFORMATION_REQUESTED = 12; |
| 14 | + |
| 15 | + const STATUS_ON_HOLD = 13; |
| 16 | + |
| 17 | + const STATUS_RESOLVED = 14; |
| 18 | + |
| 19 | + const STATUS_CLOSED = 15; |
| 20 | + |
| 21 | + const STATUSES = [ |
| 22 | + self::STATUS_INVALID => 'STATUS_INVALID', |
| 23 | + self::STATUS_OPEN => 'STATUS_OPEN', |
| 24 | + self::STATUS_IN_PROGRESS => 'STATUS_IN_PROGRESS', |
| 25 | + self::STATUS_INFORMATION_REQUESTED => 'STATUS_INFORMATION_REQUESTED', |
| 26 | + self::STATUS_ON_HOLD => 'STATUS_ON_HOLD', |
| 27 | + self::STATUS_RESOLVED => 'STATUS_RESOLVED', |
| 28 | + self::STATUS_CLOSED => 'STATUS_CLOSED', |
| 29 | + ]; |
| 30 | + |
| 31 | + const PRIORITY_INVALID = 0; |
| 32 | + |
| 33 | + const PRIORITY_LOW = 20; |
| 34 | + |
| 35 | + const PRIORITY_MEDIUM = 21; |
| 36 | + |
| 37 | + const PRIORITY_HIGH = 22; |
| 38 | + |
| 39 | + const PRIORITIES = [ |
| 40 | + self::PRIORITY_INVALID => 'PRIORITY_INVALID', |
| 41 | + self::PRIORITY_LOW => 'PRIORITY_LOW', |
| 42 | + self::PRIORITY_MEDIUM => 'PRIORITY_MEDIUM', |
| 43 | + self::PRIORITY_HIGH => 'PRIORITY_HIGH', |
| 44 | + ]; |
| 45 | + |
7 | 46 | /** |
8 | 47 | * Get id. |
9 | 48 | * |
@@ -143,43 +182,4 @@ public function setTicket(TicketInterface $ticket = null); |
143 | 182 | * @return TicketInterface |
144 | 183 | */ |
145 | 184 | public function getTicket(); |
146 | | - |
147 | | - const STATUS_INVALID = 0; |
148 | | - |
149 | | - const STATUS_OPEN = 10; |
150 | | - |
151 | | - const STATUS_IN_PROGRESS = 11; |
152 | | - |
153 | | - const STATUS_INFORMATION_REQUESTED = 12; |
154 | | - |
155 | | - const STATUS_ON_HOLD = 13; |
156 | | - |
157 | | - const STATUS_RESOLVED = 14; |
158 | | - |
159 | | - const STATUS_CLOSED = 15; |
160 | | - |
161 | | - const STATUSES = [ |
162 | | - self::STATUS_INVALID => 'STATUS_INVALID', |
163 | | - self::STATUS_OPEN => 'STATUS_OPEN', |
164 | | - self::STATUS_IN_PROGRESS => 'STATUS_IN_PROGRESS', |
165 | | - self::STATUS_INFORMATION_REQUESTED => 'STATUS_INFORMATION_REQUESTED', |
166 | | - self::STATUS_ON_HOLD => 'STATUS_ON_HOLD', |
167 | | - self::STATUS_RESOLVED => 'STATUS_RESOLVED', |
168 | | - self::STATUS_CLOSED => 'STATUS_CLOSED', |
169 | | - ]; |
170 | | - |
171 | | - const PRIORITY_INVALID = 0; |
172 | | - |
173 | | - const PRIORITY_LOW = 20; |
174 | | - |
175 | | - const PRIORITY_MEDIUM = 21; |
176 | | - |
177 | | - const PRIORITY_HIGH = 22; |
178 | | - |
179 | | - const PRIORITIES = [ |
180 | | - self::PRIORITY_INVALID => 'PRIORITY_INVALID', |
181 | | - self::PRIORITY_LOW => 'PRIORITY_LOW', |
182 | | - self::PRIORITY_MEDIUM => 'PRIORITY_MEDIUM', |
183 | | - self::PRIORITY_HIGH => 'PRIORITY_HIGH', |
184 | | - ]; |
185 | 185 | } |
0 commit comments