using Hncore.Pass.PaymentCenter.WxPay.WechatJsPay;
using Newtonsoft.Json;
using System.Xml.Serialization;

namespace Hncore.Pass.PaymentCenter.Pay.WxPay
{
    public class WxScanPayCreateOrderResponse : WxJsPayDataBase
    {
        [XmlElement("appId")]
        public string appId { get; set; }
        [XmlElement("timeStamp")]
        public string timeStamp { get; set; }
        public string nonceStr { get; set; }
        public string prepay_id { get; set; }      
        public string signType { get; set; }
        public string paySign { get; set; }
        [JsonIgnore]
        public string package => $"prepay_id={this.prepay_id}";
    }
}
