namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.cloud_invoice_invoiceresult_event 事件的数据。
/// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html#19
///
public class CloudInvoiceResultEvent : WechatApiEvent
{
///
/// 获取或设置开票状态码。
///
[Newtonsoft.Json.JsonProperty("status")]
[System.Text.Json.Serialization.JsonPropertyName("status")]
[System.Xml.Serialization.XmlElement("status")]
public int StatusCode { get; set; }
///
/// 获取或设置发票请求流水号。
///
[Newtonsoft.Json.JsonProperty("fpqqlsh")]
[System.Text.Json.Serialization.JsonPropertyName("fpqqlsh")]
[System.Xml.Serialization.XmlElement("fpqqlsh")]
public string InvoiceSerialNumber { get; set; } = default!;
///
/// 获取或设置纳税人识别码。
///
[Newtonsoft.Json.JsonProperty("nsrsbh")]
[System.Text.Json.Serialization.JsonPropertyName("nsrsbh")]
[System.Xml.Serialization.XmlElement("nsrsbh")]
public string SellerTaxNumber { get; set; } = default!;
}
}