Hierarchy

Properties

eventItemDescriptionChanged: ListenableEvent<BasketItem, ItemDescriptionProvider>

Will be triggered everytime the description of an item has changed (after it was fetched initially).

Methods

  • Called if this instance is no longer in use. Should be used to clean-up resources.

    Returns Promise<void>

  • Fetches the descriptions for the given items. Afterwards getItemDescription() no longer returns undefined for these items (except if the descriptions have changed).

    Parameters

    • pItems: readonly BasketItem[]

    Returns Promise<void>

  • Returns the currently known description for the given item. If the description is unknown (not fetched yet) undefined will be returned. If the item does not have a description null will be returned.

    Parameters

    • pItem: BasketItem

    Returns undefined | null | ItemDescriptionLine

Generated using TypeDoc