C# Класс VirtoCommerce.SwaggerApiClient.Api.ShoppingCartModuleApi

Represents a collection of functions to interact with the API endpoints
Наследование: IShoppingCartModuleApi
Показать файл Открыть проект

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

Метод Описание
CartModuleApplyCoupon ( string cartId, string couponCode ) : VirtoCommerceCartModuleWebModelShoppingCart

Apply coupon for shopping cart

CartModuleApplyCouponAsync ( string cartId, string couponCode ) : System.Threading.Tasks.Task

Apply coupon for shopping cart

CartModuleCreate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : void

Create shopping cart

CartModuleCreateAsync ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : System.Threading.Tasks.Task

Create shopping cart

CartModuleDeleteCarts ( List ids ) : void

Delete shopping carts by ids

CartModuleDeleteCartsAsync ( List ids ) : System.Threading.Tasks.Task

Delete shopping carts by ids

CartModuleGetCartById ( string id ) : void

Get shopping cart by id

CartModuleGetCartByIdAsync ( string id ) : System.Threading.Tasks.Task

Get shopping cart by id

CartModuleGetCurrentCart ( string storeId, string customerId ) : void

Get shopping cart by store id and customer id

CartModuleGetCurrentCartAsync ( string storeId, string customerId ) : System.Threading.Tasks.Task

Get shopping cart by store id and customer id

CartModuleGetPaymentMethods ( string cartId ) : List

Get payment methods for shopping cart

CartModuleGetPaymentMethodsAsync ( string cartId ) : System.Threading.Tasks.Task>

Get payment methods for shopping cart

CartModuleGetPaymentMethodsForStore ( string storeId ) : List

Get payment methods for store

CartModuleGetPaymentMethodsForStoreAsync ( string storeId ) : System.Threading.Tasks.Task>

Get payment methods for store

CartModuleGetShipmentMethods ( string cartId ) : List

Get shipping methods for shopping cart

CartModuleGetShipmentMethodsAsync ( string cartId ) : System.Threading.Tasks.Task>

Get shipping methods for shopping cart

CartModuleSearchCarts ( string criteriaKeyword, string criteriaCustomerId, string criteriaStoreId, int criteriaStart, int criteriaCount ) : VirtoCommerceCartModuleWebModelSearchResult

Search for shopping carts by criteria

CartModuleSearchCartsAsync ( string criteriaKeyword, string criteriaCustomerId, string criteriaStoreId, int criteriaStart, int criteriaCount ) : System.Threading.Tasks.Task

Search for shopping carts by criteria

CartModuleUpdate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : VirtoCommerceCartModuleWebModelShoppingCart

Update shopping cart

CartModuleUpdateAsync ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : System.Threading.Tasks.Task

Update shopping cart

GetBasePath ( ) : String

Gets the base path of the API client.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

ShoppingCartModuleApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the ShoppingCartModuleApi class.

ShoppingCartModuleApi ( String basePath ) : System

Initializes a new instance of the ShoppingCartModuleApi class.

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

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

Apply coupon for shopping cart
public CartModuleApplyCoupon ( string cartId, string couponCode ) : VirtoCommerceCartModuleWebModelShoppingCart
cartId string Shopping cart id
couponCode string Coupon code
Результат VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart

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

Apply coupon for shopping cart
public CartModuleApplyCouponAsync ( string cartId, string couponCode ) : System.Threading.Tasks.Task
cartId string Shopping cart id
couponCode string Coupon code
Результат System.Threading.Tasks.Task

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

Create shopping cart
public CartModuleCreate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : void
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
Результат void

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

Create shopping cart
public CartModuleCreateAsync ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : System.Threading.Tasks.Task
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
Результат System.Threading.Tasks.Task

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

Delete shopping carts by ids
public CartModuleDeleteCarts ( List ids ) : void
ids List Array of shopping cart ids
Результат void

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

Delete shopping carts by ids
public CartModuleDeleteCartsAsync ( List ids ) : System.Threading.Tasks.Task
ids List Array of shopping cart ids
Результат System.Threading.Tasks.Task

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

Get shopping cart by id
public CartModuleGetCartById ( string id ) : void
id string Shopping cart id
Результат void

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

Get shopping cart by id
public CartModuleGetCartByIdAsync ( string id ) : System.Threading.Tasks.Task
id string Shopping cart id
Результат System.Threading.Tasks.Task

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

Get shopping cart by store id and customer id
public CartModuleGetCurrentCart ( string storeId, string customerId ) : void
storeId string Store id
customerId string Customer id
Результат void

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

Get shopping cart by store id and customer id
public CartModuleGetCurrentCartAsync ( string storeId, string customerId ) : System.Threading.Tasks.Task
storeId string Store id
customerId string Customer id
Результат System.Threading.Tasks.Task

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

Get payment methods for shopping cart
public CartModuleGetPaymentMethods ( string cartId ) : List
cartId string Shopping cart id
Результат List

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

Get payment methods for shopping cart
public CartModuleGetPaymentMethodsAsync ( string cartId ) : System.Threading.Tasks.Task>
cartId string Shopping cart id
Результат System.Threading.Tasks.Task>

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

Get payment methods for store
public CartModuleGetPaymentMethodsForStore ( string storeId ) : List
storeId string Store id
Результат List

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

Get payment methods for store
public CartModuleGetPaymentMethodsForStoreAsync ( string storeId ) : System.Threading.Tasks.Task>
storeId string Store id
Результат System.Threading.Tasks.Task>

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

Get shipping methods for shopping cart
public CartModuleGetShipmentMethods ( string cartId ) : List
cartId string Shopping cart id
Результат List

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

Get shipping methods for shopping cart
public CartModuleGetShipmentMethodsAsync ( string cartId ) : System.Threading.Tasks.Task>
cartId string Shopping cart id
Результат System.Threading.Tasks.Task>

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

Search for shopping carts by criteria
public CartModuleSearchCarts ( string criteriaKeyword, string criteriaCustomerId, string criteriaStoreId, int criteriaStart, int criteriaCount ) : VirtoCommerceCartModuleWebModelSearchResult
criteriaKeyword string Gets or sets the value of search criteria keyword
criteriaCustomerId string Gets or sets the value of search criteria customer id
criteriaStoreId string Gets or sets the value of search criteria store id
criteriaStart int Gets or sets the value of search criteria skip records count
criteriaCount int Gets or sets the value of search criteria page size
Результат VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelSearchResult

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

Search for shopping carts by criteria
public CartModuleSearchCartsAsync ( string criteriaKeyword, string criteriaCustomerId, string criteriaStoreId, int criteriaStart, int criteriaCount ) : System.Threading.Tasks.Task
criteriaKeyword string Gets or sets the value of search criteria keyword
criteriaCustomerId string Gets or sets the value of search criteria customer id
criteriaStoreId string Gets or sets the value of search criteria store id
criteriaStart int Gets or sets the value of search criteria skip records count
criteriaCount int Gets or sets the value of search criteria page size
Результат System.Threading.Tasks.Task

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

Update shopping cart
public CartModuleUpdate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : VirtoCommerceCartModuleWebModelShoppingCart
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
Результат VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart

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

Update shopping cart
public CartModuleUpdateAsync ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : System.Threading.Tasks.Task
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
Результат System.Threading.Tasks.Task

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

Gets the base path of the API client.
public GetBasePath ( ) : String
Результат String

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

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String The base path
Результат void

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

Initializes a new instance of the ShoppingCartModuleApi class.
public ShoppingCartModuleApi ( ApiClient apiClient = null ) : System
apiClient VirtoCommerce.SwaggerApiClient.Client.ApiClient an instance of ApiClient (optional)
Результат System

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

Initializes a new instance of the ShoppingCartModuleApi class.
public ShoppingCartModuleApi ( String basePath ) : System
basePath String
Результат System