Partilhar via


GetBasket Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns an existing basket using the specified criteria, or creates a new one if none already exist.

Overload List

  Name Description
Aa530567.pubmethod(en-US,CS.70).gif GetBasket(Guid) Returns an existing Basket using the specified customer identifier, or creates a new one if none already exist.
Aa530567.pubmethod(en-US,CS.70).gif GetBasket(Guid, Guid) Returns an existing Basket using the specified customer identifier and basket identifier, or creates a new one if none currently exist.
Aa530567.pubmethod(en-US,CS.70).gif GetBasket(Guid, String) Returns an existing Basket using the specified customer identifier and basket name, or creates a new one if none already exist.

Top

Remarks

Use this method to retrieve a Basket meeting the specified criteria. If no Basket currently exists, one is created.

See Also

Reference

OrderContext Class

OrderContext Members

Microsoft.CommerceServer.Runtime.Orders Namespace