NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOverseasTravelPromoti...

114 lines
4.2 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>
/// AlipayOverseasTravelPromotionGetModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOverseasTravelPromotionGetModel : AopObject
{
/// <summary>
/// 蚂蚁LBS基础设施定义的商圈码列表
/// </summary>
[XmlArray("biz_area_codes")]
[XmlArrayItem("string")]
public List<string> BizAreaCodes { get; set; }
/// <summary>
/// 多端统一渠道信息与服务提供方协商分配为空则默认取appId
/// </summary>
[XmlElement("ch_info")]
public string ChInfo { get; set; }
/// <summary>
/// 蚂蚁LBS基础设施定义的城市码列表
/// </summary>
[XmlArray("city_codes")]
[XmlArrayItem("string")]
public List<string> CityCodes { get; set; }
/// <summary>
/// ISO-3166标准三位数据国家码列表
/// </summary>
[XmlArray("country_codes")]
[XmlArrayItem("string")]
public List<string> CountryCodes { get; set; }
/// <summary>
/// 纬度double类型有效区间[-90, 90]
/// </summary>
[XmlElement("latitude")]
public string Latitude { get; set; }
/// <summary>
/// 地理位置反查级别枚举支持国家COUNTRY、城市CITY、商圈BIZ_AREA表示从指定级别开始向上级反查直到定位成功。默认商圈BIZ_AREA
/// </summary>
[XmlElement("lbs_reverse_level")]
public string LbsReverseLevel { get; set; }
/// <summary>
/// 经度double类型有效区间[-180, 180]
/// </summary>
[XmlElement("longitude")]
public string Longitude { get; set; }
/// <summary>
/// 分页数从1开始默认为1
/// </summary>
[XmlElement("page_no")]
public long PageNo { get; set; }
/// <summary>
/// 分页大小最小为1默认为3
/// </summary>
[XmlElement("page_size")]
public long PageSize { get; set; }
/// <summary>
/// 搜索半径,与经纬度配合使用,单独传递无效。单位:米,默认不指定
/// </summary>
[XmlElement("radius")]
public long Radius { get; set; }
/// <summary>
/// 优惠推荐的场景码通过此字段识别不同的业务场景不同场景依赖的参数不同且有不同的推荐策略。可选值COMMON_RECOMMEND默认场景常规推荐支持区域码等大多数参数SHOP_PROMO_LIST店铺优惠列表仅且必须接受shop_id参数
/// </summary>
[XmlElement("scene_code")]
public string SceneCode { get; set; }
/// <summary>
/// 店铺id当scene_code=SHOP_PROMO_LIST时此字段必填
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 置顶券id列表该列表中的券将被置顶返回顺序与入参顺序一致如果券状态非法则默认丢弃
/// </summary>
[XmlArray("top_promotion_ids")]
[XmlArrayItem("string")]
public List<string> TopPromotionIds { get; set; }
/// <summary>
/// 请求唯一id只能是大小写字母及数字。不带业务含义可以由uuid等随机生成用于唯一标识一笔业务方便与外部排查问题
/// </summary>
[XmlElement("unique_id")]
public string UniqueId { get; set; }
/// <summary>
/// 用户id与user_id_type配合使用暂时仅支持集团havanaId和支付宝2088开头的16位数字ID
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
/// <summary>
/// 用户id类型枚举与user_id配合使用。取值说明HAVANA为集团havanaIdALIPAY为支付宝2088开头16位用户id
/// </summary>
[XmlElement("user_id_type")]
public string UserIdType { get; set; }
}
}