|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
|
|
|
namespace POSV.Payment.AllinPay.Models.ResponseModels
|
|
|
{
|
|
|
public class VspTermidInfoManageResponse : BaseResultInfo
|
|
|
{
|
|
|
}
|
|
|
|
|
|
public class VspTermidInfoManageQueryResponse : BaseResponse<VspTermidInfoManageResponse>
|
|
|
{
|
|
|
public VspTermidInfoManageResponse response { get; set; }
|
|
|
|
|
|
protected override VspTermidInfoManageResponse GetResultInfo()
|
|
|
{
|
|
|
return response;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public class VspTermidInfoManageResultModel
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 收银宝终端“新建、修改、注销、查询”结果
|
|
|
/// 成功:OK;失败:error
|
|
|
/// </summary>
|
|
|
public string result { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 终端报备状态
|
|
|
/// 受理成功;报备成功
|
|
|
/// </summary>
|
|
|
public string termStatusMsg { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收银宝集团商户号
|
|
|
/// 仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string vspMerchantid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收银宝商户号
|
|
|
/// 单商户模式:商户收银宝商户号; 集团模式:收银宝子商户号,仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string vspCusid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收银宝应用号
|
|
|
/// 仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string appid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 终端号
|
|
|
/// 仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string termno { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设备类型
|
|
|
/// 仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string devicetype { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 终端序列号
|
|
|
/// 终端序列号
|
|
|
/// </summary>
|
|
|
public string termsn { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 终端状态
|
|
|
/// 仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string termstate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 终端地址
|
|
|
/// 仅操作类型为“03:查询”且为集团商户时,返回
|
|
|
/// </summary>
|
|
|
public string termaddress { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 错误代码
|
|
|
/// 仅当result=error时有值
|
|
|
/// </summary>
|
|
|
public string errorCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 错误信息
|
|
|
/// 仅当result=error时有值
|
|
|
/// </summary>
|
|
|
public string message { get; set; }
|
|
|
}
|
|
|
}
|