public NotifyClient(string appId, string appSecret, string partnerId, string partnerKey, string paySignKey) { this._payAccount = new PayAccount { AppId = appId, AppSecret = appSecret, PartnerId = partnerId, PartnerKey = partnerKey, PaySignKey = paySignKey }; }
public NotifyClient(PayAccount account) : this(account.AppId, account.AppSecret, account.PartnerId, account.PartnerKey, account.PaySignKey) { }