Total Complexity | 9 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
30 | class PaymentItemEntity extends RequestEntity |
||
31 | { |
||
32 | /** @var string $name */ |
||
33 | protected $name; |
||
34 | |||
35 | /** @var string $identifier */ |
||
36 | protected $identifier; |
||
37 | |||
38 | /** @var float $price */ |
||
39 | protected $price; |
||
40 | |||
41 | /** @var integer $quantity */ |
||
42 | protected $quantity; |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function isValid() |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function toArray($object = null) |
||
63 |