Webiant Logo Webiant Logo
  1. No results found.

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

ConfigurationModel.cs

using System.ComponentModel.DataAnnotations;
using Nop.Plugin.Misc.Omnisend.DTO;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Plugin.Misc.Omnisend.Models;

/// 
/// Represents configuration model
/// 
public record ConfigurationModel : BaseNopModel
{
    #region Properties

    [NopResourceDisplayName("Plugins.Misc.Omnisend.Fields.ApiKey")]
    [DataType(DataType.Password)]
    public string ApiKey { get; set; }

    [NopResourceDisplayName("Plugins.Misc.Omnisend.Fields.UseTracking")]
    public bool UseTracking { get; set; }

    public bool BlockSyncContacts { get; set; }

    public bool BlockSyncProducts { get; set; }

    public bool BlockSyncOrders { get; set; }

    public IList Batches { get; set; } = new List();

    #endregion
}