ShoppingCartServiceAddMembershipNew(IProduct, Object) Method
Adds a new membership to the shopping cart
This overload is intended to be used with membership packages retrieved via the InventoryProductRepository
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public void AddMembershipNew(
IProduct product,
Object terms = null
)
Public Sub AddMembershipNew (
product As IProduct,
Optional terms As Object = Nothing
)
public:
virtual void AddMembershipNew(
IProduct^ product,
Object^ terms = nullptr
) sealed
abstract AddMembershipNew :
product : IProduct *
?terms : Object
(* Defaults:
let _terms = defaultArg terms null
*)
-> unit
override AddMembershipNew :
product : IProduct *
?terms : Object
(* Defaults:
let _terms = defaultArg terms null
*)
-> unit
Parameters
- product IProduct
- The membership package product to add to the cart
- terms Object (Optional)
- An anonymous object containing additional fields/values to set on the NetForum Membership business object before adding it to the cart