Skip to content

Order

// RB2 Core Connect
using CoreConnect.Commerce.Orders;
using CoreConnect.Plugins;
namespace CoreConnect.Commerce.Hooks;
public class BeforeGetMyOrdersResponse : ICommand<GetMyOrdersRequest>
{
public required GetMyOrdersRequest Request { get; set; }
}
public class AfterGetMyOrdersResponse : ICommand<GetMyOrdersResponse>
{
public required GetMyOrdersRequest Request { get; set; }
public required GetMyOrdersResponse Data { get; set; }
}
public class BeforeGetMyOrderResponse : ICommand<GetMyOrderRequest>
{
public required GetMyOrderRequest Request { get; set; }
}
public class AfterGetMyOrderResponse : ICommand<Order>
{
public required GetMyOrderRequest Request { get; set; }
public required Order Data { get; set; }
}