Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IExchangeRatePluginManager.cs

using Nop.Core.Domain.Customers;
using Nop.Services.Plugins;

namespace Nop.Services.Directory;

/// 
/// Represents an exchange rate plugin manager
/// 
public partial interface IExchangeRatePluginManager : IPluginManager
{
    /// 
    /// Load primary active exchange rate provider
    /// 
    /// 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 exchange rate provider
    /// 
    Task LoadPrimaryPluginAsync(Customer customer = null, int storeId = 0);

    /// 
    /// Check whether the passed exchange rate provider is active
    /// 
    /// Exchange rate provider to check
    /// Result
    bool IsPluginActive(IExchangeRateProvider exchangeRateProvider);
}