using Nop.Core.Domain.Orders; using Nop.Web.Areas.Admin.Models.Orders; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the checkout attribute model factory /// public partial interface ICheckoutAttributeModelFactory { /// /// Prepare checkout attribute search model /// /// Checkout attribute search model /// /// A task that represents the asynchronous operation /// The task result contains the checkout attribute search model /// Task PrepareCheckoutAttributeSearchModelAsync(CheckoutAttributeSearchModel searchModel); /// /// Prepare paged checkout attribute list model /// /// Checkout attribute search model /// /// A task that represents the asynchronous operation /// The task result contains the checkout attribute list model /// Task PrepareCheckoutAttributeListModelAsync(CheckoutAttributeSearchModel searchModel); /// /// Prepare checkout attribute model /// /// Checkout attribute model /// Checkout attribute /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the checkout attribute model /// Task PrepareCheckoutAttributeModelAsync(CheckoutAttributeModel model, CheckoutAttribute checkoutAttribute, bool excludeProperties = false); /// /// Prepare paged checkout attribute value list model /// /// Checkout attribute value search model /// Checkout attribute /// /// A task that represents the asynchronous operation /// The task result contains the checkout attribute value list model /// Task PrepareCheckoutAttributeValueListModelAsync(CheckoutAttributeValueSearchModel searchModel, CheckoutAttribute checkoutAttribute); /// /// Prepare checkout attribute value model /// /// Checkout attribute value model /// Checkout attribute /// Checkout attribute value /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the checkout attribute value model /// Task PrepareCheckoutAttributeValueModelAsync(CheckoutAttributeValueModel model, CheckoutAttribute checkoutAttribute, CheckoutAttributeValue checkoutAttributeValue, bool excludeProperties = false); }