Skip to content

Image

// RB2 Core Connect
namespace CoreConnect.Commerce.Core;
public class Image
{
public Image(string url, IEnumerable<Attribute>? attributes = null)
{
Url = url;
Attributes = attributes ?? [];
}
/// <summary>
/// The URL of the Image.
/// </summary>
public string Url { get; set; }
/// <summary>
/// The image attributes.
/// </summary>
public IEnumerable<Attribute>? Attributes { get; set; }
}