Class CustomerRelationshipCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.relationships.CustomerRelationshipCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<PartnerRelationship,ResourceCollection<PartnerRelationship>>,IPartnerComponent<String>,IPartnerComponentString,ICustomerRelationshipCollection
public class CustomerRelationshipCollectionOperations extends BasePartnerComponentString implements ICustomerRelationshipCollection
For two-tier partner scenarios, holds the operations for retrieving partner relationships
of a customer with respect to the logged in partner.
-
Constructor Summary
Constructors Constructor Description CustomerRelationshipCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the CustomerRelationshipCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<PartnerRelationship>get()Retrieves all the partner relationships associated to the customer based on the logged in partner.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
-
CustomerRelationshipCollectionOperations
Initializes a new instance of the CustomerRelationshipCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- Identifier for the customer.
-
-
Method Details
-
get
Retrieves all the partner relationships associated to the customer based on the logged in partner.- Specified by:
getin interfaceICustomerRelationshipCollection- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<PartnerRelationship,ResourceCollection<PartnerRelationship>>- Returns:
- The partner relationships.
-