Files
Toiminnanohjaus/app/Modules/Sales/Application/Contracts/ReceiptMailer.php
T

16 lines
358 B
PHP

<?php
declare(strict_types=1);
namespace App\Modules\Sales\Application\Contracts;
/**
* Emails a quick sale's PDF receipt to the address stored on the sale, in
* the background: the sale is kept whatever happens, and the outcome is
* recorded on the sale for the sales list.
*/
interface ReceiptMailer
{
public function send(int $saleId): void;
}