Click or drag to resize

IFlashpointShoppingCartAddNewMembership Method

Adds a new membership to the cart

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
IShoppingCartState AddNewMembership(
	string cartToken,
	NetForumId purchaseOptionId,
	Object terms
)

Parameters

cartToken  String
Working cart token
purchaseOptionId  NetForumId
Product ID of the membership package to add
terms  Object
A flex-compatible object with additional fields to set on the created membership object

Return Value

IShoppingCartState
The updated cart
See Also