Skip to content

Commit

Permalink
price changed to float in orderitem
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamás KIRÁLY committed Aug 28, 2023
1 parent 0e70692 commit 523eb71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Models/NTAKOrderItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(
public readonly NTAKCategory $category,
public readonly NTAKSubcategory $subcategory,
public NTAKVat $vat,
public readonly int $price,
public readonly float $price,
public readonly NTAKAmount $amountType,
public readonly float $amount,
public readonly int $quantity,
Expand Down Expand Up @@ -93,11 +93,11 @@ public static function buildDiscountRequest(NTAKVat $vat, int $price, Carbon $wh
* buildServiceFeeRequest
*
* @param NTAKVat $vat
* @param int $price
* @param float $price
* @param Carbon $when
* @return array
*/
public static function buildServiceFeeRequest(NTAKVat $vat, int $price, Carbon $when): array
public static function buildServiceFeeRequest(NTAKVat $vat, float $price, Carbon $when): array
{
return (
new static(
Expand Down

0 comments on commit 523eb71

Please sign in to comment.