OrderDtoFactory

Factory object for converting between Order domain models and Order DTOs.

This factory provides methods to convert Order objects to their corresponding DTO representations and vice versa. It handles different types of orders, including Delivery, Takeaway, and DineIn orders.

Types

Functions

Link copied to clipboard

Converts an OrderDto to its corresponding Order domain model.

Link copied to clipboard