Exemplo n.º 1
0
        //---------------- save item dependencies-------------------------------

        public static void AddItemDependencies(int shippingItemID, int shippingMethodID, string itemDependenciesOptions, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxShipMethodMgntProvider.AddItemDependencies(shippingItemID, shippingMethodID, itemDependenciesOptions, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 2
0
        //-----------------delete multiple shipping methods----------------------

        public static void DeleteShippings(string shippingMethodIds, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxShipMethodMgntProvider.DeleteShippings(shippingMethodIds, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 3
0
        //---------------- save weight dependencies-------------------------------

        public static void AddWeightDependencies(int shippingProductWeightID, int shippingMethodID, string weightDependenciesOptions, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxShipMethodMgntProvider.AddWeightDependencies(shippingProductWeightID, shippingMethodID, weightDependenciesOptions, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 4
0
        //---------------Delete multiple weight Depandencies --------------------------

        public static void DeleteWeightDependencies(string shippingProductWeightIds, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxShipMethodMgntProvider.DeleteWeightDependencies(shippingProductWeightIds, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 5
0
        //--------------------------SaveAndUpdate shipping methods-------------------

        public static void SaveAndUpdateShippings(int shippingMethodID, string shippingMethodName, string imagePath, string alternateText, int displayOrder, string deliveryTime,
                                                  decimal weightLimitFrom, decimal weightLimitTo, int shippingProviderID, bool isActive, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                AspxShipMethodMgntProvider.SaveAndUpdateShippings(shippingMethodID, shippingMethodName, imagePath, alternateText, displayOrder, deliveryTime, weightLimitFrom, weightLimitTo, shippingProviderID, isActive, aspxCommonObj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 6
0
        //----------------bind shipping service list---------------

        public static List <ShippingProviderListInfo> GetShippingProviderList(AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <ShippingProviderListInfo> lstShipProvider = AspxShipMethodMgntProvider.GetShippingProviderList(aspxCommonObj);
                return(lstShipProvider);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 7
0
 public static List <ShippingMethodInfo> GetShippingMethods(int offset, int limit, ShippingMethodInfoByProvider shippingMethodObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <ShippingMethodInfo> shipping = AspxShipMethodMgntProvider.GetShippingMethods(offset, limit, shippingMethodObj, aspxCommonObj);
         return(shipping);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Exemplo n.º 8
0
        //-----------View Shipments Details--------------------------

        public static List <ShipmentsDetailsViewInfo> BindAllShipmentsDetails(int orderID, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <ShipmentsDetailsViewInfo> lstShipDetView = AspxShipMethodMgntProvider.BindAllShipmentsDetails(orderID, aspxCommonObj);
                return(lstShipDetView);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 9
0
        //--ShipmentsListManagement

        public static List <ShipmentsDetailsInfo> GetShipmentsDetails(int offset, System.Nullable <int> limit, ShipmentsBasicinfo shipmentObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <ShipmentsDetailsInfo> lstShipmentDet = AspxShipMethodMgntProvider.GetShipmentsDetails(offset, limit, shipmentObj, aspxCommonObj);
                return(lstShipmentDet);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 10
0
 //---------------------Shipping Reports--------------------
 public static List <ShippedReportInfo> GetShippedDetails(int offset, System.Nullable <int> limit, AspxCommonInfo aspxCommonObj, ShippedReportBasicInfo ShippedReportObj)
 {
     try
     {
         List <ShippedReportInfo> lstShipReport = AspxShipMethodMgntProvider.GetShippedDetails(offset, limit, aspxCommonObj, ShippedReportObj);
         return(lstShipReport);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Exemplo n.º 11
0
 public static bool CheckUniquenessForDisplayOrder(AspxCommonInfo aspxCommonObj, int value, int shippingMethodID)
 {
     try
     {
         bool isUnique = AspxShipMethodMgntProvider.CheckUniquenessForDisplayOrder(aspxCommonObj, value, shippingMethodID);
         return(isUnique);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Exemplo n.º 12
0
        //-----------Bind Shipping methods In grid-----------------------------

        public static List <ShippingMethodInfo> GetStoreProvidersAvailableMethod(int providerId, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <ShippingMethodInfo> lstShipMethod = AspxShipMethodMgntProvider.GetStoreProvidersAvailableMethod(providerId, aspxCommonObj);
                return(lstShipMethod);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Exemplo n.º 13
0
        //--------------------bind Item dependencies  in Grid--------------------------

        public static List <ShippingItemDependenciesInfo> GetItemDependenciesListInfo(int offset, int limit, AspxCommonInfo aspxCommonObj, int shippingMethodId)
        {
            try
            {
                List <ShippingItemDependenciesInfo> bind = AspxShipMethodMgntProvider.GetItemDependenciesListInfo(offset, limit, aspxCommonObj, shippingMethodId);
                return(bind);
            }
            catch (Exception e)
            {
                throw e;
            }
        }