Пример #1
0
        public static Page ToShopifyModel(this StorefrontModel.StaticContent.ContentItem contentItem)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidPage(contentItem));
        }
        public static ShippingMethod ToShopifyModel(this Storefront.Model.ShippingMethod shippingMethod)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidShippingMethod(shippingMethod));
        }
        public static TaxLine ToShopifyModel(this Storefront.Model.TaxDetail taxDetail)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidTaxLine(taxDetail));
        }
Пример #4
0
        public static Shop ToShopifyModel(this Store store, storefrontModel.WorkContext workContext)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidShop(store, workContext));
        }
Пример #5
0
        public static Variant ToVariant(this storefrontModel.Product product)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidVariant(product));
        }
Пример #6
0
        public static Tag ToShopifyModel(this AggregationItem item, Aggregation aggregation)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidTag(item, aggregation));
        }
Пример #7
0
        public static Address ToShopifyModel(this StorefrontModel.Address address)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidAddress(address));
        }
Пример #8
0
        public static Notification ToShopifyModel(this StorefrontNotification notification)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidNotification(notification));
        }
Пример #9
0
        public static Blog ToShopifyModel(this StorefrontModel.Blog blog, Storefront.Model.Language language)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidBlog(blog, language));
        }
Пример #10
0
        public static TierPrice ToShopifyModel(this Storefront.Model.TierPrice tierPrice)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidTierPrice(tierPrice));
        }
Пример #11
0
        public static LineItem ToShopifyModel(this StorefrontModel.Cart.LineItem lineItem, StorefrontModel.Language language, IStorefrontUrlBuilder urlBuilder)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidLineItem(lineItem, language, urlBuilder));
        }
        public static Language ToShopifyModel(this StorefrontModel.Language language)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidLanguage(language));
        }
Пример #13
0
        public static Cart ToShopifyModel(this StorefrontModel.Cart.ShoppingCart cart, StorefrontModel.Language language, IStorefrontUrlBuilder urlBuilder)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidCart(cart, language, urlBuilder));
        }
        public static Link ToShopfiyModel(this StorefrontModel.MenuLink link, Storefront.Model.WorkContext workContext, IStorefrontUrlBuilder urlBuilder)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidLink(link, workContext, urlBuilder));
        }
Пример #15
0
        public static Vendor ToShopifyModel(this StorefrontModel.Vendor vendor)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidVendor(vendor));
        }
Пример #16
0
        public static Transaction ToShopifyModel(this StorefrontModel.PaymentIn payment)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidTransaction(payment));
        }
        public static Discount ToShopifyModel(this Storefront.Model.Marketing.Discount discount)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidDiscount(discount));
        }
Пример #18
0
        public static Product ToShopifyModel(this storefrontModel.ProductAssociation productAssociation)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidProduct(productAssociation));
        }
Пример #19
0
        public static Tag ToShopifyModel(this Term term)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidTag(term));
        }
Пример #20
0
        public static QuoteItem ToShopifyModel(this Storefront.Model.Quote.QuoteItem quoteItem)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidQuoteItem(quoteItem));
        }
Пример #21
0
        public static Customer ToShopifyModel(this User user, StorefrontModel.WorkContext workContext, IStorefrontUrlBuilder urlBuilder)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidCustomer(user, workContext, urlBuilder));
        }
Пример #22
0
        public static QuoteRequestTotals ToShopifyModel(this Storefront.Model.Quote.QuoteRequestTotals totals)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidRequestTotal(totals));
        }
        public static Attachment ToShopifyModel(this VirtoCommerce.Storefront.Model.Attachment attachment)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidAttachment(attachment));
        }
Пример #24
0
        public static QuoteRequest ToShopifyModel(this Storefront.Model.Quote.QuoteRequest quoteRequest)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidQuoteRequest(quoteRequest));
        }
Пример #25
0
        public static ShopifyThemeWorkContext ToShopifyModel(this storefrontModel.WorkContext workContext, IStorefrontUrlBuilder urlBuilder)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidContext(workContext, urlBuilder));
        }
Пример #26
0
        public static Image ToShopifyModel(this storefrontModel.Image image)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidImage(image));
        }
        public static ShippingMethod ToShopifyModel(this Shipment shipment)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidShippingMethod(shipment));
        }
Пример #28
0
        public static Article ToShopifyModel(this StorefrontModel.BlogArticle article)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidArticle(article));
        }
        public static BlogSearch ToShopifyModel(this StorefrontModel.BlogSearchCriteria blogSearchCriteria)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidBlogSearch(blogSearchCriteria));
        }
        public static Collection ToShopifyModel(this storefrontModel.Category category, WorkContext workContext)
        {
            var converter = new ShopifyModelConverter();

            return(converter.ToLiquidCollection(category, workContext));
        }