Class ProductCollectionByCountryByTargetViewOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.products.ProductCollectionByCountryByTargetViewOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<Product,ResourceCollection<Product>>,IPartnerComponent<Tuple<String,String>>,IProductCollectionByCountryByTargetView
public class ProductCollectionByCountryByTargetViewOperations extends BasePartnerComponent<Tuple<String,String>> implements IProductCollectionByCountryByTargetView
Product operations by country and by target view implementation class.
-
Constructor Summary
Constructors Constructor Description ProductCollectionByCountryByTargetViewOperations(IPartner rootPartnerOperations, String targetView, String country)Initializes a new instance of the ProductCollectionByCountryByTargetViewByTargetSegmentOperations class. -
Method Summary
Modifier and Type Method Description IProductCollectionByCountryByTargetViewByTargetSegmentbyTargetSegment(String targetSegment)Retrieves the operations that can be applied on products that belong to a given country, catalog view and target segment.ResourceCollection<Product>get()Retrieves all the products in the 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
-
ProductCollectionByCountryByTargetViewOperations
public ProductCollectionByCountryByTargetViewOperations(IPartner rootPartnerOperations, String targetView, String country)Initializes a new instance of the ProductCollectionByCountryByTargetViewByTargetSegmentOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.targetView- The target view which contains the products.country- The country on which to base the products.
-
-
Method Details
-
byTargetSegment
public IProductCollectionByCountryByTargetViewByTargetSegment byTargetSegment(String targetSegment)Retrieves the operations that can be applied on products that belong to a given country, catalog view and target segment.- Specified by:
byTargetSegmentin interfaceIProductCollectionByCountryByTargetView- Parameters:
targetSegment- The target segment filter.- Returns:
- The product collection operations by country, by target view and by target segment.
-
get
Retrieves all the products in the given country, catalog view and target segment.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Product,ResourceCollection<Product>>- Specified by:
getin interfaceIProductCollectionByCountryByTargetView- Returns:
- The products in the given country, catalog view and target segment.
-