<?php

namespace App\Classes\Modules\Bookings\DataTransferObjects;

use App\Classes\General\Interfaces\DataTransferObject;

class BookingMergeObject implements DataTransferObject
{

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

    /** @var array */
    private $bookingIds;

    /** @var float */
    private $bookingAmount;

    /** @var float */
    private $transactionAmount;

    /**
     * BookingMergeObject constructor.
     * @param int $id
     * @param array $bookingIds
     */
    public function __construct(int $id, array $bookingIds)
    {
        $this->id = $id;
        $this->bookingIds = $bookingIds;
    }

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

    /**
     * @return array
     */
    public function getBookingIds(): array
    {
        return $this->bookingIds;
    }

    /**
     * @return float
     */
    public function getBookingAmount(): float
    {
        return $this->bookingAmount;
    }

    /**
     * @param float $amount
     * @return float
     */
    public function setBookingAmount(float $amount)
    {
        $this->bookingAmount = $amount;
    }

    /**
     * @return float
     */
    public function getTransactionAmount(): float
    {
        return $this->transactionAmount;
    }

    /**
     * @param float $amount
     * @return float
     */
    public function setTransactionAmount(float $amount)
    {
        $this->transactionAmount = $amount;
    }
}