Grouped Payment Channels
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.
Parameters
credit Card Channel
if not null, stores information about credit card channel
blik Channel
if not null, stores information about BLIK channel
transfer Channels
stores information about transfer channels
wallet Channels
stores information about digital wallet channels
installment Payments
stores information about different kinds of installment payments
Constructors
Link copied to clipboard
fun GroupedPaymentChannels(creditCardChannel: PaymentChannel?, blikChannel: PaymentChannel?, transferChannels: List<PaymentChannel>, walletChannels: List<PaymentChannel>, installmentPayments: List<InstallmentPaymentKind>)
Types
Functions
Link copied to clipboard
fun getAvailableInstallmentMethods(installmentPayment: InstallmentPayment, amount: Double): List<PaymentChannel>
Returns available installment payments of type installmentPayment for specified amount.
Link copied to clipboard
Returns available transfer payment channels for specified amount.
Link copied to clipboard
Returns BLIK channel if available for specified amount
Link copied to clipboard
Returns credit card channel if available for specified amount
Link copied to clipboard
Returns Google Pay channel if available for specified amount