OrderItemDtoFactory

Factory object for converting between OrderItem domain model and OrderItemDto.

This factory provides methods to convert an OrderItem to its corresponding DTO representation and vice versa. It helps in separating the domain model from the data transfer object used for communication with external systems or layers.

Functions

Link copied to clipboard

Converts an OrderItemDto to its corresponding OrderItem domain model.

Link copied to clipboard

Converts an OrderItem domain model to its corresponding OrderItemDto.