<?php

namespace App\Classes\Modules\Wallets\DataTransferObjects;

use App\Classes\General\Interfaces\DataTransferObject;

class WalletObject implements DataTransferObject
{

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

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

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

    private $amount;

    /**
     * WalletObject constructor.
     * @param int $company_id
     * @param int $currency
     * @param int $code
     */
    public function __construct(int $company_id, int $currency, int $code, float $amount=0)
    {
        $this->company_id = $company_id;
        $this->currency_id = $currency;
        $this->code = $code;
        $this->amount = $amount;
    }

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

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

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

    public function getAmount(): float
    {
        return $this->amount;
    }


}
