Class AgreementDetailsCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.agreements.AgreementDetailsCollectionOperations
- All Implemented Interfaces:
IAgreementDetailsCollection,IEntireEntityCollectionRetrievalOperations<AgreementMetaData,ResourceCollection<AgreementMetaData>>,IPartnerComponent<String>,IPartnerComponentString
public class AgreementDetailsCollectionOperations extends BasePartnerComponentString implements IAgreementDetailsCollection
Agreement details collection operations implementation class.
-
Constructor Summary
Constructors Constructor Description AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)Initializes a new instance of the AgreementDetailsCollectionOperations class.AgreementDetailsCollectionOperations(IPartner rootPartnerOperations, String agreementType)Initializes a new instance of the AgreementDetailsCollectionOperations class. -
Method Summary
Modifier and Type Method Description IAgreementDetailsCollectionbyAgreementType(String agreementType)Retrieves the operations tied with a specified agreement type.ResourceCollection<AgreementMetaData>get()Retrieves the agreement details.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
-
AgreementDetailsCollectionOperations
Initializes a new instance of the AgreementDetailsCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.
-
AgreementDetailsCollectionOperations
Initializes a new instance of the AgreementDetailsCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.agreementType- The type of the agreement used to filter.
-
-
Method Details
-
get
Retrieves the agreement details.- Specified by:
getin interfaceIAgreementDetailsCollection- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<AgreementMetaData,ResourceCollection<AgreementMetaData>>- Returns:
- A list of agreement details.
-
byAgreementType
Retrieves the operations tied with a specified agreement type.- Specified by:
byAgreementTypein interfaceIAgreementDetailsCollection- Parameters:
agreementType- The agreement type filter.- Returns:
- The available operations for agreement details.
-