Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/ExtensionArea.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

43 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// ExtensionArea Data Structure.
/// </summary>
[Serializable]
public class ExtensionArea : AopObject
{
/// <summary>
/// 跳转链接当content_type为"image"时必传必须是https或alipays开头的url链接
/// </summary>
[JsonProperty("goto_url")]
public string GotoUrl { get; set; }
/// <summary>
/// 扩展区高度当content_type值为"h5"时必填取值范围为200-500的整数
/// </summary>
[JsonProperty("height")]
public long Height { get; set; }
/// <summary>
/// 扩展区名字
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
/// <summary>
/// 扩展区类型支持两个值h5h5类型image图片类型。
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
/// <summary>
/// 扩展区url传入图片url或者h5页面url必须是https开头的链接如果要传入图片链接请先调用
/// <a href="https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload"> 图片上传接口</a>获得图片url
/// </summary>
[JsonProperty("url")]
public string Url { get; set; }
}
}