Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e64d106aa |
@@ -10,7 +10,7 @@ type GetBasketResponse struct {
|
|||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
State string `json:"state"`
|
State string `json:"state"`
|
||||||
CreatedAt time.Duration `json:"created_at"`
|
CreatedAt time.Duration `json:"created_at"`
|
||||||
UpdatedAt time.Duration `json:"updated_at"`
|
UpdatedAt time.Duration `json:"updated_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetBasketItemsRequest struct {
|
type GetBasketItemsRequest struct {
|
||||||
@@ -23,7 +23,7 @@ type GetBasketItemsResponse struct {
|
|||||||
Quantity int `json:"quantity"`
|
Quantity int `json:"quantity"`
|
||||||
Price float64 `json:"price"`
|
Price float64 `json:"price"`
|
||||||
CreatedAt time.Duration `json:"created_at"`
|
CreatedAt time.Duration `json:"created_at"`
|
||||||
UpdatedAt time.Duration `json:"updated_at"`
|
UpdatedAt time.Duration `json:"updated_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type BasketCheckoutRequest struct {
|
type BasketCheckoutRequest struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user