You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

85 lines
1.2 KiB

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();
}
}
/// <summary>
/// 错误信息
/// </summary>
public string ErrorMessage
{
get
{
return tResponse.ErrorMessage;
}
}
/// <summary>
/// 错误代码
/// </summary>
public string ReturnCode
{
get
{
return tResponse.ReturnCode;
}
}
/// <summary>
/// 商户编号
/// </summary>
public string MerchantID
{
get
{
return tResponse.MerchantID;
}
}
/// <summary>
/// 手续费
/// </summary>
public string InterBankFee
{
get
{
return tResponse.InterBankFee;
}
}
/// <summary>
/// 功能ID:0030
/// </summary>
public string FunctionID
{
get
{
return tResponse.FunctionID;
}
}
}
}