@Inject
private OrderFinder orderFinder;
@EventListener
public void handle(CustomerStatusChangedEvent event){
OrderQuery orderQuery = new OrderQuery(null, event.getCustomerId());
PaginatedResult<OrderDto> orders = orderFinder.query(orderQuery);
Money discount = calculateDiscout(event.getCustomerId());
for(OrderDto dto : orders.getItems()){