Interface ICustomerProductCollection
- All Superinterfaces:
IEntitySelector<String,IProduct>,IPartnerComponent<String>,IPartnerComponentString
- All Known Implementing Classes:
CustomerProductCollectionOperations
public interface ICustomerProductCollection extends IPartnerComponentString, IEntitySelector<String,IProduct>
Holds operations that can be performed on products that apply to a given customer.
-
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 interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
byId
Retrieves the operations tied with a specific product for a given customer.- 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.- Parameters:
targetView- The product target view.- Returns:
- The catalog view operations by target view
-