This commit is contained in:
mats committed 2026-07-26 13:01:07 +02:00
1 parent 540aa48c44
commit bd81f4ff54
8 files changed
+322 -4

No files matched your search

+5 -2
View File
@@ -42,8 +42,11 @@ type Created struct {
Country string `json:"country"`
Currency string `json:"currency,omitempty"`
CustomerEmail string `json:"customer_email,omitempty"`
Lines []Line `json:"lines"`
PlacedAtMs int64 `json:"placed_at_ms,omitempty"`
// CustomerID is the customer profile ID for identity linking (B0.4). Reactors
// (e.g. profile service) use this to link the order to the customer profile.
CustomerID string `json:"customer_id,omitempty"`
Lines []Line `json:"lines"`
PlacedAtMs int64 `json:"placed_at_ms,omitempty"`
}
// Encode serialises the payload for event.Event.Payload.