DiscountRequest.cs 859 B

12345678910111213141516171819202122232425262728293031323334
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Dfs.WayneChina.IPosPlus.ServiceClient
  6. {
  7. /// <summary>
  8. /// Represents an online discount calculation request.
  9. /// </summary>
  10. public class DiscountRequest
  11. {
  12. [JsonProperty("cardNo")]
  13. public string CardNo { get; set; }
  14. [JsonProperty("fillingAmount")]
  15. public decimal FillingAmount { get; set; }
  16. [JsonProperty("volume")]
  17. public decimal Volume { get; set; }
  18. [JsonProperty("unitPrice")]
  19. public decimal UnitPrice { get; set; }
  20. [JsonProperty("cardType")]
  21. public int CardType { get; set; }
  22. [JsonProperty("timeStamp")]
  23. public DateTime TimeStamp { get; set; }
  24. [JsonProperty("barcode")]
  25. public string Barcode { get; set; }
  26. }
  27. }