Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Directory;
using Nop.Core.Domain.Localization;
using Nop.Core.Domain.Tax;
using Nop.Core.Domain.Vendors;
namespace Nop.Core;
///
/// Represents work context
///
public partial interface IWorkContext
{
///
/// Gets the current customer
///
/// A task that represents the asynchronous operation
Task GetCurrentCustomerAsync();
///
/// Sets the current customer
///
/// Current customer
/// A task that represents the asynchronous operation
Task SetCurrentCustomerAsync(Customer customer = null);
///
/// Gets the original customer (in case the current one is impersonated)
///
Customer OriginalCustomerIfImpersonated { get; }
///
/// Gets the current vendor (logged-in manager)
///
/// A task that represents the asynchronous operation
Task GetCurrentVendorAsync();
///
/// Gets current user working language
///
/// A task that represents the asynchronous operation
Task GetWorkingLanguageAsync();
///
/// Sets current user working language
///
/// Language
/// A task that represents the asynchronous operation
Task SetWorkingLanguageAsync(Language language);
///
/// Gets or sets current user working currency
///
/// A task that represents the asynchronous operation
Task GetWorkingCurrencyAsync();
///
/// Sets current user working currency
///
/// Currency
/// A task that represents the asynchronous operation
Task SetWorkingCurrencyAsync(Currency currency);
///
/// Gets or sets current tax display type
///
/// A task that represents the asynchronous operation
Task GetTaxDisplayTypeAsync();
///
/// Sets current tax display type
///
/// A task that represents the asynchronous operation
Task SetTaxDisplayTypeAsync(TaxDisplayType taxDisplayType);
}