Skip to content

Commit

Permalink
Update Orders JavaDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Dec 20, 2024
1 parent 1e467ec commit a3f460a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ public Orders() {
* @param searchHits the commands search result
* @return A json string payload with an array of orders to be processed
*/
/**
* Static builder method that initializes an instance of Orders from a SearchHits instance.
*
* @param searchHits search hits as returned from the search index query to the commands index.
* @return instance of Orders.
*/
public static Orders fromSearchHits(SearchHits searchHits) {
Orders orders = new Orders();

Expand Down

0 comments on commit a3f460a

Please sign in to comment.