Added DTO for RemoveFromBasket action
This commit is contained in:
@@ -36,6 +36,15 @@ type AddProductToBasketResponseDTO struct {
|
||||
BasketID string `json:"basket_id"`
|
||||
}
|
||||
|
||||
type RemoveFromBasketRequestDTO struct {
|
||||
BasketID string `json:"basket_id"`
|
||||
ProductID string `json:"product_id"`
|
||||
}
|
||||
|
||||
type RemoveFromBasketResponseDTO struct {
|
||||
BasketID string `json:"basket_id"`
|
||||
}
|
||||
|
||||
type BasketCheckoutRequestDTO struct {
|
||||
BasketID string `json:"basket_id"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user