C# Class VirtoCommerce.SwaggerApiClient.Api.InventoryModuleApi

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

Public Methods

Method Description
GetBasePath ( ) : String

Gets the base path of the API client.

InventoryModuleApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the InventoryModuleApi class.

InventoryModuleApi ( String basePath ) : System

Initializes a new instance of the InventoryModuleApi class.

InventoryModuleGetProductInventories ( string productId ) : List

Get inventories of product Get inventories of product for each fulfillment center.

InventoryModuleGetProductInventoriesAsync ( string productId ) : System.Threading.Tasks.Task>

Get inventories of product Get inventories of product for each fulfillment center.

InventoryModuleGetProductsInventories ( List ids ) : List

Get inventories of products Get inventory of products for each fulfillment center.

InventoryModuleGetProductsInventoriesAsync ( List ids ) : System.Threading.Tasks.Task>

Get inventories of products Get inventory of products for each fulfillment center.

InventoryModuleUpsertProductInventory ( VirtoCommerceInventoryModuleWebModelInventoryInfo inventory, string productId ) : VirtoCommerceInventoryModuleWebModelInventoryInfo

Upsert inventory Upsert (add or update) given inventory of product.

InventoryModuleUpsertProductInventoryAsync ( VirtoCommerceInventoryModuleWebModelInventoryInfo inventory, string productId ) : System.Threading.Tasks.Task

Upsert inventory Upsert (add or update) given inventory of product.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

Method Details

GetBasePath() public method

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

InventoryModuleApi() public method

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

InventoryModuleApi() public method

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

InventoryModuleGetProductInventories() public method

Get inventories of product Get inventories of product for each fulfillment center.
public InventoryModuleGetProductInventories ( string productId ) : List
productId string Product id
return List

InventoryModuleGetProductInventoriesAsync() public method

Get inventories of product Get inventories of product for each fulfillment center.
public InventoryModuleGetProductInventoriesAsync ( string productId ) : System.Threading.Tasks.Task>
productId string Product id
return System.Threading.Tasks.Task>

InventoryModuleGetProductsInventories() public method

Get inventories of products Get inventory of products for each fulfillment center.
public InventoryModuleGetProductsInventories ( List ids ) : List
ids List Products ids
return List

InventoryModuleGetProductsInventoriesAsync() public method

Get inventories of products Get inventory of products for each fulfillment center.
public InventoryModuleGetProductsInventoriesAsync ( List ids ) : System.Threading.Tasks.Task>
ids List Products ids
return System.Threading.Tasks.Task>

InventoryModuleUpsertProductInventory() public method

Upsert inventory Upsert (add or update) given inventory of product.
public InventoryModuleUpsertProductInventory ( VirtoCommerceInventoryModuleWebModelInventoryInfo inventory, string productId ) : VirtoCommerceInventoryModuleWebModelInventoryInfo
inventory VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceInventoryModuleWebModelInventoryInfo Inventory to upsert
productId string
return VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceInventoryModuleWebModelInventoryInfo

InventoryModuleUpsertProductInventoryAsync() public method

Upsert inventory Upsert (add or update) given inventory of product.
public InventoryModuleUpsertProductInventoryAsync ( VirtoCommerceInventoryModuleWebModelInventoryInfo inventory, string productId ) : System.Threading.Tasks.Task
inventory VirtoCommerce.SwaggerApiClient.Model.VirtoCommerceInventoryModuleWebModelInventoryInfo Inventory to upsert
productId string
return System.Threading.Tasks.Task

SetBasePath() public method

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