Try your search with a different keyword or use * as a wildcard.
namespace Nop.Services.Orders;
///
/// Represents the custom value
///
public partial class CustomValue
{
#region Ctor
public CustomValue(string name, string value, CustomValueDisplayLocation displayLocation = CustomValueDisplayLocation.Payment, bool displayToCustomer = true, DateTime? createdOnUtc = null)
{
Name = name;
Value = value;
DisplayLocation = displayLocation;
DisplayToCustomer = displayToCustomer;
CreatedOnUtc = createdOnUtc;
}
#endregion
#region Properties
///
/// Gets or sets a value of custom value
///
public string Value { get; set; }
///
/// Gets or sets a name of custom value
///
public string Name { get; set; }
///
/// Gets or sets a value indicating whether a customer can see a custom value
///
public bool DisplayToCustomer { get; set; }
///
/// Gets or sets a display location of custom value
///
public CustomValueDisplayLocation DisplayLocation { get; set; }
///
/// Gets or sets a created on date and time
///
public DateTime? CreatedOnUtc { get; set; }
#endregion
#region Methods
///
/// Returns a string that represents the current object
///
/// A string that represents the current object
public override string ToString()
{
return Value;
}
#endregion
}