NetForumShoppingCartManagerGetCartForToken Method

Returns an instance of INetForumShoppingCart which points to a NetFORUM server-side cart as specified by token. If no NetFORUM server-side cart exists for the provided token, a new one will be created, and all future calls to this method with the same token manipulate the same NetFORUM server-side cart.

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public INetForumShoppingCart GetCartForToken(
	CartReferenceToken token,
	NetForumId customerId = null
)

Parameters

token  CartReferenceToken
A reference token specifying which netFORUM server-side cart the returned instance of INetForumShoppingCart should connect to.
customerId  NetForumId  (Optional)
If specified, overrides the default customer for this cart.

Return Value

INetForumShoppingCart
The requested shopping cart

See Also