C# Class VirtoCommerce.SwaggerApiClient.Api.ShoppingCartModuleApi

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

Méthodes publiques

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

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

CartModuleApplyCouponAsync() public méthode

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

CartModuleCreate() public méthode

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

CartModuleCreateAsync() public méthode

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

CartModuleDeleteCarts() public méthode

Delete shopping carts by ids
public CartModuleDeleteCarts ( List ids ) : void
ids List Array of shopping cart ids
Résultat void

CartModuleDeleteCartsAsync() public méthode

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

CartModuleGetCartById() public méthode

Get shopping cart by id
public CartModuleGetCartById ( string id ) : void
id string Shopping cart id
Résultat void

CartModuleGetCartByIdAsync() public méthode

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

CartModuleGetCurrentCart() public méthode

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

CartModuleGetCurrentCartAsync() public méthode

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
Résultat System.Threading.Tasks.Task

CartModuleGetPaymentMethods() public méthode

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

CartModuleGetPaymentMethodsAsync() public méthode

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

CartModuleGetPaymentMethodsForStore() public méthode

Get payment methods for store
public CartModuleGetPaymentMethodsForStore ( string storeId ) : List
storeId string Store id
Résultat List

CartModuleGetPaymentMethodsForStoreAsync() public méthode

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

CartModuleGetShipmentMethods() public méthode

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

CartModuleGetShipmentMethodsAsync() public méthode

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

CartModuleSearchCarts() public méthode

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
Résultat VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelSearchResult

CartModuleSearchCartsAsync() public méthode

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
Résultat System.Threading.Tasks.Task

CartModuleUpdate() public méthode

Update shopping cart
public CartModuleUpdate ( VirtoCommerceCartModuleWebModelShoppingCart cart ) : VirtoCommerceCartModuleWebModelShoppingCart
cart VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart Shopping cart model
Résultat VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceCartModuleWebModelShoppingCart

CartModuleUpdateAsync() public méthode

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

GetBasePath() public méthode

Gets the base path of the API client.
public GetBasePath ( ) : String
Résultat String

SetBasePath() public méthode

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

ShoppingCartModuleApi() public méthode

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

ShoppingCartModuleApi() public méthode

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