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

38 lines
1.5 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>
/// SubButton Data Structure.
/// </summary>
[Serializable]
public class SubButton : AopObject
{
/// <summary>
/// 当actionType为link时该参数为url链接 当actionType为out时该参数为用户自定义参数 当actionType为tel时该参数为电话号码。
/// 当action_type为map时该参数为查看地图的关键字。 当action_type为consumption时该参数可不传。 该参数最长255个字符不允许冒号等特殊字符。
/// </summary>
[JsonProperty("action_param")]
public string ActionParam { get; set; }
/// <summary>
/// 菜单类型: out——事件型菜单 link——链接型菜单 tel——点击拨打电话 map——点击查看地图 consumption——点击查看用户与生活号管理员账号之间的消费记录
/// </summary>
[JsonProperty("action_type")]
public string ActionType { get; set; }
/// <summary>
/// icon图片url必须是http协议的url尺寸为60X60最大不超过5M请先调用
/// <a href="https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload"> 图片上传接口</a>获得图片url
/// </summary>
[JsonProperty("icon")]
public string Icon { get; set; }
/// <summary>
/// 菜单名称icon菜单名称不超过5个汉字文本菜单名称不超过9个汉字编码格式为GBK
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
}
}