/// <summary> /// 支付远程调用 /// </summary> /// <param name="request"></param> /// <returns></returns> public static TenpayResponseBase <TenpayPay> TradePay(string payNo, TradePayRequest request, AccountEntity accountEntity) { TenpayPay tenpayRequestModel = new TenpayPay(); TenpayResponseBase <TenpayPay> tenpayResponseModel = new TenpayResponseBase <TenpayPay>(); return(tenpayResponseModel); }
public TradePayResponse TradePay(TradePayRequest request) { TenpayResponseBase <TenpayPay> tenpayResponseModel = new TenpayResponseBase <TenpayPay>(); TradePayResponse response = new TradePayResponse(); return(response); }
public static TradePayResponse TradePay(TradePayRequest request) { TradePayResponse response = new TradePayResponse(); if (request == null) { response.Message = "请求实体不可为空"; return(response); } return(response); }
public TradePayResponse TradePay(TradePayRequest request) { AlipayResponseBase <AlipayPay> alipayResponseModel = new AlipayResponseBase <AlipayPay>(); TradePayResponse response = new TradePayResponse(); //数据验证 //获取账号信息 //生成平台唯一订单号 //记录请求日志 //第三方支付调用并记录响应结果 //组织数据返回 return(response); }
public static TradePayResponse TradePay(TradePayRequest request) { throw new NotImplementedException(); }
public TradePayResponse TradePay(TradePayRequest request) { IPaymentService paymentService = ThirdPaymentFactory.Create(request.payChannels); return(paymentService.TradePay(request)); }
/// <summary> /// 支付 /// </summary> /// <param name="request"></param> /// <returns></returns> public TradePayResponse TradePay(TradePayRequest request) { return(_payFacade.TradePay(request)); }
/// <summary> /// 支付远程调用 /// </summary> /// <param name="request"></param> /// <returns></returns> public static AlipayResponseBase <Alipay.Model.AlipayPay> TradePay(string payNo, TradePayRequest request, AccountEntity accountEntity) { AlipayPay alipayRequestModel = new AlipayPay(); AlipayResponseBase <AlipayPay> alipayResponseModel = new AlipayResponseBase <AlipayPay>(); return(alipayResponseModel); }