Init
This commit is contained in:
17
http/catalog.go
Normal file
17
http/catalog.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package http
|
||||
|
||||
type AddProductToBasketRequest struct {
|
||||
ProductID int `json:"product_id"`
|
||||
}
|
||||
|
||||
type ProductAddToBasketResponse struct {
|
||||
BasketID string `json:"basket_id"`
|
||||
}
|
||||
|
||||
type RemoveProductFromBasketRequest struct {
|
||||
ProductID int `json:"product_id"`
|
||||
}
|
||||
|
||||
type RemoveProductFromBasketResponse struct {
|
||||
BasketID string `json:"basket_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user