Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Shipping;
namespace Nop.Services.Shipping;
///
/// Represents a response of getting shipping rate options
///
public partial class GetShippingOptionResponse
{
public GetShippingOptionResponse()
{
Errors = new List();
ShippingOptions = new List();
}
///
/// Gets or sets a list of shipping options
///
public IList ShippingOptions { get; set; }
///
/// Gets or sets a value indicating whether shipping is done from multiple locations (warehouses)
///
public bool ShippingFromMultipleLocations { get; set; }
///
/// Gets or sets errors
///
public IList Errors { get; set; }
///
/// 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);
}
}