Constructor OnlineEftposClient
OnlineEftposClient(IOnlineEftposCredentialProvider, OnlineEftposApiVersion, OnlineEftposApiEnvironment)
Minium constructor.
Declaration
public OnlineEftposClient(IOnlineEftposCredentialProvider credentialProvider, OnlineEftposApiVersion apiVersion, OnlineEftposApiEnvironment apiEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IOnlineEftposCredentialProvider | credentialProvider | A IOnlineEftposCredentialProvider instance that can provide credentials used to obtain a token from the API for subsequent calls. See OnlineEftposCredentialsProvider for default implementations, or create your own. |
OnlineEftposApiVersion | apiVersion | A value from the ApiVersion enum specifying the version of the Online Eftpos API this client connects to. |
OnlineEftposApiEnvironment | apiEnvironment | A value from the ApiEnvironment enum specifying either a test or live environment for this client to connect to. |
See Also
OnlineEftposClient(IOnlineEftposCredentialProvider, OnlineEftposApiVersion, OnlineEftposApiEnvironment, HttpClient)
Full constructor.
Declaration
public OnlineEftposClient(IOnlineEftposCredentialProvider credentialProvider, OnlineEftposApiVersion apiVersion, OnlineEftposApiEnvironment apiEnvironment, HttpClient httpClient)
Parameters
Type | Name | Description |
---|---|---|
IOnlineEftposCredentialProvider | credentialProvider | A IOnlineEftposCredentialProvider instance that can provide credentials used to obtain a token from the API for subsequent calls. See SecureStringOnlineEftposCredentialProvider (if available) or OnlineEftposCredentialsProvider for default implementations, or create your own. |
OnlineEftposApiVersion | apiVersion | A value from the ApiVersion enum specifying the version of the Online Eftpos API this client connects to. |
OnlineEftposApiEnvironment | apiEnvironment | A value from the ApiEnvironment enum specifying either a test or live environment for this client to connect to. |
HttpClient | httpClient | A instance of |
See Also
OnlineEftposClient(IOnlineEftposCredentialProvider, OnlineEftposApiVersion, OnlineEftposApiEnvironment)
Minium constructor.
Declaration
public OnlineEftposClient(IOnlineEftposCredentialProvider credentialProvider, OnlineEftposApiVersion apiVersion, OnlineEftposApiEnvironment apiEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IOnlineEftposCredentialProvider | credentialProvider | A IOnlineEftposCredentialProvider instance that can provide credentials used to obtain a token from the API for subsequent calls. See OnlineEftposCredentialsProvider for default implementations, or create your own. |
OnlineEftposApiVersion | apiVersion | A value from the ApiVersion enum specifying the version of the Online Eftpos API this client connects to. |
OnlineEftposApiEnvironment | apiEnvironment | A value from the ApiEnvironment enum specifying either a test or live environment for this client to connect to. |
See Also
OnlineEftposClient(IOnlineEftposCredentialProvider, OnlineEftposApiVersion, OnlineEftposApiEnvironment, HttpClient)
Full constructor.
Declaration
public OnlineEftposClient(IOnlineEftposCredentialProvider credentialProvider, OnlineEftposApiVersion apiVersion, OnlineEftposApiEnvironment apiEnvironment, HttpClient httpClient)
Parameters
Type | Name | Description |
---|---|---|
IOnlineEftposCredentialProvider | credentialProvider | A IOnlineEftposCredentialProvider instance that can provide credentials used to obtain a token from the API for subsequent calls. See SecureStringOnlineEftposCredentialProvider (if available) or OnlineEftposCredentialsProvider for default implementations, or create your own. |
OnlineEftposApiVersion | apiVersion | A value from the ApiVersion enum specifying the version of the Online Eftpos API this client connects to. |
OnlineEftposApiEnvironment | apiEnvironment | A value from the ApiEnvironment enum specifying either a test or live environment for this client to connect to. |
HttpClient | httpClient | A instance of |