Interface IOfferAddOns
- All Superinterfaces:
IEntireEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IPagedEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IPartnerComponent<Tuple<String,String>>
- All Known Implementing Classes:
OfferAddOnsOperations
public interface IOfferAddOns extends IPartnerComponent<Tuple<String,String>>, IEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>
Defines the behavior of an offer's add-ons.
-
Method Summary
Modifier and Type Method Description ResourceCollection<Offer>get()Retrieves all the offers for the provided country.ResourceCollection<Offer>get(int offset, int size)Retrieves a subset of offers for the provided country.Methods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
get
ResourceCollection<Offer> get()Retrieves all the offers for the provided country.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>- Returns:
- The offers for the provided country.
-
get
Retrieves a subset of offers for the provided country.- 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 for the given country.
-