<?php

namespace App\Classes\Modules\Vouchers\DataTransferObjects;

use App\Classes\General\Interfaces\DataTransferObject;

class RedeemVoucherifyVoucherObject implements DataTransferObject
{
    /** @var int */
    private $companyId;

    /** @var int */
    private $transactionId;

    /** @var string */
    private $promoCode;

    /** @var string */
    private $amount;

    /** @var object */
    private $employee;

    /**
     * RedeemVoucherifyVoucherObject constructor.
     * @param int $companyId
     * @param int $transactionId
     * @param string $name
     * @param string $email
     * @param object $employee
     */
    public function __construct(int $companyId, int $transactionId, string $promoCode, string $amount, object $employee)
    {
        $this->companyId = $companyId;
        $this->transactionId = $transactionId;
        $this->promoCode = $promoCode;
        $this->amount = $amount;
        $this->employee = $employee;
    }

    /**
     * @return int
     */
    public function getCompanyId(): int
    {
        return $this->companyId;
    }


    /**
     * @return int
     */
    public function getTransactionId(): int
    {
        return $this->transactionId;
    }


    /**
     * @return string
     */
    public function getPromoCode(): string
    {
        return $this->promoCode;
    }

    /**
     * @return string
     */
    public function getAmount(): string
    {
        return $this->amount;
    }

    /**
     * @return object
     */
    public function getEmployee(): object
    {
        return $this->employee;
    }

}
