Skip to content

ProductMessage

// RB2 Core Connect
using CoreConnect.Commerce.Catalog;
namespace CoreConnect.Commerce.Messages;
public class ProductDeletedMessage
{
public required string Locale { get; set; }
public required string Id { get; set; }
public required string Reference { get; set; }
}
public class CategoryDeletedMessage
{
public required string Locale { get; set; }
public required string Id { get; set; }
public required string Reference { get; set; }
}
public class ProductCreatedMessage
{
public required string Locale { get; set; }
public required Product Product { get; set; }
}
public class ProductUpdatedMessage
{
public required string Locale { get; set; }
public required Product Product { get; set; }
}
public class CategoryCreatedMessage
{
public required string Locale { get; set; }
public required Category Category { get; set; }
}
public class CategoryUpdatedMessage
{
public required string Locale { get; set; }
public required Category Category { get; set; }
}