Class CustomerProductCollectionByTargetViewOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.customers.products.CustomerProductCollectionByTargetViewOperations
- All Implemented Interfaces:
ICustomerProductCollectionByTargetView,IEntireEntityCollectionRetrievalOperations<Product,ResourceCollection<Product>>,IPartnerComponent<Tuple<String,String>>
public class CustomerProductCollectionByTargetViewOperations extends BasePartnerComponent<Tuple<String,String>> implements ICustomerProductCollectionByTargetView
Implements the product operations by customer identifier and target view.
-
Constructor Summary
Constructors Constructor Description CustomerProductCollectionByTargetViewOperations(IPartner rootPartnerOperations, String customerId, String targetView)Initializes a new instance of the CustomerProductCollectionByTargetViewOperations class. -
Method Summary
Modifier and Type Method Description ICustomerProductCollectionByTargetViewByReservationScopebyReservationScope(String reservationScope)Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by reservation scope.ICustomerProductCollectionByTargetViewByTargetSegmentbyTargetSegment(String targetSegment)Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by target segment.ResourceCollection<Product>get()Gets all the products in a given catalog view that apply to a given customer.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
-
CustomerProductCollectionByTargetViewOperations
public CustomerProductCollectionByTargetViewOperations(IPartner rootPartnerOperations, String customerId, String targetView)Initializes a new instance of the CustomerProductCollectionByTargetViewOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- Identifier for the customer.targetView- The target view which contains the products.
-
-
Method Details
-
byReservationScope
public ICustomerProductCollectionByTargetViewByReservationScope byReservationScope(String reservationScope)Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by reservation scope.- Specified by:
byReservationScopein interfaceICustomerProductCollectionByTargetView- Parameters:
reservationScope- The reservation scope filter.- Returns:
- The product collection operations by customer, by target view and by reservation scope.
-
byTargetSegment
Gets the operations that can be applied on products in a given catalog view and that apply to a given customer, filtered by target segment.- Specified by:
byTargetSegmentin interfaceICustomerProductCollectionByTargetView- Parameters:
targetSegment- The product segment filter.- Returns:
- The product collection operations by customer, by target view and by target segment.
-
get
Gets all the products in a given catalog view that apply to a given customer.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Product,ResourceCollection<Product>>- Returns:
- The products in a given catalog view that apply to a given customer.
-