Package-level declarations
Types
Link copied to clipboard
interface PosLinkSDK
Interface for the PosLink integration SDK APIs.
Link copied to clipboard
interface PosLinkTokenProvider
Interface for providing authentication tokens to the SDK for calling PosLink endpoints. This is used when setting up the SDK with a custom token provider.
Functions
Link copied to clipboard
fun TeyaPosLinkPaymentInProgressUi(autoDismissOnFinalStateAfterMs: Long = 2000, onDismiss: (PaymentStateSubscription.PaymentStateDetails) -> Unit? = null): PaymentStateSubscription.PaymentStateChangeListener
Provides a com.teya.unifiedepossdk.PaymentStateSubscription.PaymentStateChangeListener to be used with com.teya.unifiedepossdk.PaymentStateSubscription.subscribe for displaying the Teya UI during an ongoing payment process.