Show / Hide Table of Contents

Basket

A basket is a collection of IBasketItem (items) and IBasketContext which is information about those items. Example of baskets are: shopping cart, wish list, or list of ingredients.

Basket items are things which can be priced like products and services and the context items describe those products and services, for example custom engraving on a product.

A basket consists of a BasketHeaderContextInfo (basket header) and BasketLines (lines).

Diagram showing how a basket consists of a basket header and basket lines.

The basket header contains information which describe the basket as a whole, for example delivery type (in store pickup, street address, etc.), shipping costs, etc.

Each basket line should contain one item and zero or more context items and the quantity to represent how many of the item there are in the line.

Diagram showing what makes up a basket line: basket items, context items, and quantity.

  • Improve this Doc
In This Article
Back to top Generated by DocFX