This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cardmarketbot/ConsoleApp3/DataContracts/InvoiceLineItem.cs

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; }
}
}