Webiant Logo Webiant Logo
  1. No results found.

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

ICustomerAttributeModelFactory.cs

using Nop.Core.Domain.Customers;
using Nop.Web.Areas.Admin.Models.Customers;

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the customer attribute model factory
/// 
public partial interface ICustomerAttributeModelFactory
{
    /// 
    /// Prepare customer attribute search model
    /// 
    /// Customer attribute search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the customer attribute search model
    /// 
    Task PrepareCustomerAttributeSearchModelAsync(CustomerAttributeSearchModel searchModel);

    /// 
    /// Prepare paged customer attribute list model
    /// 
    /// Customer attribute search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the customer attribute list model
    /// 
    Task PrepareCustomerAttributeListModelAsync(CustomerAttributeSearchModel searchModel);

    /// 
    /// Prepare customer attribute model
    /// 
    /// Customer attribute model
    /// Customer attribute
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the customer attribute model
    /// 
    Task PrepareCustomerAttributeModelAsync(CustomerAttributeModel model,
        CustomerAttribute customerAttribute, bool excludeProperties = false);

    /// 
    /// Prepare paged customer attribute value list model
    /// 
    /// Customer attribute value search model
    /// Customer attribute
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the customer attribute value list model
    /// 
    Task PrepareCustomerAttributeValueListModelAsync(CustomerAttributeValueSearchModel searchModel,
        CustomerAttribute customerAttribute);

    /// 
    /// Prepare customer attribute value model
    /// 
    /// Customer attribute value model
    /// Customer attribute
    /// Customer attribute value
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the customer attribute value model
    /// 
    Task PrepareCustomerAttributeValueModelAsync(CustomerAttributeValueModel model,
        CustomerAttribute customerAttribute, CustomerAttributeValue customerAttributeValue, bool excludeProperties = false);
}