C# Class Ucrm.Cart

Show file Open project: bytecode0101/uCRM Class Usage Examples

Public Methods

Method Description
AddProduct ( Ucrm.Product product, int quantity ) : void

Adds an item to the cart

Cart ( System.Guid _UserId ) : System
RemoveItemFromCart ( System.Guid productId ) : void

Deletes an item from the cart.

SubmitOrder ( ) : void

Method Details

AddProduct() public method

Adds an item to the cart
public AddProduct ( Ucrm.Product product, int quantity ) : void
product Ucrm.Product The product type to be added to the cart
quantity int quantity of products to be added
return void

Cart() public method

public Cart ( System.Guid _UserId ) : System
_UserId System.Guid
return System

RemoveItemFromCart() public method

Deletes an item from the cart.
public RemoveItemFromCart ( System.Guid productId ) : void
productId System.Guid The Id of the product that will be removed from the cart
return void

SubmitOrder() public method

public SubmitOrder ( ) : void
return void