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.
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public INetForumShoppingCart GetCartForToken(
CartReferenceToken token,
NetForumId customerId = null
)
Public Function GetCartForToken (
token As CartReferenceToken,
Optional customerId As NetForumId = Nothing
) As INetForumShoppingCart
public:
virtual INetForumShoppingCart^ GetCartForToken(
CartReferenceToken^ token,
NetForumId^ customerId = nullptr
) sealed
abstract GetCartForToken :
token : CartReferenceToken *
?customerId : NetForumId
(* Defaults:
let _customerId = defaultArg customerId null
*)
-> INetForumShoppingCart
override GetCartForToken :
token : CartReferenceToken *
?customerId : NetForumId
(* Defaults:
let _customerId = defaultArg customerId null
*)
-> INetForumShoppingCart
- 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.
INetForumShoppingCartThe requested shopping cart