addToCart

abstract fun addToCart(productId: String)

Adds a product to the shopping cart.

Parameters

productId

Identifier of the product to add to cart