42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using Alipay.AopSdk.F2FPay.Model;
|
|||
|
|
|
|||
|
|
namespace Alipay.AopSdk.F2FPay.Domain
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// AlipayMonitorContentBuilder 的摘要说明
|
|||
|
|
/// </summary>
|
|||
|
|
public class AlipayMonitorContentBuilder : JsonBuilder
|
|||
|
|
{
|
|||
|
|
public List<TradeInfo> trade_info { get; set; }
|
|||
|
|
|
|||
|
|
public AlipayMonitorContentBuilder()
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public string product { get; set; }
|
|||
|
|
|
|||
|
|
public string type { get; set; }
|
|||
|
|
public string equipment_id { get; set; }
|
|||
|
|
public string time { get; set; }
|
|||
|
|
public string store_id { get; set; }
|
|||
|
|
public string network_type { get; set; }
|
|||
|
|
public string equipment_status { get; set; }
|
|||
|
|
public string sys_service_provider_id { get; set; }
|
|||
|
|
public string mac { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
public override bool Validate()
|
|||
|
|
{
|
|||
|
|
if (String.IsNullOrEmpty(product))
|
|||
|
|
{
|
|||
|
|
throw new NullReferenceException("product should not be NULL!");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|