Interface IAnybillClientCustomerModule
Module of the IAnybillClient for working with the customer.
Namespace: anybill.POS.Client.Modules
Assembly: anybill.POS.Client.Abstractions.dll
Syntax
public interface IAnybillClientCustomerModule
Methods
IsActivatedAsync(CancellationToken)
Check if customer finished the onboarding process (marked as activated) and is allowed to use other vendor API endpoints.
CustomerActivatedDto = Returns if the customer was onboarded successfully.
CustomerNotActivatedDto = Returns if the customer wasn't onboarded successfully. Customer have to finish the onboarding process.
Declaration
Task<ICustomerResponse> IsActivatedAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ICustomerResponse> | Returns if the customer is activated or not. |