<?php

namespace App\Modules\FactPaymentMethod\Application;

use App\Modules\Shared\Domain\Bus\Query\Response;

class FactPaymentMethodResponses implements Response
{

    private array $data;

    public function __construct(FactPaymentMethodResponse ...$data)
    {
        $this->data = $data;
    }

    public function data()
    {
        return $this->data;
    }
}
