<?php

namespace App\Classes\Modules\Orders\DataTransferObjects;


class OrderStepObject
{

    /** @var string */
    protected $orderId;

    /** @var string */
    protected $currentStep;

    /** @var null|string */
    protected $nextStep;

    /**
     * OrderStepObject constructor.
     * @param string $orderId
     * @param string $currentStep
     * @param null|string $nextStep
     */
    public function __construct(string $orderId, string $currentStep, ?string $nextStep)
    {
        $this->orderId = $orderId;
        $this->currentStep = $this->getCurrentStep();
        $this->currentStep = $this->getCurrentStep();
    }


}