Esempio n. 1
0
        private object GetSampleTopChangeJointData(HttpRequest request, HotcakesApplication hccApp)
        {
            var info = new TopChangeInfo
            {
                TotalCount = 50,
                Items      = new List <TopChangeItemInfo>
                {
                    CreateTopChangeItem("White Shoes", 4.61m, -3.4m, 0.99m, 2.2m),
                    CreateTopChangeItem("Purple Top", -2.99m, -9m, 12m, 0.01m),
                    CreateTopChangeItem("Soccer Ball", -0.8m, 0, 1.04m, 0.24m),
                    CreateTopChangeItem("Office Chair", 0.07m, -0.06m, -0.08m, -0.07m),
                    CreateTopChangeItem("Baseball Bat", -0.05m, 0.02m, 0.03m, 0)
                }
            };

            return(new TopChangeInfoJson(info, Localization, 5));
        }
Esempio n. 2
0
        private object GetSampleTopChangeByAbandomentsData(HttpRequest request, HotcakesApplication hccApp)
        {
            var info = new TopChangeInfo
            {
                TotalCount = 50,
                Items      = new List <TopChangeItemInfo>
                {
                    CreateTopChangeItem("Purple Top", 12m),
                    CreateTopChangeItem("Brown Fedora", -9.1m),
                    CreateTopChangeItem("White Shoes", 0.99m),
                    CreateTopChangeItem("Cup Cake", -0.62m),
                    CreateTopChangeItem("Baseball Bat", 0.03m)
                }
            };

            return(new TopChangeInfoJson(info, Localization, 5));
        }
Esempio n. 3
0
        private object GetSampleTopChangeByPurchasesData(HttpRequest request, HotcakesApplication hccApp)
        {
            var info = new TopChangeInfo
            {
                TotalCount = 50,
                Items      = new List <TopChangeItemInfo>
                {
                    CreateTopChangeItem("White Shoes", 2.2m),
                    CreateTopChangeItem("Butterfly Earings", -.9m),
                    CreateTopChangeItem("Soccer Ball", 0.24m),
                    CreateTopChangeItem("Office Chair", -0.07m),
                    CreateTopChangeItem("Purple Top", 0.01m)
                }
            };

            return(new TopChangeInfoJson(info, Localization, 5));
        }
Esempio n. 4
0
        private object GetSampleTopChangeByBouncesData(HttpRequest request, HotcakesApplication hccApp)
        {
            var info = new TopChangeInfo
            {
                TotalCount = 50,
                Items      = new List <TopChangeItemInfo>
                {
                    CreateTopChangeItem("Blue Bracelet", 4.11m),
                    CreateTopChangeItem("Brown Fedora", -0.85m),
                    CreateTopChangeItem("Butterfly Earings", 0.16m),
                    CreateTopChangeItem("Cup Cake", -0.08m),
                    CreateTopChangeItem("Laptop Computer", 0)
                }
            };

            return(new TopChangeInfoJson(info, Localization, 5));
        }