PosLinkSDK
Interface for the PosLink integration SDK APIs.
It contains methods specific to PosLink integration type and upon successful setup, the com.teya.unifiedepossdk.TeyaCommonTransactionsApi instance will be available, which has a common API with other integration types for creating transactions.
Types
Represents a failure when retrieving the list of terminals.
Represents a failure when linking to a terminal.
Callback invoked when setup fails with SetupFailure
Callback invoked when setup is successful com.teya.unifiedepossdk.TeyaCommonTransactionsApi.
Represents possible failure reasons during the setup process.
Properties
Provides information about the currently linked device and store. Only non-null when both store and terminal are linked.
Provides information about the currently linked store.
Provides information about the currently linked device.
Provides TeyaCommonPrintingApi.
Provides TeyaCommonTransactionsApi.
Functions
Removes the linked device information. After invoking this method, the previously returned com.teya.unifiedepossdk.TeyaCommonTransactionsApi instance will still reference the same device. To link a new device, setup must be called again.
Removes the stored authentication information as well as store and device linking. After invoking this method, the previously returned com.teya.unifiedepossdk.TeyaCommonTransactionsApi instance will no longer function. To restore functionality, setup must be called again.
Retrieves the list of terminals associated with the currently linked store.
Links to a terminal from the current store with the given terminalId, or shows the terminal selection UI if terminalId is null.
Sets up the PosLink integration.
Same as setup but skips terminal linking.
Like setup (the one with preselectedStore parameter), but skips terminal linking.