/// <summary>
 /// 含参构造函数
 /// </summary>
 /// <param name="coupon_available_time">券可核销时间 <para>日期区间内可以使用优惠。</para></param>
 /// <param name="fixed_normal_coupon">固定面额满减券使用规则 <para>stock_type为NORMAL时必填。</para></param>
 /// <param name="discount_coupon">折扣券使用规则 <para>stock_type为DISCOUNT时必填。</para>TODO:多选一</param>
 /// <param name="exchange_coupon">换购券使用规则 <para>stock_type为EXCHANGE时必填。</para>TODO:多选一</param>
 /// <param name="use_method">核销方式  <para>枚举值:OFF_LINE:线下滴码核销,点击券“立即使用”跳转展示券二维码详情。MINI_PROGRAMS:线上小程序核销,点击券“立即使用”跳转至配置的商家小程序(需要添加小程序appid和path)。PAYMENT_CODE:微信支付付款码核销,点击券“立即使用”跳转至微信支付钱包付款码。SELF_CONSUME:用户自助核销,点击券“立即使用”跳转至用户自助操作核销界面(当前暂不支持用户自助核销)。</para><para>示例值:OFF_LINE</para></param>
 /// <param name="mini_programs_appid">小程序appid  <para>核销方式为线上小程序核销才有效。</para><para>示例值:wx23232232323</para></param>
 /// <param name="mini_programs_path">小程序path  <para>核销方式为线上小程序核销才有效。</para><para>示例值:/path/index/index</para></param>
 public Coupon_Use_Rule(Coupon_Available_Time coupon_available_time, Fixed_Normal_Coupon fixed_normal_coupon, Discount_Coupon discount_coupon, Exchange_Coupon exchange_coupon, string use_method, string mini_programs_appid, string mini_programs_path)
 {
     this.coupon_available_time = coupon_available_time;
     this.fixed_normal_coupon   = fixed_normal_coupon;
     this.discount_coupon       = discount_coupon;
     this.exchange_coupon       = exchange_coupon;
     this.use_method            = use_method;
     this.mini_programs_appid   = mini_programs_appid;
     this.mini_programs_path    = mini_programs_path;
 }
 /// <summary>
 /// 含参构造函数
 /// </summary>
 /// <param name="fixed_normal_coupon">固定面额满减券使用规则,可为null</param>
 /// <param name="goods_tag">订单优惠标记,可为null</param>
 /// <param name="limit_pay">指定付款方式,可为null</param>
 /// <param name="limit_card">指定银行卡BIN,可为null</param>
 /// <param name="trade_type">支付方式,可为null</param>
 /// <param name="combine_use">是否可叠加其他优惠,可为null</param>
 /// <param name="available_items">可核销商品编码,可为null</param>
 /// <param name="available_merchants">可用商户号</param>
 public Coupon_Use_Rule(Fixed_Normal_Coupon fixed_normal_coupon, string[] goods_tag, string[] limit_pay, Limit_Card limit_card, string[] trade_type, bool combine_use, string[] available_items, string[] available_merchants)
 {
     this.fixed_normal_coupon = fixed_normal_coupon;
     this.goods_tag           = goods_tag;
     this.limit_pay           = limit_pay;
     this.limit_card          = limit_card;
     this.trade_type          = trade_type;
     this.combine_use         = combine_use;
     this.available_items     = available_items;
     this.available_merchants = available_merchants;
 }