| 1 | <?php |
||
| 5 | class LineItem |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var TaxDetail |
||
| 9 | */ |
||
| 10 | private $totalTax; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var TaxDetail |
||
| 14 | */ |
||
| 15 | private $stateTax; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var TaxDetail |
||
| 19 | */ |
||
| 20 | private $countyTax; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var TaxDetail |
||
| 24 | */ |
||
| 25 | private $cityTax; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var TaxDetail |
||
| 29 | */ |
||
| 30 | private $specialDistrictTax; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | private $id; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param TaxDetail $totalTax |
||
| 39 | * @param TaxDetail $stateTax |
||
| 40 | * @param TaxDetail $countyTax |
||
| 41 | * @param TaxDetail $cityTax |
||
| 42 | * @param TaxDetail $specialDistrictTax |
||
| 43 | * @param string $id |
||
| 44 | */ |
||
| 45 | 6 | public function __construct(TaxDetail $totalTax, TaxDetail $stateTax, TaxDetail $countyTax, TaxDetail $cityTax, TaxDetail $specialDistrictTax, $id) |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return TaxDetail |
||
| 57 | */ |
||
| 58 | 2 | public function getTotalTax() |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return TaxDetail |
||
| 65 | */ |
||
| 66 | 2 | public function getStateTax() |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @return TaxDetail |
||
| 73 | */ |
||
| 74 | 2 | public function getCountyTax() |
|
| 78 | |||
| 79 | /** |
||
| 80 | * @return TaxDetail |
||
| 81 | */ |
||
| 82 | 2 | public function getCityTax() |
|
| 86 | |||
| 87 | /** |
||
| 88 | * @return TaxDetail |
||
| 89 | */ |
||
| 90 | 2 | public function getSpecialDistrictTax() |
|
| 94 | |||
| 95 | /** |
||
| 96 | * @return string |
||
| 97 | */ |
||
| 98 | 2 | public function getId() |
|
| 102 | } |
||
| 103 |