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

37 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>
/// PublishChannel Data Structure.
/// </summary>
[Serializable]
public class PublishChannel : AopObject
{
/// <summary>
/// 当type为MERCHANT_CROWD时config需填入口令送的密码和图片样例如下"config":"{\"PASSWORD\":\"口令送密码\",\"BACKGROUND_LOGO\":\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\"}"
/// </summary>
[JsonProperty("config")]
public string Config { get; set; }
/// <summary>
/// 扩展信息,无需配置
/// </summary>
[JsonProperty("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 渠道名称
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
/// <summary>
/// 渠道类型,目前支持以下类型 QR_CODE二维码投放 SHORT_LINK短连接投放 SHOP_DETAIL店铺页投放 PAYMENT_RESULT支付成功页 MERCHANT_CROWD口令送
/// URL_WITH_TOKEN外部发奖活动只有活动类型为DIRECT_SEND时才支持 EXTERNAL外部投放口碑需要感知任何投放内容
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
}
}