Webiant Logo Webiant Logo
  1. No results found.

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

OmnisendSettings.cs

using Nop.Core.Configuration;

namespace Nop.Plugin.Misc.Omnisend;

/// 
/// Represents plugin settings
/// 
public class OmnisendSettings : ISettings
{
    /// 
    /// Gets or sets the API key
    /// 
    public string ApiKey { get; set; }

    /// 
    /// Gets or sets a value indicating whether to use tracking
    /// 
    public bool UseTracking { get; set; }

    #region Advanced

    /// 
    /// Gets or sets the BrandId
    /// 
    public string BrandId { get; set; }

    /// 
    /// Gets or sets the tracking script
    /// 
    public string TrackingScript { get; set; }

    /// 
    /// Gets or sets a value indicating whether to log request/response details for debug purposes
    /// 
    public bool LogRequests { get; set; }

    /// 
    /// Gets or sets a period (in seconds) before the request times out
    /// 
    public int? RequestTimeout { get; set; }

    /// 
    /// Gets or sets a value indicating whether to log request errors
    /// 
    public bool LogRequestErrors { get; set; }

    /// 
    /// Gets or sets a page size to synchronize
    /// 
    public int PageSize { get; set; }

    /// 
    /// Gets or sets the batches Ids
    /// 
    public List BatchesIds { get; set; } = new();

    /// 
    /// Gets or sets the product script
    ///  
    public string ProductScript { get; set; }

    /// 
    /// Gets or sets the identify contact script
    ///  
    public string IdentifyContactScript { get; set; }

    #endregion
}