GetCustomers(T) Method (Int64, String, String, String, QueryResultSettings)

Gets the customers.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

public ReadOnlyCollection<T> GetCustomers<T>(
	long recordId,
	string accountNumber,
	string loyaltyCardNumber,
	string email,
	QueryResultSettings settings
)
where T : new(), Customer

Type Parameters

T

Parameters

recordId
Type: System.Int64
accountNumber
Type: System.String
loyaltyCardNumber
Type: System.String
email
Type: System.String
settings
Type: Microsoft.Dynamics.Commerce.Runtime.QueryResultSettings

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<T>
List of customers matching criteria.

Community Additions

Show: