C# Класс Ucrm.Cart

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddProduct() публичный Метод

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
Результат void

Cart() публичный Метод

public Cart ( System.Guid _UserId ) : System
_UserId System.Guid
Результат System

RemoveItemFromCart() публичный Метод

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
Результат void

SubmitOrder() публичный Метод

public SubmitOrder ( ) : void
Результат void