接口文件

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,37 @@
using Hncore.Payment.Enum;
using System.Collections.Generic;
namespace Hncore.Payment.Request
{
public class CreateOrderRequestBase: PaymentRequestBase
{
/// <summary>
/// 业务方附加信息,回调时原样返回
/// </summary>
public string Attach { get; set; }
/// <summary>
/// 总金额,单位:分
/// </summary>
public int TotalFee { get; set; }
/// <summary>
/// 支付类型
/// </summary>
public PaymentType PaymentType { get; set; } = PaymentType.OnlinePayWechart;
/// <summary>
/// 回调地址
/// </summary>
public string CallbackUrl { get; set; }
/// <summary>
/// 商品描述
/// </summary>
public string Body { get; set; }
/// <summary>
/// 业务订单号
/// </summary>
public string OrderId { get; set; }
}
}