using PaySharp.Core; using PaySharp.Core.Request; using PaySharp.Core.Response; namespace PaySharp.Wechatpay.Response { public abstract class BaseResponse : IResponse { /// /// 应用ID /// [ReName(Name = "appid")] public string AppId { get; set; } /// /// 商户号 /// public string MchId { get; set; } /// /// 设备号 /// public string DeviceInfo { get; set; } /// /// 随机字符串 /// public string NonceStr { get; set; } /// /// 签名 /// public string Sign { get; set; } /// /// 业务结果 /// public string ResultCode { get; set; } /// /// 错误代码 /// public string ErrCode { get; set; } /// /// 错误代码描述 /// public string ErrCodeDes { get; set; } /// /// 返回状态码 /// public string ReturnCode { get; set; } /// /// 返回信息 /// public string ReturnMsg { get; set; } /// /// 原始值 /// public string Raw { get; set; } internal GatewayData GatewayData { get; set; } internal abstract void Execute(Merchant merchant, Request request) where TResponse : IResponse; } }