Interface ICategoryOffersCollection
- All Superinterfaces:
IEntireEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IPagedEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IPartnerComponent<Tuple<String,String>>
- All Known Implementing Classes:
CategoryOffersCollectionOperations
public interface ICategoryOffersCollection extends IPartnerComponent<Tuple<String,String>>, IEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>
-
Method Summary
Modifier and Type Method Description ResourceCollection<Offer>get()Retrieves all the offers in the given offer category.ResourceCollection<Offer>get(int offset, int size)Retrieves a subset of offers in the given offer category.Methods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
get
ResourceCollection<Offer> get()Retrieves all the offers in the given offer category.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>- Returns:
- The offers in the given offer category.
-
get
Retrieves a subset of offers in the given offer category.- Specified by:
getin interfaceIPagedEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>- Parameters:
offset- The starting index.size- The maximum number of offers to return.- Returns:
- The requested segment of the offers in the given offer category.
-