using Nop.Core.Domain.Orders; using Nop.Core.Domain.Shipping; using Nop.Web.Models.Order; namespace Nop.Web.Factories; /// /// Represents the interface of the order model factory /// public partial interface IOrderModelFactory { /// /// Prepare the customer order list model /// /// /// A task that represents the asynchronous operation /// The task result contains the customer order list model /// Task PrepareCustomerOrderListModelAsync(); /// /// Prepare the order details model /// /// Order /// /// A task that represents the asynchronous operation /// The task result contains the order details model /// Task PrepareOrderDetailsModelAsync(Order order); /// /// Prepare the shipment details model /// /// Shipment /// /// A task that represents the asynchronous operation /// The task result contains the shipment details model /// Task PrepareShipmentDetailsModelAsync(Shipment shipment); /// /// Prepare the customer reward points model /// /// Number of items page; pass null to load the first page /// /// A task that represents the asynchronous operation /// The task result contains the customer reward points model /// Task PrepareCustomerRewardPointsAsync(int? page); }