NewGaoKaoApi/PaymentSDK/AliPay/Domain/MessageContext.cs

55 lines
1.5 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>
/// MessageContext Data Structure.
/// </summary>
[Serializable]
public class MessageContext : AopObject
{
/// <summary>
/// 底部链接描述文字如“查看详情”最多能传8个汉字或16个英文字符长度超出会报错
/// </summary>
[XmlElement("action_name")]
public string ActionName { get; set; }
/// <summary>
/// 模板中占位符的值及文字颜色
/// </summary>
[XmlElement("first")]
public MessageTemplateKeyword First { get; set; }
/// <summary>
/// 顶部色条的色值
/// </summary>
[XmlElement("head_color")]
public string HeadColor { get; set; }
/// <summary>
/// 模板中占位符的值及文字颜色
/// </summary>
[XmlElement("keyword_1")]
public MessageTemplateKeyword Keyword1 { get; set; }
/// <summary>
/// 模板中占位符的值及文字颜色
/// </summary>
[XmlElement("keyword_2")]
public MessageTemplateKeyword Keyword2 { get; set; }
/// <summary>
/// 模板中占位符的值及文字颜色
/// </summary>
[XmlElement("remark")]
public MessageTemplateKeyword Remark { get; set; }
/// <summary>
/// 点击消息后承接页的地址
/// </summary>
[XmlElement("url")]
public string Url { get; set; }
}
}