47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
using Alipay.AopSdk.Core.Response;
|
|
using Alipay.AopSdk.F2FPay.Model;
|
|
|
|
namespace Alipay.AopSdk.F2FPay.Business
|
|
{
|
|
/// <summary>
|
|
/// AlipayF2FPayResult 的摘要说明
|
|
/// </summary>
|
|
public class AlipayF2FPrecreateResult
|
|
{
|
|
public AlipayF2FPrecreateResult()
|
|
{
|
|
//
|
|
// TODO: 在此处添加构造函数逻辑
|
|
//
|
|
}
|
|
|
|
public AlipayTradePrecreateResponse response { get; set; }
|
|
|
|
public ResultEnum Status
|
|
{
|
|
get
|
|
{
|
|
if (response != null)
|
|
{
|
|
if (response.Code == ResultCode.SUCCESS)
|
|
{
|
|
return ResultEnum.SUCCESS;
|
|
}
|
|
if (response.Code == ResultCode.ERROR)
|
|
{
|
|
return ResultEnum.UNKNOWN;
|
|
}
|
|
else
|
|
return ResultEnum.FAILED;
|
|
}
|
|
else
|
|
{
|
|
return ResultEnum.UNKNOWN;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
} |