Package-level declarations

Types

Link copied to clipboard

Receipt printing APIs.

Link copied to clipboard
interface AllInOneSDK

Interface for the "All In One" integration SDK APIs. "All In One" here means that the ePOS App is running in the same device as the Teya Payments App. Use isAvailable to check if that is the case.

Link copied to clipboard

iOS-specific extension of AllInOneSDK that provides methods for handling payment response URLs received from the payment app via deep linking.

Link copied to clipboard

Listener for missed responses. On Android, it is technically possible that the OS kills the app before the response is received. In that case, once the process gets recreated and you call TeyaAllInOneSDK, the missed responses will be delivered to this listener.

Functions

Link copied to clipboard
@JvmName(name = "init")
fun TeyaAllInOneSDK(onMissedResponseListener: MissedResponseListener, logger: Logger? = null, eposInstanceId: String? = null): AllInOneSDK

Android specific entry point to the "All In One" integration SDK APIs. Returns AllInOneSDK instance.

fun TeyaAllInOneSDK(logger: Logger? = null, eposInstanceId: String? = null): IOSAllInOneSDK

iOS specific entry point to the "All In One" integration SDK APIs. Returns IOSAllInOneSDKImpl instance that extends AllInOneSDK with iOS-specific methods.