IFlashpointShoppingCartNew Method

Creates a new cart, or clears an existing cart

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
IShoppingCartState New(
	string cartToken,
	NetForumId customerId = null,
	Object defaults = null
)

Parameters

cartToken  String
Token of the cart to create or clear
customerId  NetForumId  (Optional)
Customer to assign to the cart
defaults  Object  (Optional)
A flex-compatible object with the default top-level cart values to set after creating/clearing the cart

Return Value

IShoppingCartState
The new/cleared cart

See Also