NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayCommerceDataCampaignC...

85 lines
3.1 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;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayCommerceDataCampaignCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayCommerceDataCampaignCreateModel : AopObject
{
/// <summary>
/// 集点活动任务完成时用户得到的集点奖品名称,用于在服务提醒消息中进行展示
/// </summary>
[XmlElement("award_name")]
public string AwardName { get; set; }
/// <summary>
/// 集点活动结束时间。取值精确至秒格式为yyyy-MM-dd HH:mm:ss。
/// </summary>
[XmlElement("end_time")]
public string EndTime { get; set; }
/// <summary>
/// 集点活动配置业务扩展字段json数组格式。具体值需要和支付宝约定
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 集点活动限制菜品名称,针对部分集点活动与具体菜品有关,用于在服务提醒中进行展示
/// </summary>
[XmlElement("limit_product")]
public string LimitProduct { get; set; }
/// <summary>
/// 商家名称
/// </summary>
[XmlElement("merchant_name")]
public string MerchantName { get; set; }
/// <summary>
/// 合作者身份IDPID是商户与支付宝签约后商户获得的支付宝商户唯一识别码。当商户把支付宝功能接入商户网站时会用到PID以便让支付宝认证商户
/// </summary>
[XmlElement("merchant_pid")]
public string MerchantPid { get; set; }
/// <summary>
/// 集点活动中里程碑信息json数组格式其中milestone_total_num:小里程碑目标次数 milestone_award:小里程碑奖品名称 小里程碑目标次数需要小于集点任务目标次数; 如果传入小里程碑奖品名称时,小里程碑目标次数必传。
/// </summary>
[XmlElement("milestone_list")]
public string MilestoneList { get; set; }
/// <summary>
/// 集点任务目标次数,即当前商户集点活动的任务目标次数
/// </summary>
[XmlElement("periodic_total_num")]
public string PeriodicTotalNum { get; set; }
/// <summary>
/// 商家集点活动的集点单位长度固定1
/// </summary>
[XmlElement("push_unit")]
public string PushUnit { get; set; }
/// <summary>
/// 集点活动展示变量,用于在集点通知服务提醒中进行展示
/// </summary>
[XmlElement("push_unit_name")]
public string PushUnitName { get; set; }
/// <summary>
/// 集点召回通知规则
/// </summary>
[XmlElement("recall_rule")]
public CampaignExtInfo RecallRule { get; set; }
/// <summary>
/// 集点活动开始时间。取值精确至秒格式为yyyy-MM-dd HH:mm:ss。
/// </summary>
[XmlElement("start_time")]
public string StartTime { get; set; }
}
}