using Nop.Core.Domain.Common; using Nop.Web.Areas.Admin.Models.Common; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the address attribute model factory /// public partial interface IAddressAttributeModelFactory { /// /// Prepare address attribute search model /// /// Address attribute search model /// /// A task that represents the asynchronous operation /// The task result contains the address attribute search model /// Task PrepareAddressAttributeSearchModelAsync(AddressAttributeSearchModel searchModel); /// /// Prepare paged address attribute list model /// /// Address attribute search model /// /// A task that represents the asynchronous operation /// The task result contains the address attribute list model /// Task PrepareAddressAttributeListModelAsync(AddressAttributeSearchModel searchModel); /// /// Prepare address attribute model /// /// Address attribute model /// Address attribute /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the address attribute model /// Task PrepareAddressAttributeModelAsync(AddressAttributeModel model, AddressAttribute addressAttribute, bool excludeProperties = false); /// /// Prepare paged address attribute value list model /// /// Address attribute value search model /// Address attribute /// /// A task that represents the asynchronous operation /// The task result contains the address attribute value list model /// Task PrepareAddressAttributeValueListModelAsync(AddressAttributeValueSearchModel searchModel, AddressAttribute addressAttribute); /// /// Prepare address attribute value model /// /// Address attribute value model /// Address attribute /// Address attribute value /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the address attribute value model /// Task PrepareAddressAttributeValueModelAsync(AddressAttributeValueModel model, AddressAttribute addressAttribute, AddressAttributeValue addressAttributeValue, bool excludeProperties = false); /// /// Prepare custom address attributes /// /// List of address attribute models /// Address /// A task that represents the asynchronous operation Task PrepareCustomAddressAttributesAsync(IList models, Address address); }