Interface IAnybillClientUserModule
Module of the IAnybillClient for working with the user.
Namespace: anybill.POS.Client.Modules
Assembly: anybill.POS.Client.Abstractions.dll
Syntax
public interface IAnybillClientUserModule
Methods
IdentifyAsync(UserIdentification, CancellationToken)
Identify user by userId, loyaltyCardBarcode or externalId
Declaration
Task<IUserIdentificationResponse> IdentifyAsync(UserIdentification userIdentification, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
UserIdentification | userIdentification | The data to identify the user. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IUserIdentificationResponse> | Id of the user, if user exists.s |