<?php

declare( strict_types=1 );

namespace Soft_Tehnica\Freya_Sync_Service\Data;

class ToppingListItem
{

    public string $name;
    public float $price;
    public string $freyaCode;
    public float $vatRate;
    public ?int $orderFlag;

    public function __construct(
        string $name,
        float $price,
        string $freyaCode,
        float $vatRate,
        ?int $orderFlag
    ) {
        $this->name      = $name;
        $this->price     = $price;
        $this->freyaCode = $freyaCode;
        $this->vatRate   = $vatRate;
        $this->orderFlag = $orderFlag;
    }
}
