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