using Nop.Core.Domain.Shipping; using Nop.Web.Areas.Admin.Models.Shipping; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the shipping model factory /// public partial interface IShippingModelFactory { /// /// Prepare shipping provider search model /// /// Shipping provider search model /// /// A task that represents the asynchronous operation /// The task result contains the shipping provider search model /// Task PrepareShippingProviderSearchModelAsync(ShippingProviderSearchModel searchModel); /// /// Prepare paged shipping provider list model /// /// Shipping provider search model /// /// A task that represents the asynchronous operation /// The task result contains the shipping provider list model /// Task PrepareShippingProviderListModelAsync(ShippingProviderSearchModel searchModel); /// /// Prepare pickup point provider search model /// /// Pickup point provider search model /// /// A task that represents the asynchronous operation /// The task result contains the pickup point provider search model /// Task PreparePickupPointProviderSearchModelAsync(PickupPointProviderSearchModel searchModel); /// /// Prepare paged pickup point provider list model /// /// Pickup point provider search model /// /// A task that represents the asynchronous operation /// The task result contains the pickup point provider list model /// Task PreparePickupPointProviderListModelAsync(PickupPointProviderSearchModel searchModel); /// /// Prepare shipping method search model /// /// Shipping method search model /// /// A task that represents the asynchronous operation /// The task result contains the shipping method search model /// Task PrepareShippingMethodSearchModelAsync(ShippingMethodSearchModel searchModel); /// /// Prepare paged shipping method list model /// /// Shipping method search model /// /// A task that represents the asynchronous operation /// The task result contains the shipping method list model /// Task PrepareShippingMethodListModelAsync(ShippingMethodSearchModel searchModel); /// /// Prepare shipping method model /// /// Shipping method model /// Shipping method /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the shipping method model /// Task PrepareShippingMethodModelAsync(ShippingMethodModel model, ShippingMethod shippingMethod, bool excludeProperties = false); /// /// Prepare dates and ranges search model /// /// Dates and ranges search model /// /// A task that represents the asynchronous operation /// The task result contains the dates and ranges search model /// Task PrepareDatesRangesSearchModelAsync(DatesRangesSearchModel searchModel); /// /// Prepare paged delivery date list model /// /// Delivery date search model /// /// A task that represents the asynchronous operation /// The task result contains the delivery date list model /// Task PrepareDeliveryDateListModelAsync(DeliveryDateSearchModel searchModel); /// /// Prepare delivery date model /// /// Delivery date model /// Delivery date /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the delivery date model /// Task PrepareDeliveryDateModelAsync(DeliveryDateModel model, DeliveryDate deliveryDate, bool excludeProperties = false); /// /// Prepare paged product availability range list model /// /// Product availability range search model /// /// A task that represents the asynchronous operation /// The task result contains the product availability range list model /// Task PrepareProductAvailabilityRangeListModelAsync(ProductAvailabilityRangeSearchModel searchModel); /// /// Prepare product availability range model /// /// Product availability range model /// Product availability range /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the product availability range model /// Task PrepareProductAvailabilityRangeModelAsync(ProductAvailabilityRangeModel model, ProductAvailabilityRange productAvailabilityRange, bool excludeProperties = false); /// /// Prepare warehouse search model /// /// Warehouse search model /// /// A task that represents the asynchronous operation /// The task result contains the warehouse search model /// Task PrepareWarehouseSearchModelAsync(WarehouseSearchModel searchModel); /// /// Prepare paged warehouse list model /// /// Warehouse search model /// /// A task that represents the asynchronous operation /// The task result contains the warehouse list model /// Task PrepareWarehouseListModelAsync(WarehouseSearchModel searchModel); /// /// Prepare warehouse model /// /// Warehouse model /// Warehouse /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the warehouse model /// Task PrepareWarehouseModelAsync(WarehouseModel model, Warehouse warehouse, bool excludeProperties = false); /// /// Prepare shipping method restriction model /// /// Shipping method restriction model /// /// A task that represents the asynchronous operation /// The task result contains the shipping method restriction model /// Task PrepareShippingMethodRestrictionModelAsync(ShippingMethodRestrictionModel model); }