Skip Navigation Website Accessibility
 

Polish Souvenir

Product Options: Project Kit + Beads - WITH PATTERN BOOK

Price:  $ 88.00 
Quantity:
0 in Cart

Product Options: Pattern Book - Spiral Bound

Price:  $ 18.50 
Quantity:
0 in Cart

Product Options: Thread Kit - 8 Balls (8 12 18 19 76 100 108 210)

Price:  $ 54.00 
Quantity:
0 in Cart
A collection of eighteen 3.5" Polish pottery inspired ornaments. 

PATTERN: 
Spiral bound project book with patterns for all 18 ornaments. 

PROJECT KIT - WITH PATTERN BOOK:
 Includes spiral bound pattern book, artisan dyed woolens, natural background wool, beads and backing fabric to complete all 18 ornaments. Bead jars sold separately.

THREAD KIT: Includes 8 balls of #12 Valdani perle cotton (8, 12, 18, 19, 76, 100, 108, 210)


import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.*; @RestController public class CheckoutController { @GetMapping("/checkout") public Map checkout( @RequestParam String products, @RequestParam(required = false) String coupon) { // Parse products Map productQuantities = new HashMap<>(); for (String productEntry : products.split(",")) { String[] parts = productEntry.split(":"); productQuantities.put( parts[0], // Product ID Integer.parseInt(parts[1]) // Quantity ); } // Build result Map result = new HashMap<>(); result.put("products", productQuantities); result.put("coupon", coupon != null ? coupon : "No coupon applied"); return result; } }