TransactionEventResponse.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using EVCB_OCPP.Packet20.DataTypes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace EVCB_OCPP.Packet20.Messages
  8. {
  9. public class TransactionEventResponse
  10. {
  11. /// <summary>
  12. /// SHALL only be sent when charging has ended.
  13. /// Final total cost of this transaction, including taxes.In the
  14. /// currency configured with the Configuration Variable:
  15. ///Currency.When omitted, the transaction was NOT free.
  16. /// To indicate a free transaction, the CSMS SHALL send
  17. ///0.00.
  18. /// </summary>
  19. public decimal? TotalCost { set; get; }
  20. /// <summary>
  21. /// Priority from a business point of view. Default
  22. /// priority is 0, The range is from -9 to 9. Higher values
  23. ///indicate a higher priority.The chargingPriority in
  24. ///TransactionEventResponse is temporarily, so it may not
  25. ///be set in the IdTokenInfoType afterwards.Also the
  26. ///chargingPriority in TransactionEventResponse has a
  27. ///higher priority than the one in IdTokenInfoType.
  28. /// </summary>
  29. public int? ChargingPriority { set; get; }
  30. /// <summary>
  31. /// This contains information about authorization
  32. ///status, expiry and group id.Is required when the
  33. /// transactionEventRequest contained an idToken
  34. /// </summary>
  35. public IdTokenInfoType IdTokenInfo { set; get; }
  36. /// <summary>
  37. /// This can contain updated personal message
  38. ///that can be shown to the EV Driver.This can be used to
  39. ///provide updated tariff information
  40. /// </summary>
  41. public MessageContentType UpdatedPersonalMessage { set; get; }
  42. }
  43. }