TrxNotificationResponse.cs 560 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SinochemPosClient.Models
  7. {
  8. public class TrxNotificationResponse : ResponseBase
  9. {
  10. public const string SuccessResponse = "OK";
  11. public string status { get; set; }
  12. public string errorCode { get; set; }
  13. public string errorMsg { get; set; }
  14. public object content { get; set; }
  15. public bool IsSuccessful()
  16. {
  17. return SuccessResponse == status;
  18. }
  19. }
  20. }