📄 OrderLine.cs
1 2 3 4 5 6 7 8 9 10
namespace Walley.Checkout.Api.Models;

public class OrderLine
{
    public string ProductName { get; set; } = string.Empty;
    public int Quantity { get; set; }
    public decimal UnitPrice { get; set; }
    public decimal LineTotal => Quantity * UnitPrice;
}