Mango.Nop.Plugins/Nop.Plugin.Misc.AIPlugin/Models/Orders/IOrderProductItemBase.cs

15 lines
479 B
C#

namespace Nop.Plugin.Misc.FruitBankPlugin.Models.Orders;
/// <summary>
/// Minimal contract for adding a product to an order.
/// Implemented by CustomOrderController.OrderProductItem, AddProductModel,
/// and any other DTO that needs to be passed to FruitBankOrderItemService.
/// </summary>
public interface IOrderProductItemBase
{
/// <summary>ProductId</summary>
int Id { get; set; }
int Quantity { get; set; }
decimal Price { get; set; }
}