BasketItem CreateForProduct( int productId, int quantity, string optionList, string kitList, int userId, bool calculateOneTimePrice )
Parameters
- productId
- Id of the product for which to create the basket item
- quantity
- The quantity of basket item
- optionList
- List of option ids for the variant
- kitList
- List of product Ids of the kit items
- userId
- The user Id
- calculateOneTimePrice
- Indicates if we need to calculate one time price for the subscription product.
Return Value
The BasketItem created