using Nop.Core.Domain.Orders; using Nop.Web.Areas.Admin.Models.Orders; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the recurring payment model factory /// public partial interface IRecurringPaymentModelFactory { /// /// Prepare recurring payment search model /// /// Recurring payment search model /// /// A task that represents the asynchronous operation /// The task result contains the recurring payment search model /// Task PrepareRecurringPaymentSearchModelAsync(RecurringPaymentSearchModel searchModel); /// /// Prepare paged recurring payment list model /// /// Recurring payment search model /// /// A task that represents the asynchronous operation /// The task result contains the recurring payment list model /// Task PrepareRecurringPaymentListModelAsync(RecurringPaymentSearchModel searchModel); /// /// Prepare recurring payment model /// /// Recurring payment model /// Recurring payment /// Whether to exclude populating of some properties of model /// /// A task that represents the asynchronous operation /// The task result contains the recurring payment model /// Task PrepareRecurringPaymentModelAsync(RecurringPaymentModel model, RecurringPayment recurringPayment, bool excludeProperties = false); /// /// Prepare paged recurring payment history list model /// /// Recurring payment history search model /// Recurring payment /// /// A task that represents the asynchronous operation /// The task result contains the recurring payment history list model /// Task PrepareRecurringPaymentHistoryListModelAsync(RecurringPaymentHistorySearchModel searchModel, RecurringPayment recurringPayment); }