public GSTNReturnsClient(IGSTNAuthProvider AuthProvider, string pathsuffix, string gstin, string userid, string ret_period, string apicategory) : base(gstin, AuthProvider.credential().code, AuthProvider.credential().Env, "TaxPayer") { this.username = userid.Trim(); this.ret_period = ret_period; provider = AuthProvider; this.SetPathTemplate(provider.PathTemplate(), pathsuffix, apicategory); }
public GSTNDSClient(IGSTNAuthProvider provider, string gstin) : base(gstin, provider.credential().code, provider.credential().Env, "TaxPayer") { this.provider = provider; this.SetPathTemplate(provider.PathTemplate(), "/registerdsc", "DSC"); }