public GSTNPublicApiClient(IGSTNAuthProvider provider) : base("", provider.credential().code, provider.credential().Env, "PUBLIC") { this.provider = provider; }
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 EWBApiClientBase(IGSTNAuthProvider AuthProvider, string gstin) : base(gstin, AuthProvider.credential().code, AuthProvider.credential().Env, "EWB") { this.provider = AuthProvider; dicHeaders = new Dictionary <string, string>(); this.SetPathTemplate(provider.PathTemplate(), "", "EWB"); }
public GSTNDSClient(IGSTNAuthProvider provider, string gstin) : base(gstin, provider.credential().code, provider.credential().Env, "TaxPayer") { this.provider = provider; this.SetPathTemplate(provider.PathTemplate(), "/registerdsc", "DSC"); }