예제 #1
0
 public GSTNPublicApiClient(IGSTNAuthProvider provider) : base("", provider.credential().code, provider.credential().Env, "PUBLIC")
 {
     this.provider = provider;
 }
예제 #2
0
 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);
 }
예제 #3
0
 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");
 }
예제 #4
0
 public GSTNDSClient(IGSTNAuthProvider provider, string gstin) : base(gstin, provider.credential().code, provider.credential().Env, "TaxPayer")
 {
     this.provider = provider;
     this.SetPathTemplate(provider.PathTemplate(), "/registerdsc", "DSC");
 }