Beispiel #1
0
        public Category Convert(ShopifyCustomCollection category, ShopifyImportParams importParams)
        {
            var result = new Category
            {
                Code      = category.Handle,
                Name      = category.Title,
                CatalogId = importParams.VirtoCatalogId
            };

            return(result);
        }
Beispiel #2
0
        public static ShopifyCustomCollection CreateValidObject()
        {
            var output = new ShopifyCustomCollection()
            {
                Title     = "Things",
                Published = false,
                Image     = new ShopifyCustomCollectionImage()
                {
                    Src = "http://placehold.it/250x250"
                }
            };

            return(output);
        }
Beispiel #3
0
        public static ShopifyCustomCollection CreateValidObject()
        {
            var output = new ShopifyCustomCollection()
            {
                Title = "Things",
                Published = false,
                Image = new ShopifyCustomCollectionImage()
                {
                    Src = "http://placehold.it/250x250"
                }
            };

            return output;
        }