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; } }
top of page

Stacks Sweatpants: Baby Blue & Yellow

Original price

$60.00

Sale price

$30.00

Comfy Cotton Flare Sweatpants with front zipper pockets. "Oakland Don't Play" on left thigh. Drawstring waistband. Some strech. 

 

Model is wearing 2x size up for a loose fit.

 

Size

Waist

Inseam

Thigh

Xs

14

32

18

S

15

33

20

M

17

37

22

L

18

37.5

24

Xl

20

38.5

26

2x

22

39

29

3x

23

40.5

32

4x

25

42.4

36

NOTE: Measurements +\- an inch as they have been cut and sewn

Size

Quantity

No Reviews YetShare your thoughts. Be the first to leave a review.

RELATED PRODUCTS

bottom of page