Skip to content

WishlistItem

// RB2 Core Connect
using CoreConnect.Commerce.Catalog;
using CoreConnect.Commerce.Core;
using HotChocolate;
using HotChocolate.Types;
namespace CoreConnect.Commerce.Customer;
public record WishlistItem
{
public WishlistItem(string productId)
{
ProductId = productId;
}
public string? Id { get; set; }
public string ProductId { get; set; }
public long? VariantId { get; set; }
public string? Sku { get; set; }
public string? Name { get; set; }
public ResponsiveImage? Image { get; set; }
public Money? PriceExclTax { get; set; }
public Money? SalePriceExclTax { get; set; }
public Money? PriceInclTax { get; set; }
public Money? SalePriceInclTax { get; set; }
public IEnumerable<Core.Attribute>? Attribute { get { return Attributes; } set { Attributes = value;} }
public IEnumerable<Core.Attribute>? Attributes { get; set; }
public DateTime? CreateTime { get; set; }
public long? Stock { get; set; }
public string? Slug { get; set; }
[GraphQLType(typeof(AnyType))]
public Dictionary<string, object>? CustomFields { get; set; }
}