Skip to content

Attribute

// RB2 Core Connect
namespace CoreConnect.Commerce.Core;
public class Attribute
{
public Attribute(string name, AttributeValueType? valueType, AttributeValue? value, string? friendlyName = null)
{
Name = name;
ValueType = valueType;
Value = value;
FriendlyName = friendlyName;
}
/// <summary>
/// The Name of the Attribute.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The Friendly Name of the Attribute.
/// </summary>
public string? FriendlyName { get; set; }
/// <summary>
/// The Value Type of the Attribute.
/// </summary>
public AttributeValueType? ValueType { get; set; }
/// <summary>
/// The Value of the Attribute.
/// </summary>
public AttributeValue? Value { get; set; }
}