IOSAllInOneSDK

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

Properties

Link copied to clipboard
abstract val isAvailable: Boolean

Returns true if there is a Teya Payments App installed, false otherwise.

Link copied to clipboard

Sets up the AioReceiptPrintingApi instance. Returns null if there is no Teya Payments App installed or if the current device / app doesn't support receipt printing.

Functions

Link copied to clipboard
abstract fun handleTeyaAppResponseURL(url: NSURL): Boolean

Handles a payment response URL received from the Teya payment app.

Link copied to clipboard
abstract fun setupTransactionsApi(skipApprovedScreen: Boolean = false, allowPaymentAppTips: Boolean = true, showReceiptOptionsOnPaymentApp: Boolean = false): TeyaCommonTransactionsApi?

Sets up the TeyaCommonTransactionsApi instance. Returns null if there is no Teya Payments App installed.