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

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

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

            DecodeCookieString(cookieHandler.GetValue());
        }