| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function toArray($request): array |
||
| 12 | { |
||
| 13 | return [ |
||
| 14 | 'id' => $this->id, |
||
|
|
|||
| 15 | 'tax_type' => $this->tax_type, |
||
| 16 | 'regime_type' => $this->regime_type, |
||
| 17 | 'operation_type' => $this->operation_type, |
||
| 18 | 'tax_rate' => $this->tax_rate, |
||
| 19 | 'base_amount' => $this->base_amount, |
||
| 20 | 'tax_amount' => $this->tax_amount, |
||
| 21 | 'equivalence_surcharge_rate' => $this->equivalence_surcharge_rate, |
||
| 22 | 'equivalence_surcharge_amount' => $this->equivalence_surcharge_amount, |
||
| 23 | 'exemption_code' => $this->exemption_code, |
||
| 24 | 'exemption_description' => $this->exemption_description, |
||
| 25 | ]; |
||
| 27 | } |