Package-level declarations

Types

Link copied to clipboard
data class AvailablePaymentMethods(val creditCardMethod: ChannelMethod?, val blikMethod: ChannelMethod?, val availableTransfers: List<ChannelMethod>, val availableWallets: List<WalletMethod>, val availablePekaoInstallmentMethods: List<ChannelMethod>)

Class responsible for storing payment methods that are available and safe to use, meaning that payment constraints were checked.

Link copied to clipboard
data class ChannelMethod(val channelId: Int, val name: String, val imageUrl: String)

Class responsible for storing basic information about channel

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GroupedPaymentChannels(val creditCardChannel: PaymentChannel?, val blikChannel: PaymentChannel?, val transferChannels: List<PaymentChannel>, val walletChannels: List<PaymentChannel>, val installmentPayments: List<InstallmentPaymentKind>)

Class responsible for storing grouped payment channels.

Link copied to clipboard
data class InstallmentPaymentKind(val installmentPayment: InstallmentPayment, val channels: List<PaymentChannel>)

Class responsible for storing information about payment channels available for installmentPayment kind.

Link copied to clipboard
data class PaymentChannel(val id: String, val name: String, val imageUrl: String, val isAvailable: Boolean, val isOnline: Boolean, val isInstantRedirectionAvailable: Boolean, val groups: List<PaymentGroup>, val constraints: List<PaymentConstraint>)

Class storing information about payment channel

Link copied to clipboard
sealed class PaymentConstraint

Class storing information about a payment constraint. Filter payment methods according to the constraints, to avoid errors while creating payments.

Link copied to clipboard
data class PaymentGroup(val id: String, val name: String, val imageUrl: String)

Class storing information about a payment group

Link copied to clipboard
data class WalletMethod(val wallet: DigitalWallet, val method: ChannelMethod)

Class responsible for storing basic information about wallet method