using Nop.Core.Domain.Customers; using Nop.Services.Plugins; namespace Nop.Services.Shipping.Pickup; /// /// Represents a pickup point plugin manager /// public partial interface IPickupPluginManager : IPluginManager { /// /// Load active pickup point providers /// /// Filter by customer; pass null to load all plugins /// Filter by store; pass 0 to load all plugins /// Filter by pickup point provider system name; pass null to load all plugins /// /// A task that represents the asynchronous operation /// The task result contains the list of active pickup point providers /// Task> LoadActivePluginsAsync(Customer customer = null, int storeId = 0, string systemName = null); /// /// Check whether the passed pickup point provider is active /// /// Pickup point provider to check /// Result bool IsPluginActive(IPickupPointProvider pickupPointProvider); /// /// Check whether the pickup point provider with the passed system name is active /// /// System name of pickup point provider to check /// Filter by customer; pass null to load all plugins /// Filter by store; pass 0 to load all plugins /// /// A task that represents the asynchronous operation /// The task result contains the result /// Task IsPluginActiveAsync(string systemName, Customer customer = null, int storeId = 0); }