package Ġcom . kot ato . context . e commerce . modules . order . stub Ċ Ċ import Ġcom . kot ato . context . e commerce . modules . order . domain . OrderId Ċ import Ġcom . kot ato . context . e commerce . modules . order . domain . update . status . failed . Order Failed Event Ċ import Ġjava . time . Z onedDateTime Ċ Ċ class ĠOrder Failed Event Stub Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġrandom ( aggregate Id : ĠString Ġ= ĠOrder Id Stub . random (). asString (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġoccurred On : ĠZ onedDateTime Ġ= ĠZ onedDateTime . now ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ= ĠOrder Failed Event ( aggregate Id , Ġoccurred On ) ĊĠĠĠ Ġ} Ċ }