Class OfferCategoryCountrySelector
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.offers.OfferCategoryCountrySelector
- All Implemented Interfaces:
ICountrySelector<IOfferCategoryCollection>,IPartnerComponent<String>
public class OfferCategoryCountrySelector extends BasePartnerComponentString implements ICountrySelector<IOfferCategoryCollection>
-
Constructor Summary
Constructors Constructor Description OfferCategoryCountrySelector(IPartner rootPartnerOperations)Initializes a new instance of the OfferCountrySelector class. -
Method Summary
Modifier and Type Method Description IOfferCategoryCollectionbyCountry(String country)Scopes offers behavior to a specific country.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartner
-
Constructor Details
-
OfferCategoryCountrySelector
Initializes a new instance of the OfferCountrySelector class.- Parameters:
rootPartnerOperations- The root partner operations instance.
-
-
Method Details
-
byCountry
Scopes offers behavior to a specific country.- Specified by:
byCountryin interfaceICountrySelector<IOfferCategoryCollection>- Parameters:
country- The country to be used by the returned operations.- Returns:
- An operations interface customized for the provided country.
-