NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOfflineMarketShopDisc...

39 lines
1.6 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>
/// AlipayOfflineMarketShopDiscountQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOfflineMarketShopDiscountQueryModel : AopObject
{
/// <summary>
/// 活动业务类型列表当query_type为MERCHANT且user_id不为空时生效对返回结果进行过滤返回列表中指定业务类型的活动默认为空代表不过滤返回所有活动。业务类型CONSUME_SEND消费送MRT_DISCOUNT:商户立减OBTAIN:通用领券
/// </summary>
[XmlArray("camp_biz_type_list")]
[XmlArrayItem("string")]
public List<string> CampBizTypeList { get; set; }
/// <summary>
/// 查询类型 目前取值MERCHANT(商户活动) 如果不传递该参数或者指定参数值出参只返回item_listdiscount_list 反之返回camp_num,camp_list
/// </summary>
[XmlElement("query_type")]
public string QueryType { get; set; }
/// <summary>
/// 门店id注意:必须传递isv授权商户下的门店否则无权限查询
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 用户id当query_type为MERCHANT时生效如果查询的优惠活动需要过用户规则则用户id必须传入目前只支持查询活动列表的场景
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
}
}