Skip to content

Commit

Permalink
Merge pull request #51 from HussamAlhennawi/add-unit-to-item-entity
Browse files Browse the repository at this point in the history
Add missing unit property to ItemEntity class
  • Loading branch information
teiling88 authored Nov 23, 2024
2 parents a3e48f3 + 0c443e5 commit e21e694
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Item/ItemEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class ItemEntity

public $quantity;

public $unit;

public $unitPrice;

public $vatPercent;
Expand All @@ -44,6 +46,7 @@ class ItemEntity
'ARTICLE_NUMBER' => 'articleNumber',
'DESCRIPTION' => 'description',
'QUANTITY' => 'quantity',
'UNIT' => 'unit',
'UNIT_PRICE' => 'unitPrice',
'VAT_PERCENT' => 'vatPercent',
'VAT_VALUE' => 'vatValue',
Expand All @@ -62,6 +65,7 @@ class ItemEntity
'articleNumber' => 'ARTICLE_NUMBER',
'description' => 'DESCRIPTION',
'quantity' => 'QUANTITY',
'unit' => 'UNIT',
'unitPrice' => 'UNIT_PRICE',
'vatPercent' => 'VAT_PERCENT',
'vatValue' => 'VAT_VALUE',
Expand Down

0 comments on commit e21e694

Please sign in to comment.