1 <?php
2 3 4
5 namespace Team3\PayU\Order\Model;
6
7 interface OrderStatusInterface
8 {
9 const NEW_ORDER = 'NEW';
10 const PENDING = 'PENDING';
11 const WAITING_FOR_CONFIRMATION = 'WAITING_FOR_CONFIRMATION';
12 const COMPLETED = 'COMPLETED';
13 const CANCELED = 'CANCELED';
14 const REJECTED = 'REJECTED';
15
16 17 18
19 public function getValue();
20
21 22 23
24 public function isEmpty();
25
26 27 28
29 public function isNew();
30
31 32 33
34 public function isPending();
35
36 37 38
39 public function isWaitingForConfirmation();
40
41 42 43
44 public function isCompleted();
45
46 47 48
49 public function isCanceled();
50
51 52 53
54 public function isRejected();
55 }
56