|
@@ -4,9 +4,9 @@ using Essensoft.AspNetCore.Payment.UnionPay.Response;
|
|
namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
{
|
|
{
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 预授权接口
|
|
|
|
|
|
+ /// 网关支付(V2.2) 预授权接口
|
|
/// </summary>
|
|
/// </summary>
|
|
- public class UnionPayForm_6_7_1_AuthDeal_FrontRequest : IUnionPayRequest<UnionPayForm_6_7_1_AuthDeal_FrontResponse>
|
|
|
|
|
|
+ public class UnionPayGatewayPayFrontPreauthRequest : IUnionPayRequest<UnionPayGatewayPayFrontPreauthResponse>
|
|
{
|
|
{
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 产品类型
|
|
/// 产品类型
|
|
@@ -19,34 +19,34 @@ namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
public string TxnTime { get; set; }
|
|
public string TxnTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 交易类型
|
|
|
|
|
|
+ /// 后台通知地址
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string TxnType { get; set; }
|
|
|
|
|
|
+ public string BackUrl { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 交易子类
|
|
|
|
|
|
+ /// 交易币种
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string TxnSubType { get; set; }
|
|
|
|
|
|
+ public string CurrencyCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 渠道类型
|
|
|
|
|
|
+ /// 交易金额
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string ChannelType { get; set; }
|
|
|
|
|
|
+ public string TxnAmt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 后台通知地址
|
|
|
|
|
|
+ /// 交易类型
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string BackUrl { get; set; }
|
|
|
|
|
|
+ public string TxnType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 交易币种
|
|
|
|
|
|
+ /// 交易子类
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string CurrencyCode { get; set; }
|
|
|
|
|
|
+ public string TxnSubType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 交易金额
|
|
|
|
|
|
+ /// 渠道类型
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string TxnAmt { get; set; }
|
|
|
|
|
|
+ public string ChannelType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 商户订单号
|
|
/// 商户订单号
|
|
@@ -116,12 +116,12 @@ namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 订单接收超时时间
|
|
/// 订单接收超时时间
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string OrderTimeout { get; set; }
|
|
|
|
|
|
+ public string OrderTimeOut { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 发卡机构代码
|
|
/// 发卡机构代码
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string IssInsNo { get; set; }
|
|
|
|
|
|
+ public string IssInsCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 分账域
|
|
/// 分账域
|
|
@@ -156,7 +156,7 @@ namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 支付超时时间
|
|
/// 支付超时时间
|
|
/// </summary>
|
|
/// </summary>
|
|
- public string PayTimeout { get; set; }
|
|
|
|
|
|
+ public string PayTimeOut { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 终端号
|
|
/// 终端号
|
|
@@ -188,18 +188,18 @@ namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
{
|
|
{
|
|
{ "bizType", BizType },
|
|
{ "bizType", BizType },
|
|
{ "txnTime", TxnTime },
|
|
{ "txnTime", TxnTime },
|
|
- { "txnType", TxnType },
|
|
|
|
- { "txnSubType", TxnSubType },
|
|
|
|
- { "channelType", ChannelType },
|
|
|
|
{ "backUrl", BackUrl },
|
|
{ "backUrl", BackUrl },
|
|
{ "currencyCode", CurrencyCode },
|
|
{ "currencyCode", CurrencyCode },
|
|
{ "txnAmt", TxnAmt },
|
|
{ "txnAmt", TxnAmt },
|
|
|
|
+ { "txnType", TxnType },
|
|
|
|
+ { "txnSubType", TxnSubType },
|
|
|
|
+ { "channelType", ChannelType },
|
|
{ "orderId", OrderId },
|
|
{ "orderId", OrderId },
|
|
{ "orderDesc", OrderDesc },
|
|
{ "orderDesc", OrderDesc },
|
|
{ "subMerId", SubMerId },
|
|
{ "subMerId", SubMerId },
|
|
{ "subMerAbbr", SubMerAbbr },
|
|
{ "subMerAbbr", SubMerAbbr },
|
|
{ "subMerName", SubMerName },
|
|
{ "subMerName", SubMerName },
|
|
- { "issInsNo", IssInsNo },
|
|
|
|
|
|
+ { "issInsCode", IssInsCode },
|
|
{ "frontUrl", FrontUrl },
|
|
{ "frontUrl", FrontUrl },
|
|
{ "customerInfo", CustomerInfo },
|
|
{ "customerInfo", CustomerInfo },
|
|
{ "cardTransData", CardTransData },
|
|
{ "cardTransData", CardTransData },
|
|
@@ -208,14 +208,14 @@ namespace Essensoft.AspNetCore.Payment.UnionPay.Request
|
|
{ "accType", AccType },
|
|
{ "accType", AccType },
|
|
{ "reserved", Reserved },
|
|
{ "reserved", Reserved },
|
|
{ "customerIp", CustomerIp },
|
|
{ "customerIp", CustomerIp },
|
|
- { "orderTimeout", OrderTimeout },
|
|
|
|
|
|
+ { "orderTimeout", OrderTimeOut },
|
|
{ "accSplitData", AccSplitData },
|
|
{ "accSplitData", AccSplitData },
|
|
{ "riskRateInfo", RiskRateInfo },
|
|
{ "riskRateInfo", RiskRateInfo },
|
|
{ "defaultPayType", DefaultPayType },
|
|
{ "defaultPayType", DefaultPayType },
|
|
{ "reqReserved", ReqReserved },
|
|
{ "reqReserved", ReqReserved },
|
|
{ "frontFailUrl", FrontFailUrl },
|
|
{ "frontFailUrl", FrontFailUrl },
|
|
{ "supPayType", SupPayType },
|
|
{ "supPayType", SupPayType },
|
|
- { "payTimeout", PayTimeout },
|
|
|
|
|
|
+ { "payTimeout", PayTimeOut },
|
|
{ "termId", TermId },
|
|
{ "termId", TermId },
|
|
{ "userMac", UserMac }
|
|
{ "userMac", UserMac }
|
|
};
|
|
};
|