using System;
using System.Collections.Generic;
using System.Text;

namespace Edu.Common.WeChatPayAPIv3.Model
{
    public class WxPayConst
    {
        /// <summary>
        /// 直连商户申请的公众号或移动应用appid。
        /// </summary>
        public static string appid => "wx38e054ee42b054f4";

        /// <summary>
        /// AppSecret，app端加密解密使用
        /// </summary>
        public static string AppSecret => "WECHATPAY2-SHA256-RSA2048";

        /// <summary>
        /// 密钥，用商户平台上设置的APIv3密钥【微信商户平台—>账户设置—>API安全—>设置APIv3密钥】，记为key；
        /// 官方资料：https://kf.qq.com/faq/180830E36vyQ180830AZFZvu.html
        /// </summary>
        public static string APIV3Key => "8A6453965FB561BC90CC4CB290F26469";

        /// <summary>
        /// 直连商户的商户号，由微信支付生成并下发。
        /// </summary>
        public static string mchid => "1607960268";

        /// <summary>
        /// 证书序列号
        /// 查看证书序列号：https://wechatpay-api.gitbook.io/wechatpay-api-v3/chang-jian-wen-ti/zheng-shu-xiang-guan#ru-he-cha-kan-zheng-shu-xu-lie-hao
        /// </summary>
        public static string serialNo => "36CF5CF9A7B239F228D3FF11D2C149B7F7E42F11";

        /// <summary>
        /// key  私钥
        /// 私钥和证书：https://wechatpay-api.gitbook.io/wechatpay-api-v3/ren-zheng/zheng-shu#sheng-ming-suo-shi-yong-de-zheng-shu
        /// </summary>
        public static string privateKey => @"MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDR7AC3UkAjA/KZ
rIGBGQQiOrBZTe5cyXtsN9/AWpGEwK5j6pgFgIqVmsuP0EoP5UtjekZwHCY4ETt7
7kX3bzV0KCRRlH9eNUbxUfmK+RpZms3QkO4zw7Fzj2c+axtrJNryIeuUdxTidOBH
eLTTDhQ408QC93oz5t74DUYT2vicqYiPRxG2a5qMd09ZaMyp1ekvYm1qTjIITzhl
KwahP5FLyJIzAr86fjtwLjrLXZck7AA1jePuQjaoMW8QslxlBqoFxcQ2NwIExelO
c06UAIGT+yT5D0j4LDjnmIqZMeJhgNYUC7QVHFQQiHZWTd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