接口文件

This commit is contained in:
“wanyongkang”
2024-04-10 13:55:27 +08:00
parent fff6bee06a
commit ed3b2c653e
3190 changed files with 268248 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
namespace Alipay.AopSdk.F2FPay.Model
{
/// <summary>
/// ExtendParams 的摘要说明
/// </summary>
public class ExtendParams
{
public string sys_service_provider_id { get; set; }
public ExtendParams()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
}
}

View File

@@ -0,0 +1,28 @@
namespace Alipay.AopSdk.F2FPay.Model
{
/// <summary>
/// GoodsInfo 的摘要说明
/// </summary>
public class GoodsInfo
{
public string goods_id { get; set; }
public string alipay_goods_id { get; set; }
public string goods_name { get; set; }
public string quantity { get; set; }
public string price { get; set; }
public string goods_category { get; set; }
public string body { get; set; }
public GoodsInfo()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
}
}

View File

@@ -0,0 +1,16 @@
//using System.Linq;
namespace Alipay.AopSdk.F2FPay.Model
{
public class ResultCode
{
public const string SUCCESS = "10000";
public const string INRROCESS = "10003";
//业务处理失败: 具体失败原因参见接口返回的错误码
public const string FAIL = "40004";
//业务出现未知错误或者系统异常: 如果支付接口返回,需要调用查询接口确认订单状态或者发起撤销
public const string ERROR = "20000";
}
}

View File

@@ -0,0 +1,13 @@
namespace Alipay.AopSdk.F2FPay.Model
{
/// <summary>
/// ResultEnum 的摘要说明
/// </summary>
public enum ResultEnum
{
SUCCESS = 0,
FAILED = 1,
UNKNOWN = 2,
}
}

View File

@@ -0,0 +1,22 @@
namespace Alipay.AopSdk.F2FPay.Model
{
/// <summary>
/// TradeInfo 的摘要说明
/// </summary>
public class TradeInfo
{
public string OTN { get; set; }
public string TC { get; set; }
public string STAT { get; set; }
public TradeInfo()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
}
}

View File

@@ -0,0 +1,14 @@
namespace Alipay.AopSdk.F2FPay.Model
{
/// <summary>
/// TradeStatusEnum 的摘要说明
/// </summary>
public class TradeStatus
{
public const string TRADE_SUCCESS = "TRADE_SUCCESS";
public const string TRADE_FINISHED = "TRADE_FINISHED";
public const string TRADE_CLOSED = "TRADE_CLOSED";
public const string WAIT_BUYER_PAY = "WAIT_BUYER_PAY";
}
}