diff --git a/basket/dto/basket.go b/basket/dto/basket.go index 2f7575e..eab4dfe 100644 --- a/basket/dto/basket.go +++ b/basket/dto/basket.go @@ -26,6 +26,16 @@ type GetBasketItemsResponseDTO struct { UpdatedAt time.Duration `json:"updated_at,omitempty"` } +type AddProductToBasketRequestDTO struct { + BasketID string `json:"basket_id"` + ProductID string `json:"product_id"` + Quantity int `json:"quantity"` +} + +type AddProductToBasketResponseDTO struct { + BasketID string `json:"basket_id"` +} + type BasketCheckoutRequestDTO struct { BasketID string `json:"basket_id"` }