PaymentChannel

fun PaymentChannel(id: String, name: String, imageUrl: String, isAvailable: Boolean, isOnline: Boolean, isInstantRedirectionAvailable: Boolean, groups: List<PaymentGroup>, constraints: List<PaymentConstraint>)

Parameters

id

id of the payment channel

name

channel display name

imageUrl

channel image url

isAvailable

whether the channel is currently available to use

isOnline

whether the channel supports a online payment

isInstantRedirectionAvailable

whether the channel supports transaction creation with instant redirection

groups

payment groups available to use with legacy transaction creation system

constraints

channel constraints