newItem

fun newItem(product: Product, scannedCode: ScannedCode): ShoppingCart.Item

Create a new cart item using a product and a scanned code


fun newItem(coupon: Coupon, scannedCode: ScannedCode?): ShoppingCart.Item

Create a new cart item using a coupon and a scanned code


Create a new cart item using a line item of a checkout info