1 | <?php |
||
9 | class Order |
||
10 | { |
||
11 | private $id; |
||
12 | private $total; |
||
13 | private $currency; |
||
14 | private $status; |
||
15 | |||
16 | /** |
||
17 | * Getter for id |
||
18 | * |
||
19 | * @return string |
||
20 | */ |
||
21 | public function getId() |
||
25 | |||
26 | /** |
||
27 | * Setter for id |
||
28 | * |
||
29 | * @param string $id |
||
30 | * @return Order |
||
31 | */ |
||
32 | public function setId($id) |
||
38 | |||
39 | /** |
||
40 | * Getter for total |
||
41 | * |
||
42 | * @return float |
||
43 | */ |
||
44 | public function getTotal() |
||
48 | |||
49 | /** |
||
50 | * Setter for total |
||
51 | * |
||
52 | * @param float $total |
||
53 | * @return Order |
||
54 | */ |
||
55 | public function setTotal($total) |
||
61 | |||
62 | /** |
||
63 | * Getter for currency |
||
64 | * |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getCurrency() |
||
71 | |||
72 | /** |
||
73 | * Setter for currency |
||
74 | * |
||
75 | * @param string $currency |
||
76 | * @return Order |
||
77 | */ |
||
78 | public function setCurrency($currency) |
||
84 | |||
85 | /** |
||
86 | * Getter for status |
||
87 | * |
||
88 | * @return string |
||
89 | */ |
||
90 | public function getStatus() |
||
94 | |||
95 | /** |
||
96 | * Setter for status |
||
97 | * |
||
98 | * @param string $status |
||
99 | * @return Order |
||
100 | */ |
||
101 | public function setStatus($status) |
||
107 | } |
||
108 |