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