Webiant Logo Webiant Logo
  1. No results found.

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

CancelRecurringPaymentResult.cs

namespace Nop.Services.Payments;

/// 
/// Cancel recurring payment result
/// 
public partial class CancelRecurringPaymentResult
{
    public CancelRecurringPaymentResult()
    {
        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; }
}