50 lines
1.9 KiB
C#
50 lines
1.9 KiB
C#
using Nop.Core.Configuration;
|
|
|
|
namespace Nop.Core.Domain.Payments;
|
|
|
|
/// <summary>
|
|
/// Payment settings
|
|
/// </summary>
|
|
public partial class PaymentSettings : ISettings
|
|
{
|
|
public PaymentSettings()
|
|
{
|
|
ActivePaymentMethodSystemNames = new List<string>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a system names of active payment methods
|
|
/// </summary>
|
|
public List<string> ActivePaymentMethodSystemNames { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether customers are allowed to repost (complete) payments for redirection payment methods
|
|
/// </summary>
|
|
public bool AllowRePostingPayments { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether we should bypass 'select payment method' page if we have only one payment method
|
|
/// </summary>
|
|
public bool BypassPaymentMethodSelectionIfOnlyOne { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to show payment method descriptions on "choose payment method" checkout page in the public store
|
|
/// </summary>
|
|
public bool ShowPaymentMethodDescriptions { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether we should skip 'payment info' page for redirection payment methods
|
|
/// </summary>
|
|
public bool SkipPaymentInfoStepForRedirectionPaymentMethods { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to cancel the recurring payment after failed last payment
|
|
/// </summary>
|
|
public bool CancelRecurringPaymentsAfterFailedPayment { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a interval (in seconds) to reuse the same order GUID during an order placement for multiple payment attempts (used for security purposes)
|
|
/// Set to 0 to generate a new order GUID for each payment attempt
|
|
/// </summary>
|
|
public int RegenerateOrderGuidInterval { get; set; }
|
|
} |