Class ShoppingCart
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ShoppingCart
- Inheritance
-
ShoppingCart
- Inherited Members
- Extension Methods
Constructors
ShoppingCart()
public ShoppingCart()
Properties
Cart
public List<ShopItem> Cart { get; set; }
Property Value
CartValue
public int CartValue { get; set; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Methods
AddItemToCart(ShopItem)
public void AddItemToCart(ShopItem itemToAdd)
Parameters
itemToAdd
ShopItem
ClearCart()
public void ClearCart()