NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOpenIotDeviceBindMode...

67 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenIotDeviceBindModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenIotDeviceBindModel : AopObject
{
/// <summary>
/// 设备IDbiztid
/// </summary>
[XmlElement("biz_tid")]
public string BizTid { get; set; }
/// <summary>
/// 可选项[SN,ID] SN-使用supplier_id、device_sn联合作为设备唯一识别标识 ID-使用biztid作为设备唯一识别标识
/// </summary>
[XmlElement("device_id_type")]
public string DeviceIdType { get; set; }
/// <summary>
/// 设备序列号SN
/// </summary>
[XmlElement("device_sn")]
public string DeviceSn { get; set; }
/// <summary>
/// 商户编号由ISV定义需要保证在ISV下唯一
/// </summary>
[XmlElement("external_id")]
public string ExternalId { get; set; }
/// <summary>
/// 商户角色id。对于直连开店场景填写商户pid对于间连开店场景填写商户smid。
/// </summary>
[XmlElement("merchant_id")]
public string MerchantId { get; set; }
/// <summary>
/// 区分商户ID类型直连商户填写direct间连商户填写indirect
/// </summary>
[XmlElement("merchant_id_type")]
public string MerchantIdType { get; set; }
/// <summary>
/// 小程序ID
/// </summary>
[XmlElement("mini_app_id")]
public string MiniAppId { get; set; }
/// <summary>
/// 受理商户的ISV在支付宝的pid
/// </summary>
[XmlElement("source")]
public string Source { get; set; }
/// <summary>
/// 设备供应商IDsupplierId
/// </summary>
[XmlElement("supplier_id")]
public string SupplierId { get; set; }
}
}