CostUpdatedRequest.cs 833 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace EVCB_OCPP.Packet20.Messages
  8. {
  9. public class CostUpdatedRequest
  10. {
  11. /// <summary>
  12. /// Current total cost, based on the information
  13. /// known by the CSMS, of the transaction including taxes.In
  14. ///the currency configured with the configuration Variable:
  15. ///[Currency]
  16. /// </summary>
  17. [Required]
  18. public decimal TotalCost { set; get; }
  19. /// <summary>
  20. /// Transaction Id of the transaction the current
  21. /// cost are asked for.
  22. /// </summary>
  23. [StringLength(36, MinimumLength = 0)]
  24. [Required]
  25. public string TransactionId { set; get; }
  26. }
  27. }