GetCustomers(T) Method (Int64, String, String, String, QueryResultSettings)
Gets the customers.
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
- Type: System.String
- settings
- Type: Microsoft.Dynamics.Commerce.Runtime.QueryResultSettings
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<T>List of customers matching criteria.
Show: