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));
        }
        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));
        }
        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));
        }
        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));
        }
        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));
        }