Beispiel #1
0
        WxPayClient GetWxPayClient()
        {
            WxPaymentConfig config = GetWxPaymentConfig();

            PaymentConfig.Init(config);
            WxPayClient wxPayClient = new WxPayClient();

            return(wxPayClient);
        }
Beispiel #2
0
 public static void Init(PaymentConfig config)
 {
     _instance = config;
 }
Beispiel #3
0
 public TestWxPayClient(PaymentConfig config)
 {
     PaymentConfig.Init(config);
 }