public CheckoutDto GetCheckoutInfoFromCookie() { var cookieHandler = new CheckoutCookie(_cookiesIn); var service = new CheckoutCookieService(cookieHandler.GetValue()); return(GetCheckoutInfoFromCookie(service)); }
public ImmutableList <CheckoutItemDto> GetCheckoutList() { var cookieHandler = new CheckoutCookie(_cookiesIn); var service = new CheckoutCookieService(cookieHandler.GetValue()); return(GetCheckoutList(service.LineItems)); }
public CheckoutCookieService(IRequestCookieCollection cookiesIn) { var cookieHandler = new CheckoutCookie(cookiesIn); DecodeCookieString(cookieHandler.GetValue()); }