NewGaoKaoApi/PaymentSDK/AliPay/Domain/KbAdvertSubjectVoucher.cs

57 lines
1.5 KiB
C#
Raw 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>
/// KbAdvertSubjectVoucher Data Structure.
/// </summary>
[Serializable]
public class KbAdvertSubjectVoucher : AopObject
{
/// <summary>
/// 品牌名称(支持模糊匹配)
/// </summary>
[XmlElement("brand_name")]
public string BrandName { get; set; }
/// <summary>
/// 适用城市(命中一个即可搜出)
/// </summary>
[XmlArray("city_ids")]
[XmlArrayItem("string")]
public List<string> CityIds { get; set; }
/// <summary>
/// 商家名称(支持模糊匹配)
/// </summary>
[XmlElement("merchant_name")]
public string MerchantName { get; set; }
/// <summary>
/// OBTAIN认领默认值 BUY购买
/// </summary>
[XmlElement("purchase_mode")]
public string PurchaseMode { get; set; }
/// <summary>
/// 券ID
/// </summary>
[XmlElement("voucher_id")]
public string VoucherId { get; set; }
/// <summary>
/// 券名称(支持模糊匹配)
/// </summary>
[XmlElement("voucher_name")]
public string VoucherName { get; set; }
/// <summary>
/// 券类型 LIMIT-单品券 NO_LIMIT_DISCOUNT-全场折扣券 NO_LIMIT_CASH-全场代金券
/// </summary>
[XmlElement("voucher_type")]
public string VoucherType { get; set; }
}
}