using Nop.Web.Models.Vendors; namespace Nop.Web.Factories; /// /// Represents the interface of the vendor model factory /// public partial interface IVendorModelFactory { /// /// Prepare the apply vendor model /// /// The apply vendor model /// Whether to validate that the customer is already a vendor /// Whether to exclude populating of model properties from the entity /// Vendor attributes in XML format /// /// A task that represents the asynchronous operation /// The task result contains the apply vendor model /// Task PrepareApplyVendorModelAsync(ApplyVendorModel model, bool validateVendor, bool excludeProperties, string vendorAttributesXml); /// /// Prepare the vendor info model /// /// Vendor info model /// Whether to exclude populating of model properties from the entity /// Overridden vendor attributes in XML format; pass null to use VendorAttributes of vendor /// /// A task that represents the asynchronous operation /// The task result contains the vendor info model /// Task PrepareVendorInfoModelAsync(VendorInfoModel model, bool excludeProperties, string overriddenVendorAttributesXml = ""); }