Class CustomerProductCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.customers.products.CustomerProductCollectionOperations
- All Implemented Interfaces:
ICustomerProductCollection,IEntitySelector<String,IProduct>,IPartnerComponent<String>,IPartnerComponentString
public class CustomerProductCollectionOperations extends BasePartnerComponentString implements ICustomerProductCollection
Product operations by customer id implementation class.
-
Constructor Summary
Constructors Constructor Description CustomerProductCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the CustomerProductCollectionOperations class. -
Method Summary
Modifier and Type Method Description IProductbyId(String productId)Retrieves the operations tied with a specific product for a given customer.ICustomerProductCollectionByTargetViewbyTargetView(String targetView)Retrieves the operations that can be applied on products in a given catalog view and 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
-
CustomerProductCollectionOperations
Initializes a new instance of the CustomerProductCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- Identifier for the customer.
-
-
Method Details
-
byId
Retrieves the operations tied with a specific product for a given customer.- Specified by:
byIdin interfaceICustomerProductCollection- Specified by:
byIdin interfaceIEntitySelector<String,IProduct>- Parameters:
productId- Identifier for the product.- Returns:
- The operations that can be performed on a single product.
-
byTargetView
Retrieves the operations that can be applied on products in a given catalog view and that apply to a given customer.- Specified by:
byTargetViewin interfaceICustomerProductCollection- Parameters:
targetView- The product target view.- Returns:
- The catalog view operations by target view
-