PaymentConstraint

sealed class PaymentConstraint

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

Types

Link copied to clipboard
data class Amount(val minimum: Double?, val maximum: Double?) : PaymentConstraint

Indicates that there is a payment amount constraint. Multiple configurations are supported, meaning that this constraint can have only minimum, maximum or both values.

Inheritors

Link copied to clipboard