Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Payments;
namespace Nop.Services.Payments;
///
/// Represents a VoidPaymentResult
///
public partial class VoidPaymentResult
{
public VoidPaymentResult()
{
Errors = new List();
}
///
/// Gets a value indicating whether request has been completed successfully
///
public bool Success => !Errors.Any();
///
/// Add error
///
/// Error
public void AddError(string error)
{
Errors.Add(error);
}
///
/// Errors
///
public IList Errors { get; set; }
///
/// Gets or sets a payment status after processing
///
public PaymentStatus NewPaymentStatus { get; set; } = PaymentStatus.Pending;
}