from

fun from(channels: List<PaymentChannel>, ignoreUnsupported: Boolean = true): GroupedPaymentChannels

This method groups payment channels, so they are easier to display.

Parameters

channels

channels received from GetPaymentChannels.execute method

ignoreUnsupported

if true, ignores unsupported payment channels, currently ignores only Apple Pay because it is not available on Android