NewGaoKaoApi/PaymentSDK/AliPay/Domain/NotifyParam.cs

37 lines
1.3 KiB
C#
Raw Permalink 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>
/// NotifyParam Data Structure.
/// </summary>
[Serializable]
public class NotifyParam : AopObject
{
/// <summary>
/// 消息push的内容根据serviceCode对应的模版中的key进行值替换模版中的具体文案格式为Map<String, String>转json
/// </summary>
[XmlElement("params")]
public string Params { get; set; }
/// <summary>
/// 消息push是否自动带出发消息者的个性化名称个性化名称获取顺序为备注名>群昵称>全局昵称
/// </summary>
[XmlElement("personal_name")]
public bool PersonalName { get; set; }
/// <summary>
/// 消息push是否有短信类通知
/// </summary>
[XmlElement("send_sms")]
public bool SendSms { get; set; }
/// <summary>
/// 消息push的serviceCode一个serviceCode在push平台对应一个模版业务接入时如果要发非默认模版的push需要自行申请如果想发默认模版请传 C2CMOBILE_CHAT_NOTIFY_N C2BMOBILE_CHAT_BC_TO_M_NOTIFY_N B2CMOBILE_CHAT_BC_TO_C_NOTIFY_N
/// </summary>
[XmlElement("service_code")]
public string ServiceCode { get; set; }
}
}