public ReportCost(SubmitParameters submit) { this._submits = submit; }
/// <summary> /// 创建统一预支付单接口操作类的对象 /// </summary> /// <param name="submits">设置调用统一预支付单接口所需提交的参数集合</param> public UnifiedOrder(SubmitParameters submits) { this._submits = submits; }
public static SubmitParameters Pares(string apiURL, int costTime, PayResultParameters results, string outTradeId = null) { SubmitParameters submit = null; if (!General.IsNullable(apiURL) && costTime > 0 && results != null) { submit = new SubmitParameters { AppId = results.AppId, ApiKey = results.ApiKey, MerchantId = results.MerchantId, ReturnCode = results.ReturnCode, ResultCode = results.ResultCode, InterFaceURL = apiURL, ExecuteTime = costTime, OutTradeId = outTradeId }; } return submit; }