using System; using System.Collections.Generic; using System.Linq; using System.Text; using com.hitrust.trustpay.client; namespace Bwp.ABCClient2.Market { public class BaseResult { protected TrxResponse tResponse; internal BaseResult(TrxResponse response) { tResponse = response; } public bool Success { get { //#if DEBUG // return true; //#endif return tResponse.isSuccess(); } } /// /// 错误信息 /// public string ErrorMessage { get { return tResponse.ErrorMessage; } } /// /// 错误代码 /// public string ReturnCode { get { return tResponse.ReturnCode; } } /// /// 商户编号 /// public string MerchantID { get { return tResponse.MerchantID; } } /// /// 手续费 /// public string InterBankFee { get { return tResponse.InterBankFee; } } /// /// 功能ID:0030 /// public string FunctionID { get { return tResponse.FunctionID; } } } }