private static void TestLedger(string gstin, string fr_dt, string to_dt) { GSTNAuthClient client = GetAuth(gstin); LedgerApiClient client2 = new LedgerApiClient(client, gstin); var info = client2.GetCashDtl(gstin, fr_dt, to_dt).Data; }
private static void TestLedger(string gstin, string gsp, string userid, string fp, string fr_dt, string to_dt) { IGSTNAuthProvider client = GetAuth(gstin, gsp, userid); LedgerApiClient client2 = new LedgerApiClient(client, gstin, userid, fp); var info = client2.GetCashDtl(fr_dt, to_dt).Data; }