Class ProductCollectionByCountryOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.products.ProductCollectionByCountryOperations
- All Implemented Interfaces:
IEntitySelector<String,IProduct>,IPartnerComponent<String>,IPartnerComponentString,IProductCollectionByCountry
public class ProductCollectionByCountryOperations extends BasePartnerComponentString implements IProductCollectionByCountry
Product operations by country implementation class.
-
Constructor Summary
Constructors Constructor Description ProductCollectionByCountryOperations(IPartner rootPartnerOperations, String country)Initializes a new instance of the ProductCollectionByCountryOperations class. -
Method Summary
Modifier and Type Method Description IProductbyId(String productId)Retrieves the operations tied with a specific product.IProductCollectionByCountryByTargetViewbyTargetView(String targetView)Retrieves the operations that can be applied on products that belong to a given country, catalog view and target segment.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
-
ProductCollectionByCountryOperations
Initializes a new instance of the ProductCollectionByCountryOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.country- The country on which to base the products.
-
-
Method Details
-
byId
Retrieves the operations tied with a specific product.- Specified by:
byIdin interfaceIEntitySelector<String,IProduct>- Specified by:
byIdin interfaceIProductCollectionByCountry- Parameters:
productId- The identifier for the product.- Returns:
- The available product operations.
-
byTargetView
Retrieves the operations that can be applied on products that belong to a given country, catalog view and target segment.- Specified by:
byTargetViewin interfaceIProductCollectionByCountry- Parameters:
targetView- The product target view.- Returns:
- The product collection operations by country and by target view.
-