C# Class VirtoCommerce.SwaggerApiClient.Api.ShoppingCartModuleApi

Represents a collection of functions to interact with the API endpoints
Inheritance: IShoppingCartModuleApi
Datei anzeigen Open project: VirtoCommerce/vc-internal

Public Methods

Method Description
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.

Method Details

CartModuleApplyCoupon() public method

Apply coupon for shopping cart
public CartModuleApplyCoupon ( string cartId, string couponCode ) : VirtoCommerceCartModuleWebModelShoppingCart
cartId string Shopping cart id
couponCode string Coupon code
return VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart

CartModuleApplyCouponAsync() public method

Apply coupon for shopping cart
public CartModuleApplyCouponAsync ( string cartId, string couponCode ) : System.Threading.Tasks.Task
cartId string Shopping cart id
couponCode string Coupon code
return System.Threading.Tasks.Task

CartModuleCreate() public method

Create shopping cart
public CartModuleCreate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : void
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
return void

CartModuleCreateAsync() public method

Create shopping cart
public CartModuleCreateAsync ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : System.Threading.Tasks.Task
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
return System.Threading.Tasks.Task

CartModuleDeleteCarts() public method

Delete shopping carts by ids
public CartModuleDeleteCarts ( List ids ) : void
ids List Array of shopping cart ids
return void

CartModuleDeleteCartsAsync() public method

Delete shopping carts by ids
public CartModuleDeleteCartsAsync ( List ids ) : System.Threading.Tasks.Task
ids List Array of shopping cart ids
return System.Threading.Tasks.Task

CartModuleGetCartById() public method

Get shopping cart by id
public CartModuleGetCartById ( string id ) : void
id string Shopping cart id
return void

CartModuleGetCartByIdAsync() public method

Get shopping cart by id
public CartModuleGetCartByIdAsync ( string id ) : System.Threading.Tasks.Task
id string Shopping cart id
return System.Threading.Tasks.Task

CartModuleGetCurrentCart() public method

Get shopping cart by store id and customer id
public CartModuleGetCurrentCart ( string storeId, string customerId ) : void
storeId string Store id
customerId string Customer id
return void

CartModuleGetCurrentCartAsync() public method

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
return System.Threading.Tasks.Task

CartModuleGetPaymentMethods() public method

Get payment methods for shopping cart
public CartModuleGetPaymentMethods ( string cartId ) : List
cartId string Shopping cart id
return List

CartModuleGetPaymentMethodsAsync() public method

Get payment methods for shopping cart
public CartModuleGetPaymentMethodsAsync ( string cartId ) : System.Threading.Tasks.Task>
cartId string Shopping cart id
return System.Threading.Tasks.Task>

CartModuleGetPaymentMethodsForStore() public method

Get payment methods for store
public CartModuleGetPaymentMethodsForStore ( string storeId ) : List
storeId string Store id
return List

CartModuleGetPaymentMethodsForStoreAsync() public method

Get payment methods for store
public CartModuleGetPaymentMethodsForStoreAsync ( string storeId ) : System.Threading.Tasks.Task>
storeId string Store id
return System.Threading.Tasks.Task>

CartModuleGetShipmentMethods() public method

Get shipping methods for shopping cart
public CartModuleGetShipmentMethods ( string cartId ) : List
cartId string Shopping cart id
return List

CartModuleGetShipmentMethodsAsync() public method

Get shipping methods for shopping cart
public CartModuleGetShipmentMethodsAsync ( string cartId ) : System.Threading.Tasks.Task>
cartId string Shopping cart id
return System.Threading.Tasks.Task>

CartModuleSearchCarts() public method

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
return VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelSearchResult

CartModuleSearchCartsAsync() public method

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
return System.Threading.Tasks.Task

CartModuleUpdate() public method

Update shopping cart
public CartModuleUpdate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : VirtoCommerceCartModuleWebModelShoppingCart
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
return VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart

CartModuleUpdateAsync() public method

Update shopping cart
public CartModuleUpdateAsync ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : System.Threading.Tasks.Task
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
return System.Threading.Tasks.Task

GetBasePath() public method

Gets the base path of the API client.
public GetBasePath ( ) : String
return String

SetBasePath() public method

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String The base path
return void

ShoppingCartModuleApi() public method

Initializes a new instance of the ShoppingCartModuleApi class.
public ShoppingCartModuleApi ( ApiClient apiClient = null ) : System
apiClient VirtoCommerce.SwaggerApiClient.Client.ApiClient an instance of ApiClient (optional)
return System

ShoppingCartModuleApi() public method

Initializes a new instance of the ShoppingCartModuleApi class.
public ShoppingCartModuleApi ( String basePath ) : System
basePath String
return System