from
fun from(grouped: GroupedPaymentChannels, methods: List<PaymentMethod>, amount: Double): AvailablePaymentMethods
Method responsible for creating AvailablePaymentMethods. Resulting object will contain a common part of methods from grouped and methods.
Parameters
grouped
grouped payment channels created with GroupedPaymentChannels.from method
methods
payment methods that you want to use
amount
final price that will be used while creating the transaction, payment channels will be filtered to satisfy the PaymentConstraint.Amount constraint