Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3e340d68d0 | |||
| f6c6bb07fd |
@@ -26,6 +26,16 @@ type GetBasketItemsResponseDTO struct {
|
|||||||
UpdatedAt time.Duration `json:"updated_at,omitempty"`
|
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 {
|
type BasketCheckoutRequestDTO struct {
|
||||||
BasketID string `json:"basket_id"`
|
BasketID string `json:"basket_id"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user