static int WechatPay(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 6);
         LuaFramework.SDKManager obj = (LuaFramework.SDKManager)ToLua.CheckObject <LuaFramework.SDKManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         string arg1 = ToLua.CheckString(L, 3);
         string arg2 = ToLua.CheckString(L, 4);
         string arg3 = ToLua.CheckString(L, 5);
         string arg4 = ToLua.CheckString(L, 6);
         obj.WechatPay(arg0, arg1, arg2, arg3, arg4);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }