C# Class Ucrm.Cart

Afficher le fichier Open project: bytecode0101/uCRM Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

Cart() public méthode

public Cart ( System.Guid _UserId ) : System
_UserId System.Guid
Résultat System

RemoveItemFromCart() public méthode

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
Résultat void

SubmitOrder() public méthode

public SubmitOrder ( ) : void
Résultat void