Interface ISkuCollection
- All Superinterfaces:
IEntireEntityCollectionRetrievalOperations<Sku,ResourceCollection<Sku>>,IEntitySelector<String,ISku>,IPartnerComponent<Tuple<String,String>>
- All Known Implementing Classes:
CustomerSkuCollectionOperations,SkuCollectionOperations
public interface ISkuCollection extends IPartnerComponent<Tuple<String,String>>, IEntitySelector<String,ISku>, IEntireEntityCollectionRetrievalOperations<Sku,ResourceCollection<Sku>>
Holds operations that can be performed on SKUs.
-
Method Summary
Modifier and Type Method Description ISkubyId(String skuId)Retrieves the operations tied with a specific SKU.ISkuCollectionByTargetSegmentbyTargetSegment(String targetSegment)Retrieves the operations that can be applied on SKUs that belong to a segment.ResourceCollection<Sku>get()Retrieves all the SKUs for the provided product.Methods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
byId
Retrieves the operations tied with a specific SKU.- Specified by:
byIdin interfaceIEntitySelector<String,ISku>- Parameters:
skuId- Identifier for the SKU.- Returns:
- The available SKU operations.
-
byTargetSegment
Retrieves the operations that can be applied on SKUs that belong to a segment.- Parameters:
targetSegment- The SKU segment filter.- Returns:
- The SKU collection operations by target segment.
-
get
ResourceCollection<Sku> get()Retrieves all the SKUs for the provided product.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Sku,ResourceCollection<Sku>>- Returns:
- The SKUs for the provided product.
-