CustomerAgreementCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. BasePartnerComponentString - com.
microsoft. store. partnercenter. agreements. CustomerAgreementCollectionOperations
- com.
- com.
- com.
Implements
public class CustomerAgreementCollectionOperations extends BasePartnerComponentString implements ICustomerAgreementCollection
Implements the operations on an Agreement collection.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerAgreementCollectionOperations(IPartner rootPartnerOperations, String customerId) |
Initializes a new instance of the Customer |
| CustomerAgreementCollectionOperations(IPartner rootPartnerOperations, String customerId, String agreementType) |
Initializes a new instance of the Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
ICustomer |
byAgreementType(String agreementType)
Retrieves the operations tied with a specified agreement type. |
| Agreement |
create(Agreement newEntity)
Creates an agreement between the partner and customer. |
|
Resource |
get()
Gets the list of agreements between a partner and customer. |
Inherited Members
Constructor Details
CustomerAgreementCollectionOperations
public CustomerAgreementCollectionOperations(IPartner rootPartnerOperations, String customerId)
Initializes a new instance of the CustomerAgreementCollectionOperations class.
Parameters:
CustomerAgreementCollectionOperations
public CustomerAgreementCollectionOperations(IPartner rootPartnerOperations, String customerId, String agreementType)
Initializes a new instance of the CustomerAgreementCollectionOperations class.
Parameters:
Method Details
byAgreementType
public ICustomerAgreementCollection byAgreementType(String agreementType)
Retrieves the operations tied with a specified agreement type.
Parameters:
Returns:
create
public Agreement create(Agreement newEntity)
Creates an agreement between the partner and customer.
Parameters:
Returns:
get
public ResourceCollection
Gets the list of agreements between a partner and customer.
Returns: