C# Class ChannelAdvisorAccess.Services.Items.ItemsService

Inheritance: IItemsService
Afficher le fichier Open project: agileharbor/channelAdvisorAccess

Méthodes publiques

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

Private Methods

Méthode Description
DownloadAllItems ( Mark mark = null ) : IEnumerable
GetCachedInventory ( Mark mark = null ) : IEnumerable
UseCache ( ) : bool

Method Details

AssignLabelListToItemList() public méthode

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
Résultat void

AssignLabelListToItemListAsync() public méthode

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

DeleteItem() public méthode

public DeleteItem ( string sku, Mark mark = null ) : void
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

DeleteItemAsync() public méthode

public DeleteItemAsync ( string sku, Mark mark = null ) : System.Threading.Tasks.Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat System.Threading.Tasks.Task

DoSkusExist() public méthode

public DoSkusExist ( IEnumerable skus, Mark mark = null ) : IEnumerable
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat IEnumerable

DoSkusExistAsync() public méthode

public DoSkusExistAsync ( IEnumerable skus, Mark mark = null ) : Task>
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task>

DoesSkuExist() public méthode

public DoesSkuExist ( string sku, Mark mark = null ) : bool
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat bool

DoesSkuExistAsync() public méthode

public DoesSkuExistAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetAllItems() public méthode

public GetAllItems ( Mark mark = null ) : IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat IEnumerable

GetAllSkus() public méthode

public GetAllSkus ( Mark mark = null ) : IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat IEnumerable

GetAllSkusAsync() public méthode

public GetAllSkusAsync ( Mark mark = null ) : Task>
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task>

GetAttributes() public méthode

public GetAttributes ( string sku, Mark mark = null ) : AttributeInfo[]
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat AttributeInfo[]

GetAttributesAsync() public méthode

public GetAttributesAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetAvailableQuantities() public méthode

public GetAvailableQuantities ( IEnumerable skus, Mark mark = null ) : IEnumerable
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat IEnumerable

GetAvailableQuantitiesAsync() public méthode

public GetAvailableQuantitiesAsync ( IEnumerable skus, Mark mark = null ) : Task>
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task>

GetAvailableQuantity() public méthode

Gets the available quantity.
public GetAvailableQuantity ( string sku, Mark mark = null ) : int
sku string The sku of the item.
mark ChannelAdvisorAccess.Misc.Mark
Résultat int

GetAvailableQuantityAsync() public méthode

public GetAvailableQuantityAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetClassificationConfigInfo() public méthode

public GetClassificationConfigInfo ( Mark mark = null ) : ClassificationConfigurationInformation[]
mark ChannelAdvisorAccess.Misc.Mark
Résultat ClassificationConfigurationInformation[]

GetClassificationConfigInfoAsync() public méthode

public GetClassificationConfigInfoAsync ( Mark mark = null ) : Task
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetClassificationConfigurationInformation() public méthode

public GetClassificationConfigurationInformation ( Mark mark = null ) : ClassificationConfigurationInformation[]
mark ChannelAdvisorAccess.Misc.Mark
Résultat ClassificationConfigurationInformation[]

GetClassificationConfigurationInformationAsync() public méthode

public GetClassificationConfigurationInformationAsync ( Mark mark = null ) : Task
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetDistributionCenterList() public méthode

public GetDistributionCenterList ( Mark mark = null ) : DistributionCenterResponse[]
mark ChannelAdvisorAccess.Misc.Mark
Résultat DistributionCenterResponse[]

GetDistributionCenterListAsync() public méthode

public GetDistributionCenterListAsync ( Mark mark = null ) : Task
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetFilteredItems() public méthode

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
Résultat IEnumerable

GetFilteredItemsAsync() public méthode

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
Résultat Task>

GetFilteredItemsAsync() public méthode

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
Résultat Task>

GetFilteredSkus() public méthode

public GetFilteredSkus ( ItemsFilter filter, Mark mark = null ) : IEnumerable
filter ItemsFilter
mark ChannelAdvisorAccess.Misc.Mark
Résultat IEnumerable

GetFilteredSkusAsync() public méthode

public GetFilteredSkusAsync ( ItemsFilter filter, Mark mark = null ) : Task>
filter ItemsFilter
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task>

GetFilteredSkusAsync() public méthode

public GetFilteredSkusAsync ( ItemsFilter filter, int startPage, int pageLimit, Mark mark = null ) : Task>
filter ItemsFilter
startPage int
pageLimit int
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task>

GetImageList() public méthode

public GetImageList ( string sku, Mark mark = null ) : ImageInfoResponse[]
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat ImageInfoResponse[]

GetImageListAsync() public méthode

public GetImageListAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetItemQuantities() public méthode

Gets the additional item quantities.
public GetItemQuantities ( string sku, Mark mark = null ) : QuantityInfoResponse
sku string The sku.
mark ChannelAdvisorAccess.Misc.Mark
Résultat QuantityInfoResponse

GetItemQuantitiesAsync() public méthode

public GetItemQuantitiesAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetItems() public méthode

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
Résultat IEnumerable

GetItemsAsync() public méthode

public GetItemsAsync ( IEnumerable skus, Mark mark = null ) : Task>
skus IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task>

GetShippingInfo() public méthode

public GetShippingInfo ( string sku, Mark mark = null ) : DistributionCenterInfoResponse[]
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat DistributionCenterInfoResponse[]

GetShippingInfoAsync() public méthode

public GetShippingInfoAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetStoreInfo() public méthode

public GetStoreInfo ( string sku, Mark mark = null ) : StoreInfo
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat StoreInfo

GetStoreInfoAsync() public méthode

public GetStoreInfoAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

GetVariationInfo() public méthode

public GetVariationInfo ( string sku, Mark mark = null ) : VariationInfo
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat VariationInfo

GetVariationInfoAsync() public méthode

public GetVariationInfoAsync ( string sku, Mark mark = null ) : Task
sku string
mark ChannelAdvisorAccess.Misc.Mark
Résultat Task

Ping() public méthode

public Ping ( Mark mark = null ) : void
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

PingAsync() public méthode

public PingAsync ( Mark mark = null ) : System.Threading.Tasks.Task
mark ChannelAdvisorAccess.Misc.Mark
Résultat System.Threading.Tasks.Task

RemoveLabelListFromItemList() public méthode

public RemoveLabelListFromItemList ( string labels, IEnumerable skus, string reason, Mark mark = null ) : void
labels string
skus IEnumerable
reason string
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

RemoveLabelListFromItemListAsync() public méthode

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

SynchItem() public méthode

public SynchItem ( InventoryItemSubmit item, bool isCreateNew = false, Mark mark = null ) : void
item InventoryItemSubmit
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

SynchItemAsync() public méthode

public SynchItemAsync ( InventoryItemSubmit item, bool isCreateNew = false, Mark mark = null ) : System.Threading.Tasks.Task
item InventoryItemSubmit
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Résultat System.Threading.Tasks.Task

SynchItems() public méthode

public SynchItems ( IEnumerable items, bool isCreateNew = false, Mark mark = null ) : void
items IEnumerable
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

SynchItemsAsync() public méthode

public SynchItemsAsync ( IEnumerable items, bool isCreateNew = false, Mark mark = null ) : System.Threading.Tasks.Task
items IEnumerable
isCreateNew bool
mark ChannelAdvisorAccess.Misc.Mark
Résultat System.Threading.Tasks.Task

UpdateQuantityAndPrice() public méthode

public UpdateQuantityAndPrice ( InventoryItemQuantityAndPrice itemQuantityAndPrice, Mark mark = null ) : void
itemQuantityAndPrice InventoryItemQuantityAndPrice
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

UpdateQuantityAndPriceAsync() public méthode

public UpdateQuantityAndPriceAsync ( InventoryItemQuantityAndPrice itemQuantityAndPrice, Mark mark = null ) : System.Threading.Tasks.Task
itemQuantityAndPrice InventoryItemQuantityAndPrice
mark ChannelAdvisorAccess.Misc.Mark
Résultat System.Threading.Tasks.Task

UpdateQuantityAndPrices() public méthode

public UpdateQuantityAndPrices ( IEnumerable itemQuantityAndPrices, Mark mark = null ) : void
itemQuantityAndPrices IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat void

UpdateQuantityAndPricesAsync() public méthode

public UpdateQuantityAndPricesAsync ( IEnumerable itemQuantityAndPrices, Mark mark = null ) : System.Threading.Tasks.Task
itemQuantityAndPrices IEnumerable
mark ChannelAdvisorAccess.Misc.Mark
Résultat System.Threading.Tasks.Task