TrxApprovedSentToPOSEventArgs.cs 734 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. namespace Wayne.ForecourtControl
  3. {
  4. public class TrxApprovedSentToPOSEventArgs : EventArgs
  5. {
  6. #region Fields
  7. bool success;
  8. string debugInfo;
  9. #endregion
  10. #region constructor
  11. public TrxApprovedSentToPOSEventArgs(bool success, string debugInfo)
  12. {
  13. this.success = success;
  14. this.debugInfo = debugInfo;
  15. }
  16. #endregion
  17. #region properties
  18. public bool Success
  19. {
  20. get { return success; }
  21. set { success = value; }
  22. }
  23. public string DebugInfo
  24. {
  25. get { return debugInfo; }
  26. set { debugInfo = value; }
  27. }
  28. #endregion
  29. }
  30. }