*/ public function forDay(DateTimeImmutable $day): array; /** * Sets the address the receipt is emailed to and clears the earlier * sending result, before the receipt is sent again. */ public function changeReceiptEmail(int $saleId, EmailAddress $email): void; public function markReceiptSent(int $saleId, DateTimeImmutable $at): void; public function markReceiptFailed(int $saleId, DateTimeImmutable $at): void; }