Skip to content

Catalog

// RB2 Core Connect
using CoreConnect.Commerce.Catalog;
using CoreConnect.Plugins;
namespace CoreConnect.Commerce.Hooks;
public class BeforeSearchProducts : ICommand<SearchProductsRequest>
{
public required SearchProductsRequest Request { get; set; }
}
public class AfterSearchProducts : ICommand<SearchProductsResponse>
{
public required SearchProductsRequest Request { get; set; }
public required SearchProductsResponse Data { get; set; }
}
public class BeforeGetProduct : ICommand<GetProductRequest>
{
public required GetProductRequest Request { get; set; }
}
public class AfterGetProduct : ICommand<Product>
{
public required GetProductRequest Request { get; set; }
public required Product? Data { get; set; }
}
public class BeforeLookupUrl : ICommand<LookupUrlRequest>
{
public required LookupUrlRequest Request { get; set; }
}
public class AfterLookupUrl : ICommand<LookupUrlResponse>
{
public required LookupUrlRequest Request { get; set; }
public required LookupUrlResponse Data { get; set; }
}