GetCustomerLoyaltyPoints Method
Gets the loyalty points for the specified customer.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Client
Assembly: Microsoft.Dynamics.Commerce.Runtime.Client (in Microsoft.Dynamics.Commerce.Runtime.Client.dll)
Syntax
'Declaration
Public Function GetCustomerLoyaltyPoints ( _
customerAccountNumber As String _
) As ReadOnlyCollection(Of CustomerLoyaltyCard)
'Usage
Dim instance As CustomerManager
Dim customerAccountNumber As String
Dim returnValue As ReadOnlyCollection(Of CustomerLoyaltyCard)
returnValue = instance.GetCustomerLoyaltyPoints(customerAccountNumber)
public ReadOnlyCollection<CustomerLoyaltyCard> GetCustomerLoyaltyPoints(
string customerAccountNumber
)
public:
ReadOnlyCollection<CustomerLoyaltyCard^>^ GetCustomerLoyaltyPoints(
String^ customerAccountNumber
)
Parameters
- customerAccountNumber
Type: System.String
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<CustomerLoyaltyCard>
The loyalty information.