.Net SDK Integration
The TIM API uses two different types of automatisms:
Pre-Automatisms
Actions performed automatically before a function can be called. For example, a transaction can be called in disconnected state without having called connect, login, and activate in advance. These are called automatically by the TIM API.
Pre-Automatisms are enabled by default and cannot be disabled.
Integration Steps
1
Create Terminal Settings
Create TerminalSettings and initialize connection parameters (see Setup Configuration)
2
Create Terminal Instance
Create Terminal instance using the created TerminalSettings
3
Set Properties
Set some properties where required:
- Define a POS ID
- Create mandatory list of
EcrInfoand add withAddEcrData - Create list of
PrintOptionsand set the terminal memberPrintOptions - Register listener-events. See chapter Terminal methods.
4
5
Use Terminal Operations
Execute terminal operation functions as needed.
Post-Automatisms
Actions triggered after an operation has been performed. Controlled by:
| Setting | Description |
|---|---|
auto_commit | Automatically performs a commit after a transaction |
fetch_brands | Automatically calls application_information after connect |
Both are enabled by default.