docs: @Action(
              publishing = Publishing.ENABLED // using the default payload factory
      )
      public PublishedCustomer addOrder(
              @ParameterLayout(named="Name")
              final String name) {
          final ReferencedOrder order = repositoryService.instantiate(ReferencedOrder.class);
          order.setName(name);
          getOrders().add(order);
          repositoryService.persist(order);
          return this;
      }