Package-level declarations

Types

Link copied to clipboard

Class responsible for monitoring transaction state. When started with start it continues to send requests even when network exceptions occur.

Link copied to clipboard
data class LongPollingConfig(val delayMillis: Long, val maxRequestCount: Int? = null, val stopOnFirstRequestError: Boolean = false, val onTransactionState: (TransactionState) -> Unit, val onRequestError: (Exception) -> Unit, val onMaxRequestCount: () -> Unit = { })

Class responsible for storing long polling config

Link copied to clipboard
data class Notifications(val notificationUrl: String, val notificationEmail: String)

Class responsible for storing information about notifications

Link copied to clipboard
abstract class Payment<T>
Link copied to clipboard
abstract class PaymentBuilder<T : Payment<*>>
Link copied to clipboard
data class PaymentDetails(val amount: Double, val description: String, val hiddenDescription: String? = null, val language: Language? = null)

Class responsible for storing basic information about payment.

Link copied to clipboard
data class Redirects(val successUrl: String, val errorUrl: String)

Class responsible for storing payment redirect data

Link copied to clipboard

Enum defining state of transaction