C# Class ClassLibrary.ShoppingCart

Mostrar archivo Open project: snahider/Test-Automation-NET

Public Methods

Method Description
AddItem ( Product product, int quantity ) : void
ClearItems ( ) : void
FindItem ( string sku ) : ShoppingCartItem
RemoveItem ( string sku ) : void
ShoppingCart ( ) : System

Method Details

AddItem() public method

public AddItem ( Product product, int quantity ) : void
product Product
quantity int
return void

ClearItems() public method

public ClearItems ( ) : void
return void

FindItem() public method

public FindItem ( string sku ) : ShoppingCartItem
sku string
return ShoppingCartItem

RemoveItem() public method

public RemoveItem ( string sku ) : void
sku string
return void

ShoppingCart() public method

public ShoppingCart ( ) : System
return System