接口文件
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Alipay.AopSdk.Core.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// DstCampRuleModel Data Structure.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class DstCampRuleModel : AopObject
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付宝收银台:PC端:PC 安全支付端:WIRELESS_CLIENT 无线WAP端:WIRELESS_WAP 协议支付;AGREEMENTPAY
|
||||
/// </summary>
|
||||
[JsonProperty("alipay_cashier")]
|
||||
public string AlipayCashier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠规则类型,主要有2种:账户优惠传 account、渠道优惠channel. 现在开放账户优惠account 默认请传account
|
||||
/// </summary>
|
||||
[JsonProperty("discount_type")]
|
||||
public string DiscountType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规则id 新增不传,修改传
|
||||
/// </summary>
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同一个支付宝账户享受优惠次数.0表示不限制
|
||||
/// </summary>
|
||||
[JsonProperty("prize_count_per_account")]
|
||||
public string PrizeCountPerAccount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品类型 支付宝交易:trade 支付宝账单中心:commonDeduct 支付宝转账中心:ttc 支付宝通用代扣:billcenter
|
||||
/// </summary>
|
||||
[JsonProperty("product_type")]
|
||||
public string ProductType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 立减规则,这个参数有支付宝运营小二提供给商户,录入
|
||||
/// </summary>
|
||||
[JsonProperty("rule_uuid")]
|
||||
public string RuleUuid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联的凭证id,这个参数商户调凭证创建接口返回凭证id 然后设置到这个值
|
||||
/// </summary>
|
||||
[JsonProperty("voucher_id")]
|
||||
public string VoucherId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user