NewGaoKaoApi/PaymentSDK/AliPay/Domain/MarketingSelectionInfo.cs

27 lines
1.0 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>
/// MarketingSelectionInfo Data Structure.
/// </summary>
[Serializable]
public class MarketingSelectionInfo : AopObject
{
/// <summary>
/// 指定营销列表
/// </summary>
[XmlArray("selection_list")]
[XmlArrayItem("marketing_item_selection")]
public List<MarketingItemSelection> SelectionList { get; set; }
/// <summary>
/// 指定营销模式。AUTO:表示由系统决策最大优惠的模式。MANUAL:表示由外部指定的营销模式。模式为MANUAL时指定营销券ID信息通过items_list传入如果不传入表示不使用商户营销券若有平台营销仍然会返回。若use_mode为空同时seleciont_list为空则表示不使用所有前置营销包括商户营销券以及平台营销
/// </summary>
[XmlElement("use_mode")]
public string UseMode { get; set; }
}
}