using System; using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Domain { /// /// Coupon Data Structure. /// [Serializable] public class Coupon : AopObject { /// /// 当前可用面额 /// [JsonProperty("available_amount")] public string AvailableAmount { get; set; } /// /// 红包编号 /// [JsonProperty("coupon_no")] public string CouponNo { get; set; } /// /// 可优惠面额 /// [JsonProperty("deduct_amount")] public string DeductAmount { get; set; } /// /// 有效期开始时间 /// [JsonProperty("gmt_active")] public string GmtActive { get; set; } /// /// 创建时间 /// [JsonProperty("gmt_create")] public string GmtCreate { get; set; } /// /// 有效期结束时间 /// [JsonProperty("gmt_expired")] public string GmtExpired { get; set; } /// /// 红包使用说明 /// [JsonProperty("instructions")] public string Instructions { get; set; } /// /// 红包详情说明 /// [JsonProperty("memo")] public string Memo { get; set; } /// /// 商户id /// [JsonProperty("merchant_uniq_id")] public string MerchantUniqId { get; set; } /// /// 是否可叠加 /// [JsonProperty("multi_use_flag")] public string MultiUseFlag { get; set; } /// /// 红包名称 /// [JsonProperty("name")] public string Name { get; set; } /// /// 是否可退款标识 /// [JsonProperty("refund_flag")] public string RefundFlag { get; set; } /// /// 红包状态信息 /// [JsonProperty("status")] public string Status { get; set; } /// /// 红包模板编号 /// [JsonProperty("template_no")] public string TemplateNo { get; set; } /// /// 用户openid /// [JsonProperty("user_id")] public string UserId { get; set; } } }