using System;
using System.Collections.Generic;

namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
    /// <summary>
    /// <para>表示 EVENT.card_not_pass_check 事件的数据。</para>
    /// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#1 </para>
    /// </summary>
    public class CardNotPassCheckEvent : CardPassCheckEvent, WechatApiEvent.Types.IXmlSerializable
    {
        /// <summary>
        /// 获取或设置审核不通过原因。
        /// </summary>
        [System.Xml.Serialization.XmlElement("RefuseReason")]
        public string RefuseReason { get; set; } = default!;
    }
}
