Exemple #1
0
 public System.Threading.Tasks.Task <CPUserControls.CASalesTax.GetTaxRateResponse> GetTaxRateAsync(string address, string city, string zip, string taxrate, string county, string jurisdiction)
 {
     CPUserControls.CASalesTax.GetTaxRateRequest inValue = new CPUserControls.CASalesTax.GetTaxRateRequest();
     inValue.Body              = new CPUserControls.CASalesTax.GetTaxRateRequestBody();
     inValue.Body.address      = address;
     inValue.Body.city         = city;
     inValue.Body.zip          = zip;
     inValue.Body.taxrate      = taxrate;
     inValue.Body.county       = county;
     inValue.Body.jurisdiction = jurisdiction;
     return(((CPUserControls.CASalesTax.CATaxRateAPISoap)(this)).GetTaxRateAsync(inValue));
 }
Exemple #2
0
 public int GetTaxRate(string address, string city, string zip, ref string taxrate, ref string county, ref string jurisdiction)
 {
     CPUserControls.CASalesTax.GetTaxRateRequest inValue = new CPUserControls.CASalesTax.GetTaxRateRequest();
     inValue.Body              = new CPUserControls.CASalesTax.GetTaxRateRequestBody();
     inValue.Body.address      = address;
     inValue.Body.city         = city;
     inValue.Body.zip          = zip;
     inValue.Body.taxrate      = taxrate;
     inValue.Body.county       = county;
     inValue.Body.jurisdiction = jurisdiction;
     CPUserControls.CASalesTax.GetTaxRateResponse retVal = ((CPUserControls.CASalesTax.CATaxRateAPISoap)(this)).GetTaxRate(inValue);
     taxrate      = retVal.Body.taxrate;
     county       = retVal.Body.county;
     jurisdiction = retVal.Body.jurisdiction;
     return(retVal.Body.GetTaxRateResult);
 }
Exemple #3
0
 System.Threading.Tasks.Task <CPUserControls.CASalesTax.GetTaxRateResponse> CPUserControls.CASalesTax.CATaxRateAPISoap.GetTaxRateAsync(CPUserControls.CASalesTax.GetTaxRateRequest request)
 {
     return(base.Channel.GetTaxRateAsync(request));
 }
Exemple #4
0
 CPUserControls.CASalesTax.GetTaxRateResponse CPUserControls.CASalesTax.CATaxRateAPISoap.GetTaxRate(CPUserControls.CASalesTax.GetTaxRateRequest request)
 {
     return(base.Channel.GetTaxRate(request));
 }