示例#1
0
        public CheckoutDto GetCheckoutInfoFromCookie()
        {
            var cookieHandler = new CheckoutCookie(_cookiesIn);
            var service       = new CheckoutCookieService(cookieHandler.GetValue());

            return(GetCheckoutInfoFromCookie(service));
        }
示例#2
0
        public ImmutableList <CheckoutItemDto> GetCheckoutList()
        {
            var cookieHandler = new CheckoutCookie(_cookiesIn);
            var service       = new CheckoutCookieService(cookieHandler.GetValue());

            return(GetCheckoutList(service.LineItems));
        }
示例#3
0
        public CheckoutCookieService(IRequestCookieCollection cookiesIn)
        {
            var cookieHandler = new CheckoutCookie(cookiesIn);

            DecodeCookieString(cookieHandler.GetValue());
        }