using System; using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Domain { /// /// ExtensionArea Data Structure. /// [Serializable] public class ExtensionArea : AopObject { /// /// 跳转链接,当content_type为"image"时必传,必须是https或alipays开头的url链接 /// [JsonProperty("goto_url")] public string GotoUrl { get; set; } /// /// 扩展区高度,当content_type值为"h5"时必填,取值范围为200-500的整数 /// [JsonProperty("height")] public long Height { get; set; } /// /// 扩展区名字 /// [JsonProperty("name")] public string Name { get; set; } /// /// 扩展区类型,支持两个值,h5:h5类型,image:图片类型。 /// [JsonProperty("type")] public string Type { get; set; } /// /// 扩展区url,传入图片url或者h5页面url,必须是https开头的链接,如果要传入图片链接,请先调用 /// 图片上传接口获得图片url /// [JsonProperty("url")] public string Url { get; set; } } }