Ejemplo n.º 1
0
        // method to get category attribute options
        public static CategoryAttributeOption[] Options(string apiUrl, string sessionId, object[] args)
        {
            ICategoryAttributes proxy = (ICategoryAttributes)XmlRpcProxyGen.Create(typeof(ICategoryAttributes));

            proxy.Url = apiUrl;

            return(proxy.Options(sessionId, _catalog_category_attribute_options, args));
        }
Ejemplo n.º 2
0
        // method to get category attributes
        public static string CurrentStore(string apiUrl, string sessionId)
        {
            ICategoryAttributes proxy = (ICategoryAttributes)XmlRpcProxyGen.Create(typeof(ICategoryAttributes));

            proxy.Url = apiUrl;

            return(proxy.CurrentStore(sessionId, _catalog_category_attribute_currentStore));
        }
Ejemplo n.º 3
0
        // method to list category attributes
        public static CategoryAttribute[] List(string apiUrl, string sessionId)
        {
            ICategoryAttributes proxy = (ICategoryAttributes)XmlRpcProxyGen.Create(typeof(ICategoryAttributes));

            proxy.Url = apiUrl;

            return(proxy.List(sessionId, _catalog_category_attribute_list));
        }