NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayMarketingCampaignDraw...

105 lines
3.8 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayMarketingCampaignDrawcampUpdateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayMarketingCampaignDrawcampUpdateModel : AopObject
{
/// <summary>
/// 单用户以支付宝账号维度可参与当前营销活动的总次数,由开发者自定义此数值
/// </summary>
[XmlElement("account_count")]
public string AccountCount { get; set; }
/// <summary>
/// 以移动设备维度可参与当前营销活动的总次数,由开发者自定义此数值
/// </summary>
[XmlElement("appid_count")]
public string AppidCount { get; set; }
/// <summary>
/// 活动奖品总中奖几率开发者需传入整数值传入99支付宝默认为99%
/// </summary>
[XmlElement("award_rate")]
public string AwardRate { get; set; }
/// <summary>
/// 活动结束时间yyyy-MM-dd HH:00:00格式(到小时),需要大于活动开始时间
/// </summary>
[XmlElement("camp_end_time")]
public string CampEndTime { get; set; }
/// <summary>
/// 抽奖活动id通过alipay.marketing.campaign.drawcamp.create接口返回
/// </summary>
[XmlElement("camp_id")]
public string CampId { get; set; }
/// <summary>
/// 活动名称,开发者自定义
/// </summary>
[XmlElement("camp_name")]
public string CampName { get; set; }
/// <summary>
/// 活动开始时间yyyy-MM-dd HH:00:00格式到小时时间不能早于当前日期的0点
/// </summary>
[XmlElement("camp_start_time")]
public string CampStartTime { get; set; }
/// <summary>
/// 凭证验证规则id通过alipay.marketing.campaign.cert.create 接口创建的凭证id
/// </summary>
[XmlElement("cert_rule_id")]
public string CertRuleId { get; set; }
/// <summary>
/// 单用户以账户证件号(如身份证号、护照、军官证等)维度可参与当前营销活动的总次数,由开发者自定义此数值
/// </summary>
[XmlElement("certification_count")]
public string CertificationCount { get; set; }
/// <summary>
/// 圈人规则id通过alipay.marketing.campaign.rule.crowd.create 接口创建的规则id
/// </summary>
[XmlElement("crowd_rule_id")]
public string CrowdRuleId { get; set; }
/// <summary>
/// 以认证手机号(与支付宝账号绑定的手机号)维度的可参与当前营销活动的总次数,由开发者自定义此数值
/// </summary>
[XmlElement("mobile_count")]
public string MobileCount { get; set; }
/// <summary>
/// 开发者用于区分商户的唯一标识,由开发者自定义,用于区分是开发者名下哪一个商户的请求,为空则为默认标识
/// </summary>
[XmlElement("mpid")]
public string Mpid { get; set; }
/// <summary>
/// 奖品模型,至少有一个奖品模型
/// </summary>
[XmlArray("prize_list")]
[XmlArrayItem("mp_prize_info_model")]
public List<MpPrizeInfoModel> PrizeList { get; set; }
/// <summary>
/// 营销验证规则id由支付宝配置
/// </summary>
[XmlElement("promo_rule_id")]
public string PromoRuleId { get; set; }
/// <summary>
/// 人群验证规则id由支付宝配置
/// </summary>
[XmlElement("user_rule_id")]
public string UserRuleId { get; set; }
}
}