31 lines
1.5 KiB
C#
31 lines
1.5 KiB
C#
using Nop.Core.Domain.Customers;
|
|
//using Nop.Services.Plugins;
|
|
//using Nop.Services.Shipping.Pickup;
|
|
|
|
namespace Mango.Sandbox.EndPoints.Services;
|
|
|
|
//public class NullPickupPluginManager : IPickupPluginManager
|
|
//{
|
|
// public Task<IPickupPointProvider?> LoadPluginBySystemNameAsync(string systemName, Customer? customer = null, int storeId = 0)
|
|
// => Task.FromResult<IPickupPointProvider?>(null);
|
|
|
|
// public Task<IList<IPickupPointProvider>> LoadAllPluginsAsync(Customer? customer = null, int storeId = 0)
|
|
// => Task.FromResult<IList<IPickupPointProvider>>(new List<IPickupPointProvider>());
|
|
|
|
// public Task<IList<IPickupPointProvider>> LoadActivePluginsAsync(Customer? customer = null, int storeId = 0, string filterByCountryId = null!)
|
|
// => Task.FromResult<IList<IPickupPointProvider>>(new List<IPickupPointProvider>());
|
|
|
|
// public Task<IList<IPickupPointProvider>> LoadActivePluginsAsync(List<string> systemNames, Customer? customer = null, int storeId = 0)
|
|
// => Task.FromResult<IList<IPickupPointProvider>>(new List<IPickupPointProvider>());
|
|
|
|
// public bool IsPluginActive(IPickupPointProvider plugin, List<string> systemNames) => false;
|
|
|
|
// public bool IsPluginActive(IPickupPointProvider plugin) => false;
|
|
|
|
// public Task<bool> IsPluginActiveAsync(string systemName, Customer? customer = null, int storeId = 0)
|
|
// => Task.FromResult(false);
|
|
|
|
// public Task<string> GetPluginLogoUrlAsync(IPickupPointProvider plugin)
|
|
// => Task.FromResult(string.Empty);
|
|
//}
|