Added AddProductToBasket HTTP DTO
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user