Skip to content
Snippets Groups Projects

Refactoring eom

Merged Dmitry Popov requested to merge develop-test into main
2 files
+ 16
14
Compare changes
  • Side-by-side
  • Inline
Files
2
eom/payload.go 0 → 100644
+ 16
0
package eom
type OrderCompleted struct {
OrderId string `json:"orderId"`
CustomerId string `json:"customerId"`
StoreId string `json:"storeId"`
OrderItems []OrderItem `json:"orderItems"`
TotalAmount float64 `json:"totalAmount"`
IsCustomerFirstOrder bool `json:"isCustomerFirstOrder"`
}
type OrderItem struct {
ProductId string `json:"productId"`
Quantity int `json:"quantity"`
Price float64 `json:"price"`
}
Loading