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: Burgundy & Pink

Original price

$60.00

Sale price

$30.00

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

 

Model is wearing XL pants for length. Size up for loose fit. For tight legging fit order exact size

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

Loading…

RELATED PRODUCTS

bottom of page