22 lines
847 B
C#
22 lines
847 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConsoleApp3.DataContracts
|
|
{
|
|
internal class InvoiceLineItem
|
|
{
|
|
[JsonProperty("type")] public string Type { get; set; }
|
|
[JsonProperty("name")] public string Name { get; set; }
|
|
[JsonProperty("description")] public string Description { get; set; }
|
|
[JsonProperty("quantity")] public decimal Quantity { get; set; }
|
|
[JsonProperty("unitName")] public string UnitName { get; set; }
|
|
[JsonProperty("unitPrice")] public InvoiceLineUnitPrice UnitPrice { get; set; }
|
|
[JsonProperty("discountPercentage")] public decimal DiscountPercentage { get; set; }
|
|
[JsonProperty("lineItemAmount")] public decimal LineItemAmount { get; set; }
|
|
}
|
|
}
|