C# Class VirtoCommerce.ApiClient.BrowseClient

Inheritance: BaseClient
Show file Open project: VirtoCommerce/vc-internal

Public Methods

Method Description
BrowseClient ( Uri adminBaseEndpoint, System.Net.Http.MessageProcessingHandler handler ) : System

Initializes a new instance of the BrowseClient class.

BrowseClient ( Uri adminBaseEndpoint, string appId, string secretKey ) : System

Initializes a new instance of the BrowseClient class.

GetCatalogItemsByIdsAsync ( IEnumerable catalogItemsIds, string storeId, string responseGroup ) : Task>
GetCategoriesAsync ( string store, string language, string parentId = null ) : Task>
GetCategoryAsync ( string store, string language, string categoryId ) : Task
GetCategoryByCodeAsync ( string store, string language, string code ) : Task
GetCategoryByKeywordAsync ( string store, string language, string keyword ) : Task
GetProductAsync ( string store, string language, string productId ) : Task
GetProductAsync ( string store, string language, string productId, ItemResponseGroups responseGroup ) : Task
GetProductByCodeAsync ( string store, string language, string code ) : Task
GetProductByCodeAsync ( string store, string language, string code, ItemResponseGroups responseGroup ) : Task
GetProductByKeywordAsync ( string store, string language, string keyword ) : Task
GetProductByKeywordAsync ( string store, string language, string keyword, ItemResponseGroups responseGroup ) : Task
GetProductsAsync ( string store, string language, VirtoCommerce.ApiClient.DataContracts.BrowseQuery query, ItemResponseGroups responseGroup = null ) : Task

List items matching the given query

Method Details

BrowseClient() public method

Initializes a new instance of the BrowseClient class.
public BrowseClient ( Uri adminBaseEndpoint, System.Net.Http.MessageProcessingHandler handler ) : System
adminBaseEndpoint System.Uri Admin endpoint
handler System.Net.Http.MessageProcessingHandler
return System

BrowseClient() public method

Initializes a new instance of the BrowseClient class.
public BrowseClient ( Uri adminBaseEndpoint, string appId, string secretKey ) : System
adminBaseEndpoint System.Uri Admin endpoint
appId string The API application ID.
secretKey string The API secret key.
return System

GetCatalogItemsByIdsAsync() public method

public GetCatalogItemsByIdsAsync ( IEnumerable catalogItemsIds, string storeId, string responseGroup ) : Task>
catalogItemsIds IEnumerable
storeId string
responseGroup string
return Task>

GetCategoriesAsync() public method

public GetCategoriesAsync ( string store, string language, string parentId = null ) : Task>
store string
language string
parentId string
return Task>

GetCategoryAsync() public method

public GetCategoryAsync ( string store, string language, string categoryId ) : Task
store string
language string
categoryId string
return Task

GetCategoryByCodeAsync() public method

public GetCategoryByCodeAsync ( string store, string language, string code ) : Task
store string
language string
code string
return Task

GetCategoryByKeywordAsync() public method

public GetCategoryByKeywordAsync ( string store, string language, string keyword ) : Task
store string
language string
keyword string
return Task

GetProductAsync() public method

public GetProductAsync ( string store, string language, string productId ) : Task
store string
language string
productId string
return Task

GetProductAsync() public method

public GetProductAsync ( string store, string language, string productId, ItemResponseGroups responseGroup ) : Task
store string
language string
productId string
responseGroup ItemResponseGroups
return Task

GetProductByCodeAsync() public method

public GetProductByCodeAsync ( string store, string language, string code ) : Task
store string
language string
code string
return Task

GetProductByCodeAsync() public method

public GetProductByCodeAsync ( string store, string language, string code, ItemResponseGroups responseGroup ) : Task
store string
language string
code string
responseGroup ItemResponseGroups
return Task

GetProductByKeywordAsync() public method

public GetProductByKeywordAsync ( string store, string language, string keyword ) : Task
store string
language string
keyword string
return Task

GetProductByKeywordAsync() public method

public GetProductByKeywordAsync ( string store, string language, string keyword, ItemResponseGroups responseGroup ) : Task
store string
language string
keyword string
responseGroup ItemResponseGroups
return Task

GetProductsAsync() public method

List items matching the given query
public GetProductsAsync ( string store, string language, VirtoCommerce.ApiClient.DataContracts.BrowseQuery query, ItemResponseGroups responseGroup = null ) : Task
store string
language string
query VirtoCommerce.ApiClient.DataContracts.BrowseQuery
responseGroup ItemResponseGroups
return Task