public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO DirectPayRefund(Jinher.AMP.BTP.Deploy.CustomDTO.OrderRefundDTO orderRefundDto) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result; try { //调用代理方法 result = base.Channel.DirectPayRefund(orderRefundDto); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }
/// <summary> /// 售中直接到账退款 /// </summary> /// <param name="orderRefundDto">退款信息</param> /// <returns></returns> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO DirectPayRefund(Jinher.AMP.BTP.Deploy.CustomDTO.OrderRefundDTO orderRefundDto) { base.Do(); return(this.Command.DirectPayRefund(orderRefundDto)); }
/// <summary> /// 售中直接到账退款 /// </summary> /// <param name="orderRefundDto">退款信息</param> /// <returns></returns> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO DirectPayRefundAfterSales(Jinher.AMP.BTP.Deploy.CustomDTO.OrderRefundDTO orderRefundDto) { base.Do(false); return(this.DirectPayRefundAfterSalesExt(orderRefundDto)); }