Generators
Table of Contents
Classes
- ComplaintEmailGenerator
- Renders the transition e-mails of a complaint, modeled on {@see OrderEmailGenerator} and simplified
to a single template source: {@see \App\Core\Base\Shared\Eshop\Models\Entities\ComplaintStatusText::$emailSubject}
/ `$emailBody` (per `languageId`). A complaint has no generic system template and no shipping
notice, only the status.
- EshopInvoiceOrderNumberResolver
- Returns the e-shop order number for the PDF invoice ({@see InvoiceOrderNumberResolver}).
- FeedXmlGenerator
- Generates the XML product feed (`<SHOP><SHOPITEM>…</SHOPITEM>…</SHOP>`, Heureka.cz style) from the
parameter tree configured in the admin.
- OrderEmailGenerator
- Renders the transactional order e-mails and hands them to the e-mail queue owner.
- OrderInvoiceGenerator
- Issues the Invoicer document (regular invoice or credit note) for an order and pairs the payment (`markPaid`).
- OrderNumberGenerator
- Generates the order number: the year plus a sequence number taken under a lock.
- ProductXmlExporter
- Exports the catalog in the import format.
- VoucherGenerator
- Generates the compensation voucher when an order moves to a status with `OrderStatus::$generateVoucher=1`
(currently done).