You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
734 B
28 lines
734 B
<?php
|
|
|
|
namespace App\Domains\Billing\DTOs\Invoicing;
|
|
|
|
use App\Domains\Billing\DTOs\Invoicing\Context\ContextDTOInterface;
|
|
use App\Domains\Billing\Enums\Invoicing\InvoiceType;
|
|
|
|
readonly class InvoiceDTO
|
|
{
|
|
/**
|
|
* @param string $name
|
|
* @param array $client_detail
|
|
* @param string $client_ref_id
|
|
* @param InvoiceType $type
|
|
* @param PricingDTO $pricing
|
|
* @param array<InvoiceItemDTO> $items
|
|
* @param int $client_id
|
|
*/
|
|
public function __construct(
|
|
public string $name,
|
|
public string $client_ref_id,
|
|
public array $client_detail,
|
|
public InvoiceType $type,
|
|
public PricingDTO $pricing,
|
|
public array $items,
|
|
public int $client_id,
|
|
) {}
|
|
}
|
|
|