Webiant Logo Webiant Logo
  1. No results found.

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

ReturnRequestAvailability.cs

namespace Nop.Services.Orders;

/// 
/// Represents the return request availability
/// 
public partial class ReturnRequestAvailability
{
    #region Properties

    /// 
    /// Gets the value indicating whether a return request is allowed
    /// 
    public bool IsAllowed => ReturnableOrderItems?.Any(i => i.AvailableQuantityForReturn > 0) ?? false;

    /// 
    /// Gets or sets the returnable order items
    /// 
    public IList ReturnableOrderItems { get; set; }

    #endregion
}