Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Business/AlipayF2FPayResult.cs

44 lines
958 B
C#
Raw Normal View History

2020-10-07 20:25:03 +08:00
using Alipay.AopSdk.Core.Response;
using Alipay.AopSdk.F2FPay.Model;
namespace Alipay.AopSdk.F2FPay.Business
{
/// <summary>
/// AlipayF2FPayResult 的摘要说明
/// </summary>
public class AlipayF2FPayResult
{
public AlipayF2FPayResult()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
public AlipayTradePayResponse response { get; set; }
public ResultEnum Status
{
get
{
if (response != null)
{
if (response.Code == ResultCode.SUCCESS)
{
return ResultEnum.SUCCESS;
}
else
return ResultEnum.FAILED;
}
else
{
return ResultEnum.UNKNOWN;
}
}
}
}
}