CustomerCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. BasePartnerComponentString - com.
microsoft. store. partnercenter. customers. CustomerCollectionOperations
- com.
- com.
- com.
Implements
public class CustomerCollectionOperations extends BasePartnerComponentString implements ICustomerCollection
The partner customers implementation.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerCollectionOperations(IPartner rootPartnerOperations) |
Initializes a new instance of the Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| ICustomer |
byId(String customerId)
Gets a single customer operations. |
| Customer |
create(Customer newCustomer)
Creates a new customer. |
|
Seek |
get()
Retrieves all customers associated to the partner. |
|
ICustomer |
getRelationshipRequests()
Obtains the customer relationship request operations. |
|
ICustomer |
getUsageRecords()
Obtains the customer usage record operations. |
|
Seek |
query(IQuery customersQuery)
Queries customers associated to the partner. |
Inherited Members
Constructor Details
CustomerCollectionOperations
public CustomerCollectionOperations(IPartner rootPartnerOperations)
Initializes a new instance of the CustomerCollectionOperations class.
Parameters:
Method Details
byId
public ICustomer byId(String customerId)
Gets a single customer operations.
Parameters:
Returns:
create
public Customer create(Customer newCustomer)
Creates a new customer.
Parameters:
Returns:
get
public SeekBasedResourceCollection
Retrieves all customers associated to the partner.
Returns:
getRelationshipRequests
public ICustomerRelationshipRequest getRelationshipRequests()
Obtains the customer relationship request operations.
Returns:
getUsageRecords
public ICustomerUsageRecordCollection getUsageRecords()
Obtains the customer usage record operations.
Returns:
query
public SeekBasedResourceCollection
Queries customers associated to the partner. - Count queries are not supported by this operation. - You can set the page size or filter or do both at the same time. - Sort is not supported. - You can navigate to other pages by specifying a seek query with the seek operation and the continuation token sent by the previous operation.
Parameters:
Returns: