bloombox / bloombox.client.services.menu / MenuClient / retrieve

retrieve

fun retrieve(context: MenuContext = MenuContext.defaultContext(), full: Boolean = false, callback: MenuCallback?, err: MenuErrorCallback?): ListenableFuture<Response> (source)

Fetch an entire menu, asynchronously, for a given partner/location code pair. Every menu section is fetched. By default, items marked as "invisible" (i.e. out of stock, or not carried any longer) are not returned. To fetch all product catalog entries including these items, pass true for full.

fun retrieve(context: MenuContext = MenuContext.defaultContext(), full: Boolean = false): Response (source)

Fetch an entire menu, synchronously, for a given partner/location code pair. Every menu section is fetched. By default, items marked as "invisible" (i.e. out of stock, or not carried any longer) are not returned. To fetch all product catalog entries including these items, pass true for full.