| Total Complexity | 8 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class FreePostageDiscount extends Discount |
||
| 11 | { |
||
| 12 | private static $table_name = 'Discount_FreePostage'; |
||
|
|
|||
| 13 | |||
| 14 | private static $description = "removes the postage cost from an order"; |
||
| 15 | |||
| 16 | public function calculateAmount(Estimate $estimate) |
||
| 51 | } |
||
| 52 | |||
| 53 | public function appliedAmount(AppliedDiscount $item) |
||
| 58 |