Class OfferCategoryCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.offers.OfferCategoryCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<OfferCategory,ResourceCollection<OfferCategory>>,IPartnerComponent<String>,IPartnerComponentString,IOfferCategoryCollection
public class OfferCategoryCollectionOperations extends BasePartnerComponentString implements IOfferCategoryCollection
Offers categories implementation.
-
Constructor Summary
Constructors Constructor Description OfferCategoryCollectionOperations(IPartner rootPartnerOperations, String country)Initializes a new instance of the OfferCategoryCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<OfferCategory>get()Retrieves all offer categories available to the partner for the provided country.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
OfferCategoryCollectionOperations
Initializes a new instance of the OfferCategoryCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.country- The country on which to base the offer categories
-
-
Method Details
-
get
Retrieves all offer categories available to the partner for the provided country.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<OfferCategory,ResourceCollection<OfferCategory>>- Specified by:
getin interfaceIOfferCategoryCollection- Returns:
- All offer categories for the provided country.
-