AlipayF2FRefundQueryResult.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Aop.Api.Response;
  2. using Com.Alipay.Model;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace F2FPayDll.Business
  9. {
  10. public class AlipayF2FRefundQueryResult
  11. {
  12. public AlipayF2FRefundQueryResult()
  13. {
  14. //
  15. // TODO: 在此处添加构造函数逻辑
  16. //
  17. }
  18. public AlipayTradeFastpayRefundQueryResponse response { get; set; }
  19. public ResultEnum Status
  20. {
  21. get
  22. {
  23. if (response != null)
  24. {
  25. if (response.Code == ResultCode.SUCCESS)
  26. {
  27. return ResultEnum.SUCCESS;
  28. }
  29. if (response.Code == ResultCode.ERROR)
  30. {
  31. return ResultEnum.UNKNOWN;
  32. }
  33. else
  34. return ResultEnum.FAILED;
  35. }
  36. else
  37. {
  38. return ResultEnum.UNKNOWN;
  39. }
  40. }
  41. }
  42. }
  43. }