| Total Complexity | 6 |
| Total Lines | 100 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class Order |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * id |
||
| 20 | * |
||
| 21 | * @var mixed |
||
| 22 | * |
||
| 23 | * @Rest\Id |
||
| 24 | * @Rest\Attribute(name="id", type="string") |
||
| 25 | */ |
||
| 26 | private $id; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * customerPaidAmount |
||
| 30 | * |
||
| 31 | * @var int |
||
| 32 | * |
||
| 33 | * @Rest\Attribute(name="customerPaidAmount", type="integer") |
||
| 34 | */ |
||
| 35 | private $customerPaidAmount; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * status |
||
| 39 | * |
||
| 40 | * @var string |
||
| 41 | * |
||
| 42 | * @Rest\Attribute(name="status", type="string") |
||
| 43 | */ |
||
| 44 | private $status; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Getter for id |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getId() |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Setter for id |
||
| 58 | * |
||
| 59 | * @param string $id |
||
| 60 | * |
||
| 61 | * @return Order |
||
| 62 | */ |
||
| 63 | public function setId($id) |
||
| 64 | { |
||
| 65 | $this->id = $id; |
||
| 66 | |||
| 67 | return $this; |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Getter for customerPaidAmount |
||
| 72 | * |
||
| 73 | * @return int |
||
| 74 | */ |
||
| 75 | public function getCustomerPaidAmount() |
||
| 76 | { |
||
| 77 | return $this->customerPaidAmount; |
||
| 78 | } |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Setter for customerPaidAmount |
||
| 82 | * |
||
| 83 | * @param int $customerPaidAmount |
||
| 84 | * |
||
| 85 | * @return Order |
||
| 86 | */ |
||
| 87 | public function setCustomerPaidAmount($customerPaidAmount) |
||
| 88 | { |
||
| 89 | $this->customerPaidAmount = $customerPaidAmount; |
||
| 90 | |||
| 91 | return $this; |
||
| 92 | } |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Getter for status |
||
| 96 | * |
||
| 97 | * @return string |
||
| 98 | */ |
||
| 99 | public function getStatus() |
||
| 102 | } |
||
| 103 | |||
| 104 | /** |
||
| 105 | * Setter for status |
||
| 106 | * |
||
| 107 | * @param string $status |
||
| 108 | * |
||
| 109 | * @return Order |
||
| 110 | */ |
||
| 111 | public function setStatus($status) |
||
| 116 | } |
||
| 117 | } |
||
| 118 |