C# Класс ChannelAdvisorAccess.Services.Items.ItemsService

Наследование: IItemsService
Показать файл Открыть проект

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

Метод Описание
AssignLabelListToItemList ( string labels, bool createLabelIfNotExist, IEnumerable skus, string reason, Mark mark = null ) : void
AssignLabelListToItemListAsync ( string labels, bool createLabelIfNotExist, IEnumerable skus, string reason, Mark mark = null ) : System.Threading.Tasks.Task
DeleteItem ( string sku, Mark mark = null ) : void
DeleteItemAsync ( string sku, Mark mark = null ) : System.Threading.Tasks.Task
DoSkusExist ( IEnumerable skus, Mark mark = null ) : IEnumerable
DoSkusExistAsync ( IEnumerable skus, Mark mark = null ) : Task>
DoesSkuExist ( string sku, Mark mark = null ) : bool
DoesSkuExistAsync ( string sku, Mark mark = null ) : Task
GetAllItems ( Mark mark = null ) : IEnumerable
GetAllSkus ( Mark mark = null ) : IEnumerable
GetAllSkusAsync ( Mark mark = null ) : Task>
GetAttributes ( string sku, Mark mark = null ) : AttributeInfo[]
GetAttributesAsync ( string sku, Mark mark = null ) : Task
GetAvailableQuantities ( IEnumerable skus, Mark mark = null ) : IEnumerable
GetAvailableQuantitiesAsync ( IEnumerable skus, Mark mark = null ) : Task>
GetAvailableQuantity ( string sku, Mark mark = null ) : int

Gets the available quantity.

GetAvailableQuantityAsync ( string sku, Mark mark = null ) : Task
GetClassificationConfigInfo ( Mark mark = null ) : ClassificationConfigurationInformation[]
GetClassificationConfigInfoAsync ( Mark mark = null ) : Task
GetClassificationConfigurationInformation ( Mark mark = null ) : ClassificationConfigurationInformation[]
GetClassificationConfigurationInformationAsync ( Mark mark = null ) : Task
GetDistributionCenterList ( Mark mark = null ) : DistributionCenterResponse[]
GetDistributionCenterListAsync ( Mark mark = null ) : Task
GetFilteredItems ( ItemsFilter filter, Mark mark = null ) : IEnumerable

Gets the items matching filter.

GetFilteredItemsAsync ( ItemsFilter filter, Mark mark = null ) : Task>

Gets the items matching filter.

GetFilteredItemsAsync ( ItemsFilter filter, int startPage, int pageLimit, Mark mark = null ) : Task>

Gets the items matching filter.

GetFilteredSkus ( ItemsFilter filter, Mark mark = null ) : IEnumerable
GetFilteredSkusAsync ( ItemsFilter filter, Mark mark = null ) : Task>
GetFilteredSkusAsync ( ItemsFilter filter, int startPage, int pageLimit, Mark mark = null ) : Task>
GetImageList ( string sku, Mark mark = null ) : ImageInfoResponse[]
GetImageListAsync ( string sku, Mark mark = null ) : Task
GetItemQuantities ( string sku, Mark mark = null ) : QuantityInfoResponse

Gets the additional item quantities.

GetItemQuantitiesAsync ( string sku, Mark mark = null ) : Task
GetItems ( IEnumerable skus, Mark mark = null ) : IEnumerable

Gets the items by skus.

Items are pulled 1 at a time to handle non-existing skus. This results in slower performance.

GetItemsAsync ( IEnumerable skus, Mark mark = null ) : Task>
GetShippingInfo ( string sku, Mark mark = null ) : DistributionCenterInfoResponse[]
GetShippingInfoAsync ( string sku, Mark mark = null ) : Task
GetStoreInfo ( string sku, Mark mark = null ) : StoreInfo
GetStoreInfoAsync ( string sku, Mark mark = null ) : Task
GetVariationInfo ( string sku, Mark mark = null ) : VariationInfo
GetVariationInfoAsync ( string sku, Mark mark = null ) : Task
Ping ( Mark mark = null ) : void
PingAsync ( Mark mark = null ) : System.Threading.Tasks.Task
RemoveLabelListFromItemList ( string labels, IEnumerable skus, string reason, Mark mark = null ) : void
RemoveLabelListFromItemListAsync ( string labels, IEnumerable skus, string reason, Mark mark = null ) : System.Threading.Tasks.Task
SynchItem ( InventoryItemSubmit item, bool isCreateNew = false, Mark mark = null ) : void
SynchItemAsync ( InventoryItemSubmit item, bool isCreateNew = false, Mark mark = null ) : System.Threading.Tasks.Task
SynchItems ( IEnumerable items, bool isCreateNew = false, Mark mark = null ) : void
SynchItemsAsync ( IEnumerable items, bool isCreateNew = false, Mark mark = null ) : System.Threading.Tasks.Task
UpdateQuantityAndPrice ( InventoryItemQuantityAndPrice itemQuantityAndPrice, Mark mark = null ) : void
UpdateQuantityAndPriceAsync ( InventoryItemQuantityAndPrice itemQuantityAndPrice, Mark mark = null ) : System.Threading.Tasks.Task
UpdateQuantityAndPrices ( IEnumerable itemQuantityAndPrices, Mark mark = null ) : void
UpdateQuantityAndPricesAsync ( IEnumerable itemQuantityAndPrices, Mark mark = null ) : System.Threading.Tasks.Task

Приватные методы

Метод Описание
DownloadAllItems ( Mark mark = null ) : IEnumerable
GetCachedInventory ( Mark mark = null ) : IEnumerable
UseCache ( ) : bool

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

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

public AssignLabelListToItemList ( string labels, bool createLabelIfNotExist, IEnumerable skus, string reason, Mark mark = null ) : void
labels string
createLabelIfNotExist bool
skus IEnumerable
reason string
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public AssignLabelListToItemListAsync ( string labels, bool createLabelIfNotExist, IEnumerable skus, string reason, Mark mark = null ) : System.Threading.Tasks.Task
labels string
createLabelIfNotExist bool
skus IEnumerable
reason string
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public DeleteItem ( string sku, Mark mark = null ) : void
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public DeleteItemAsync ( string sku, Mark mark = null ) : System.Threading.Tasks.Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public DoSkusExist ( IEnumerable skus, Mark mark = null ) : IEnumerable
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат IEnumerable

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

public DoSkusExistAsync ( IEnumerable skus, Mark mark = null ) : Task>
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат Task>

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

public DoesSkuExist ( string sku, Mark mark = null ) : bool
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат bool

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

public DoesSkuExistAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetAllItems ( Mark mark = null ) : IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат IEnumerable

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

public GetAllSkus ( Mark mark = null ) : IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат IEnumerable

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

public GetAllSkusAsync ( Mark mark = null ) : Task>
mark ChannelAdvisorAccess.Misc.Mark
Результат Task>

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

public GetAttributes ( string sku, Mark mark = null ) : AttributeInfo[]
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат AttributeInfo[]

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

public GetAttributesAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetAvailableQuantities ( IEnumerable skus, Mark mark = null ) : IEnumerable
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат IEnumerable

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

public GetAvailableQuantitiesAsync ( IEnumerable skus, Mark mark = null ) : Task>
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат Task>

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

Gets the available quantity.
public GetAvailableQuantity ( string sku, Mark mark = null ) : int
sku string The sku of the item.
mark ChannelAdvisorAccess.Misc.Mark
Результат int

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

public GetAvailableQuantityAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetClassificationConfigInfo ( Mark mark = null ) : ClassificationConfigurationInformation[]
mark ChannelAdvisorAccess.Misc.Mark
Результат ClassificationConfigurationInformation[]

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

public GetClassificationConfigInfoAsync ( Mark mark = null ) : Task
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetClassificationConfigurationInformation ( Mark mark = null ) : ClassificationConfigurationInformation[]
mark ChannelAdvisorAccess.Misc.Mark
Результат ClassificationConfigurationInformation[]

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

public GetClassificationConfigurationInformationAsync ( Mark mark = null ) : Task
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetDistributionCenterList ( Mark mark = null ) : DistributionCenterResponse[]
mark ChannelAdvisorAccess.Misc.Mark
Результат DistributionCenterResponse[]

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

public GetDistributionCenterListAsync ( Mark mark = null ) : Task
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

Gets the items matching filter.
public GetFilteredItems ( ItemsFilter filter, Mark mark = null ) : IEnumerable
filter ItemsFilter The filter.
mark ChannelAdvisorAccess.Misc.Mark use it to simplify navigation inside log, allows to view call ierarchy
Результат IEnumerable

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

Gets the items matching filter.
public GetFilteredItemsAsync ( ItemsFilter filter, Mark mark = null ) : Task>
filter ItemsFilter The filter.
mark ChannelAdvisorAccess.Misc.Mark use it to simplify navigation inside log, allows to view call ierarchy
Результат Task>

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

Gets the items matching filter.
public GetFilteredItemsAsync ( ItemsFilter filter, int startPage, int pageLimit, Mark mark = null ) : Task>
filter ItemsFilter The filter.
startPage int The first page number to query.
pageLimit int The max number of pages to query.
mark ChannelAdvisorAccess.Misc.Mark use it to simplify navigation inside log, allows to view call ierarchy
Результат Task>

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

public GetFilteredSkus ( ItemsFilter filter, Mark mark = null ) : IEnumerable
filter ItemsFilter
mark ChannelAdvisorAccess.Misc.Mark
Результат IEnumerable

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

public GetFilteredSkusAsync ( ItemsFilter filter, Mark mark = null ) : Task>
filter ItemsFilter
mark ChannelAdvisorAccess.Misc.Mark
Результат Task>

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

public GetFilteredSkusAsync ( ItemsFilter filter, int startPage, int pageLimit, Mark mark = null ) : Task>
filter ItemsFilter
startPage int
pageLimit int
mark ChannelAdvisorAccess.Misc.Mark
Результат Task>

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

public GetImageList ( string sku, Mark mark = null ) : ImageInfoResponse[]
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат ImageInfoResponse[]

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

public GetImageListAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

Gets the additional item quantities.
public GetItemQuantities ( string sku, Mark mark = null ) : QuantityInfoResponse
sku string The sku.
mark ChannelAdvisorAccess.Misc.Mark
Результат QuantityInfoResponse

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

public GetItemQuantitiesAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

Gets the items by skus.
Items are pulled 1 at a time to handle non-existing skus. This results in slower performance.
public GetItems ( IEnumerable skus, Mark mark = null ) : IEnumerable
skus IEnumerable The skus.
mark ChannelAdvisorAccess.Misc.Mark use it to simplify navigation inside log, allows to view call ierarchy
Результат IEnumerable

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

public GetItemsAsync ( IEnumerable skus, Mark mark = null ) : Task>
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат Task>

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

public GetShippingInfo ( string sku, Mark mark = null ) : DistributionCenterInfoResponse[]
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат DistributionCenterInfoResponse[]

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

public GetShippingInfoAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetStoreInfo ( string sku, Mark mark = null ) : StoreInfo
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат StoreInfo

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

public GetStoreInfoAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public GetVariationInfo ( string sku, Mark mark = null ) : VariationInfo
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат VariationInfo

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

public GetVariationInfoAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Результат Task

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

public Ping ( Mark mark = null ) : void
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public PingAsync ( Mark mark = null ) : System.Threading.Tasks.Task
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public RemoveLabelListFromItemList ( string labels, IEnumerable skus, string reason, Mark mark = null ) : void
labels string
skus IEnumerable
reason string
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public RemoveLabelListFromItemListAsync ( string labels, IEnumerable skus, string reason, Mark mark = null ) : System.Threading.Tasks.Task
labels string
skus IEnumerable
reason string
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public SynchItem ( InventoryItemSubmit item, bool isCreateNew = false, Mark mark = null ) : void
item InventoryItemSubmit
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public SynchItemAsync ( InventoryItemSubmit item, bool isCreateNew = false, Mark mark = null ) : System.Threading.Tasks.Task
item InventoryItemSubmit
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public SynchItems ( IEnumerable items, bool isCreateNew = false, Mark mark = null ) : void
items IEnumerable
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public SynchItemsAsync ( IEnumerable items, bool isCreateNew = false, Mark mark = null ) : System.Threading.Tasks.Task
items IEnumerable
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public UpdateQuantityAndPrice ( InventoryItemQuantityAndPrice itemQuantityAndPrice, Mark mark = null ) : void
itemQuantityAndPrice InventoryItemQuantityAndPrice
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public UpdateQuantityAndPriceAsync ( InventoryItemQuantityAndPrice itemQuantityAndPrice, Mark mark = null ) : System.Threading.Tasks.Task
itemQuantityAndPrice InventoryItemQuantityAndPrice
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task

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

public UpdateQuantityAndPrices ( IEnumerable itemQuantityAndPrices, Mark mark = null ) : void
itemQuantityAndPrices IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат void

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

public UpdateQuantityAndPricesAsync ( IEnumerable itemQuantityAndPrices, Mark mark = null ) : System.Threading.Tasks.Task
itemQuantityAndPrices IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Результат System.Threading.Tasks.Task