コード例 #1
0
        //-------------------save customer tax class--------------------

        public static void SaveAndUpdateTaxCustmerClass(int taxCustomerClassID, string taxCustomerClassName, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxTaxMgntProvider.SaveAndUpdateTaxCustmerClass(taxCustomerClassID, taxCustomerClassName, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #2
0
        //-----------------Delete tax item classes --------------------------------

        public static void DeleteTaxItemClass(string taxItemClassIDs, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxTaxMgntProvider.DeleteTaxItemClass(taxItemClassIDs, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #3
0
        //-------------------save and update tax rules--------------------------------------

        public static void SaveAndUpdateTaxRule(TaxRuleDataInfo taxRuleDataObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxTaxMgntProvider.SaveAndUpdateTaxRule(taxRuleDataObj, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #4
0
        //--------------customer tax classes------------------

        public static List <TaxCustomerClassInfo> GetTaxCustomerClassDetails(int offset, int limit, string className, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <TaxCustomerClassInfo> lstTaxCtClass = AspxTaxMgntProvider.GetTaxCustomerClassDetails(offset, limit, className, aspxCommonObj);
                return(lstTaxCtClass);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #5
0
 public static bool CheckTaxClassUniqueness(AspxCommonInfo aspxCommonObj, string taxItemClassName)
 {
     try
     {
         bool isUnique = AspxTaxMgntProvider.CheckTaxClassUniqueness(aspxCommonObj, taxItemClassName);
         return(isUnique);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #6
0
 public static List <StoreTaxesInfo> GetStoreSalesTaxes(int offset, int limit, TaxDateData taxDataObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <StoreTaxesInfo> lstStoreTax = AspxTaxMgntProvider.GetStoreSalesTaxes(offset, limit, taxDataObj, aspxCommonObj);
         return(lstStoreTax);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #7
0
 public static bool CheckTaxUniqueness(AspxCommonInfo aspxCommonObj, int value, int taxRuleID)
 {
     try
     {
         bool isUnique = AspxTaxMgntProvider.CheckTaxUniqueness(aspxCommonObj, value, taxRuleID);
         return(isUnique);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #8
0
        //------------------------bind tax rate list-------------------------------

        public static List <TaxRateInfo> GetTaxRate(AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <TaxRateInfo> lstTaxRate = AspxTaxMgntProvider.GetTaxRate(aspxCommonObj);
                return(lstTaxRate);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #9
0
        //------------------------bind tax item class name list-------------------------------

        public static List <TaxItemClassInfo> GetItemTaxClass(AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <TaxItemClassInfo> lstTaxItClass = AspxTaxMgntProvider.GetItemTaxClass(aspxCommonObj);
                return(lstTaxItClass);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #10
0
        //------------------------bind tax customer class name list-------------------------------

        public static List <TaxCustomerClassInfo> GetCustomerTaxClass(int storeID, int portalID)
        {
            try
            {
                List <TaxCustomerClassInfo> lstTaxCtClass = AspxTaxMgntProvider.GetCustomerTaxClass(storeID, portalID);
                return(lstTaxCtClass);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #11
0
        //--------------------------get customer class----------------

        public static List <TaxManageRulesInfo> GetTaxRules(int offset, int limit, TaxRuleDataInfo taxRuleDataObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <TaxManageRulesInfo> lstTaxManage = AspxTaxMgntProvider.GetTaxRules(offset, limit, taxRuleDataObj, aspxCommonObj);
                return(lstTaxManage);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
コード例 #12
0
        //--------------tax rates------------------

        public static List <TaxRateInfo> GetTaxRateDetails(int offset, System.Nullable <int> limit, TaxRateDataTnfo taxRateDataObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <TaxRateInfo> lstTaxRate = AspxTaxMgntProvider.GetTaxRateDetails(offset, limit, taxRateDataObj, aspxCommonObj);
                return(lstTaxRate);
            }
            catch (Exception e)
            {
                throw e;
            }
        }