Constraint
struct Constraint : Codable, Equatable
Represents the constraint within a payment rule.
-
Initializes a constraint.
Declaration
Swift
public init( type: String, maxAmount: PaymentAmount )
Parameters
type
The type of the constraint.
maxAmount
The maximum amount for the constraint.