class AntiCorruptionLayer {

  @Autowired
  private LegacyShop legacyShop;


  /**
   * The method converts the order from the legacy system to the modern system.
   * @param id the id of the order
   * @return the order in the modern system
   */
  public Optional<ModernOrder> findOrderInLegacySystem(String id) {<FILL_FUNCTION_BODY>}

}


    return legacyShop.findOrder(id).map(o ->
        new ModernOrder(
            o.getId(),
            new Customer(o.getCustomer()),
            new Shipment(o.getItem(), o.getQty(), o.getPrice()),
            ""
        )
    );
  
<no_super_class>