Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Shipping;
namespace Nop.Services.Shipping.Pickup;
///
/// Represents a response of getting pickup points
///
public partial class GetPickupPointsResponse
{
public GetPickupPointsResponse()
{
Errors = new List();
PickupPoints = new List();
}
///
/// Gets or sets a list of pickup points
///
public IList PickupPoints { 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);
}
}