74 lines
2.0 KiB
C#
74 lines
2.0 KiB
C#
using Nop.Core.Configuration;
|
|
|
|
namespace Nop.Plugin.Misc.Brevo;
|
|
|
|
/// <summary>
|
|
/// Represents a plugin settings
|
|
/// </summary>
|
|
public class BrevoSettings : ISettings
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the API key
|
|
/// </summary>
|
|
public string ApiKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the identifier of list to synchronize contacts
|
|
/// </summary>
|
|
public int ListId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the identifier of unsubscribe event webhook
|
|
/// </summary>
|
|
public int UnsubscribeWebhookId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the SMTP key (Master password)
|
|
/// </summary>
|
|
public string SmtpKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to use SMTP (for transactional emails)
|
|
/// </summary>
|
|
public bool UseSmtp { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the identifier of sender (for transactional emails)
|
|
/// </summary>
|
|
public string SenderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the identifier of email account (for transactional emails)
|
|
/// </summary>
|
|
public int EmailAccountId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to use SMS notifications
|
|
/// </summary>
|
|
public bool UseSmsNotifications { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the SMS sender name
|
|
/// </summary>
|
|
public string SmsSenderName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the store owner phone number for SMS notifications
|
|
/// </summary>
|
|
public string StoreOwnerPhoneNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Tracking script
|
|
/// </summary>
|
|
public string TrackingScript { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Marketing Automation key (Tracker ID)
|
|
/// </summary>
|
|
public string MarketingAutomationKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to use Marketing Automation
|
|
/// </summary>
|
|
public bool UseMarketingAutomation { get; set; }
|
|
} |