NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOpenPublicTopicCreate...

51 lines
1.7 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenPublicTopicCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenPublicTopicCreateModel : AopObject
{
/// <summary>
/// 营销位图片url, 尺寸为996*450最大不超过5M支持格式:.jpg、.png ,请先调用<a href="https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload"> 图片上传接口</a>获得图片url。营销位需要展示头图时必须填写该参数。
/// </summary>
[XmlElement("img_url")]
public string ImgUrl { get; set; }
/// <summary>
/// 跳转类型,网页:HTTP、小程序:APP不传默认HTTP
/// </summary>
[XmlElement("link_type")]
public string LinkType { get; set; }
/// <summary>
/// 营销位跳转地址点击营销位头图跳到的链接url。营销位需要展示头图时必须填写该参数。
/// </summary>
[XmlElement("link_url")]
public string LinkUrl { get; set; }
/// <summary>
/// 营销位描述。营销位需要展示头图时,必须填写该参数。
/// </summary>
[XmlElement("sub_title")]
public string SubTitle { get; set; }
/// <summary>
/// 营销位名称
/// </summary>
[XmlElement("title")]
public string Title { get; set; }
/// <summary>
/// 营销位内容数量限制大于4个小于8个
/// </summary>
[XmlArray("topic_items")]
[XmlArrayItem("topic_item")]
public List<TopicItem> TopicItems { get; set; }
}
}