Webiant Logo Webiant Logo
  1. No results found.

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

MessageConfiguration.cs

using Newtonsoft.Json;

namespace Nop.Plugin.Payments.PayPalCommerce.Domain;

/// 
/// Represents the Pay Later message configuration
/// 
public class MessageConfiguration
{
    #region Properties

    /// 
    /// Gets or sets the placement where the message is to be shown
    /// 
    [JsonProperty(PropertyName = "placement")]
    public string Placement { get; set; }

    /// 
    /// Gets or sets the status, a value whether the placement is checked or not in the configurator
    /// 
    [JsonProperty(PropertyName = "status")]
    public string Status { get; set; }

    /// 
    /// Gets or sets the message layout
    /// 
    [JsonProperty(PropertyName = "layout")]
    public string Layout { get; set; }

    /// 
    /// Gets or sets the logo type used in the message
    /// 
    [JsonProperty(PropertyName = "logo-type")]
    public string LogoType { get; set; }

    /// 
    /// Gets or sets the position of the PayPal or PayPal Credit logo in the message
    /// 
    [JsonProperty(PropertyName = "logo-position")]
    public string LogoPosition { get; set; }

    /// 
    /// Gets or sets the text and logo color of the message
    /// 
    [JsonProperty(PropertyName = "text-color")]
    public string TextColor { get; set; }

    /// 
    /// Gets or sets the size of the message text
    /// 
    [JsonProperty(PropertyName = "text-size")]
    public string TextSize { get; set; }

    #endregion
}