Skip to content

Commit

Permalink
Add unit property.
Browse files Browse the repository at this point in the history
Add unit mapping.
  • Loading branch information
HussamAlhennawi committed Nov 22, 2024
1 parent a3e48f3 commit 0c443e5
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 0c443e5

Please sign in to comment.