Webiant Logo Webiant Logo
  1. No results found.

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

RewardPointsSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Customers;

/// 
/// Reward points settings
/// 
public partial class RewardPointsSettings : ISettings
{
    /// 
    /// Gets or sets a value indicating whether Reward Points Program is enabled
    /// 
    public bool Enabled { get; set; }

    /// 
    /// Gets or sets a value of Reward Points exchange rate
    /// 
    public decimal ExchangeRate { get; set; }

    /// 
    /// Gets or sets the minimum reward points to use
    /// 
    public int MinimumRewardPointsToUse { get; set; }

    /// 
    /// Gets or sets the maximum reward points to use per order
    /// 
    public int MaximumRewardPointsToUsePerOrder { get; set; }

    /// 
    /// Gets or sets the maximum redemption rate of the total order amount
    /// 
    public decimal MaximumRedeemedRate { get; set; }

    /// 
    /// Gets or sets a number of points awarded for registration
    /// 
    public int PointsForRegistration { get; set; }

    /// 
    /// Gets or sets a number of days when the points awarded for registration will be valid 
    /// 
    public int? RegistrationPointsValidity { get; set; }

    /// 
    /// Gets or sets a number of points awarded for purchases (amount in primary store currency)
    /// 
    public decimal PointsForPurchases_Amount { get; set; }

    /// 
    /// Gets or sets a number of points awarded for purchases
    /// 
    public int PointsForPurchases_Points { get; set; }

    /// 
    /// Gets or sets a number of days when the points awarded for purchases will be valid 
    /// 
    public int? PurchasesPointsValidity { get; set; }

    /// 
    /// Gets or sets the minimum order total (exclude shipping cost) to award points for purchases
    /// 
    public decimal MinOrderTotalToAwardPoints { get; set; }

    /// 
    /// Gets or sets a delay before activation points
    /// 
    public int ActivationDelay { get; set; }

    /// 
    /// Gets or sets the period of activation delay
    /// 
    public int ActivationDelayPeriodId { get; set; }

    /// 
    /// Gets or sets a value indicating whether "You will earn" message should be displayed
    /// 
    public bool DisplayHowMuchWillBeEarned { get; set; }

    /// 
    /// Gets or sets a value indicating whether all reward points are accumulated in one balance for all stores and they can be used in any store. Otherwise, each store has its own rewards points and they can only be used in that store.
    /// 
    public bool PointsAccumulatedForAllStores { get; set; }

    /// 
    /// Gets or sets the page size is for history of reward points on my account page
    /// 
    public int PageSize { get; set; }
}