NewGaoKaoApi/PaymentSDK/AliPay/Domain/ConditionItemPattern.cs

43 lines
2.2 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;
namespace Aop.Api.Domain
{
/// <summary>
/// ConditionItemPattern Data Structure.
/// </summary>
[Serializable]
public class ConditionItemPattern : AopObject
{
/// <summary>
/// 智慧餐厅用户规则操作符EQ表示相等GT表示大于GTEQ表示大于等于LT表示小于LTEQ表示小于等于
/// </summary>
[XmlElement("logical_operator")]
public string LogicalOperator { get; set; }
/// <summary>
/// 操作对应的值; 值>0
/// </summary>
[XmlElement("operation_value")]
public string OperationValue { get; set; }
/// <summary>
/// 人群规则项:目前共支持九种标记规则,分别是:用户在商家下的交易金额(306090180365)TRADE_AMT(单位YUAN) 、用户在商家下的交易笔数(306090180365)TRADE_CNT(单位COUNT), 用户在商家下的笔单价(306090180365)PCT_AMT(单位YUAN), 用户在商家下的领券量(306090180365)APPLY_VOUCHER_CNT((单位TICKET), 用户在商家下的核券量(306090180365) VERIFY_VOUCHER_CNT(单位TICKET) 、用户在商家下的最后一次消费距离当前天数 LAST_PAY_DATE(单位DAY)、用户在商家下最后一次交易金额 LAST_PAY_AMT(单位YUAN)、用户家庭位置距离该PID下最近门店的距离HOME_SHOP_DIS((单位KM)、用户工作位置距离该PID下最近门店的距离WORK_SHOP_DIS(单位KM)
/// </summary>
[XmlElement("operator_rule")]
public string OperatorRule { get; set; }
/// <summary>
/// 描述周期字段306090180365周期字段创建规则消费金额消费笔数笔单价领券数核销券数时必填
/// </summary>
[XmlElement("period")]
public string Period { get; set; }
/// <summary>
/// 单位描述DAY("DAY", "天"), KM("KM", "千米"), COUNT("COUNT","笔数") TICKET("TICKET","券") YUAN("YUAN","元")
/// </summary>
[XmlElement("rule_unit")]
public string RuleUnit { get; set; }
}
}