ICustomerCollection Interface

Definition

Represents the behavior of the partner customers.

public interface ICustomerCollection : Microsoft.Store.PartnerCenter.GenericOperations.IEntireEntityCollectionRetrievalOperations<Microsoft.Store.PartnerCenter.Models.Customers.Customer,Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Customers.Customer>>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityCreateOperations<Microsoft.Store.PartnerCenter.Models.Customers.Customer,Microsoft.Store.PartnerCenter.Models.Customers.Customer>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityCreateOperations<Microsoft.Store.PartnerCenter.Models.Customers.Customer>, Microsoft.Store.PartnerCenter.GenericOperations.IEntitySelector<Microsoft.Store.PartnerCenter.Customers.ICustomer>, Microsoft.Store.PartnerCenter.IPartnerComponent, Microsoft.Store.PartnerCenter.IPartnerComponent<string>
type ICustomerCollection = interface
    interface IPartnerComponent
    interface IPartnerComponent<string>
    interface IEntireEntityCollectionRetrievalOperations<Customer, SeekBasedResourceCollection<Customer>>
    interface IEntityCreateOperations<Customer>
    interface IEntityCreateOperations<Customer, Customer>
    interface IEntitySelector<ICustomer>
Public Interface ICustomerCollection
Implements IEntireEntityCollectionRetrievalOperations(Of Customer, SeekBasedResourceCollection(Of Customer)), IEntityCreateOperations(Of Customer), IEntityCreateOperations(Of Customer, Customer), IEntitySelector(Of ICustomer), IPartnerComponent, IPartnerComponent(Of String)
Implements

Properties

Name Description
Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Item[String]

Gets the customer operations for a specific customer.

Partner

Gets a reference to the partner operations instance that generated this component.

(Inherited from IPartnerComponent<TContext>)
RelationshipRequest

Gets the relationship request behavior used to relate customers into the partner.

UsageRecords

Obtains the customer usage records behavior for the partner.

Methods

Name Description
ById(String)

Gets the customer operations for a specific customer.

Create(T)

Creates a new entity.

(Inherited from IEntityCreateOperations<T,T1>)
CreateAsync(T)

Asynchronously creates a new entity.

(Inherited from IEntityCreateOperations<T,T1>)
Get()

Retrieves all the partner's customers.

GetAsync()

Asynchronously retrieves all the partner's customers.

Query(IQuery)

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.
QueryAsync(IQuery)

Asynchronously 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.

Applies to