com.r3corda.contracts / InterestRateSwap / Clause / Agree

# Agree

`class Agree : AbstractIRSClause`

### Constructors

<init> | `Agree()`

### Properties

requiredCommands | `val requiredCommands: Set<Class<out CommandData>>` Classes for commands which must ALL be present in transaction for this clause to be triggered

### Inherited Properties

ifMatched | `open val ifMatched: MatchBehaviour` Behaviour if this clause is not matches
ifNotMatched | `open val ifNotMatched: MatchBehaviour` Behaviour if this clause is matched

### Functions

verify | `fun verify(tx: TransactionForContract, inputs: List<State>, outputs: List<State>, commands: Collection<AuthenticatedObject<CommandData>>, token: String): Set<CommandData>`

### Inherited Functions

checkLegAmounts | `fun checkLegAmounts(legs: Array<CommonLeg>): Unit`
checkLegDates | `fun checkLegDates(legs: Array<CommonLeg>): Unit`
checkRates | `fun checkRates(legs: Array<CommonLeg>): Boolean`
checkSchedules | `fun checkSchedules(legs: Array<CommonLeg>): Boolean`
getFloatingLegPaymentsDifferences | `fun getFloatingLegPaymentsDifferences(payments1: Map<LocalDate, Event>, payments2: Map<LocalDate, Event>): List<<ERROR CLASS><LocalDate, <ERROR CLASS><FloatingRatePaymentEvent, FloatingRatePaymentEvent>>>` Compares two schedules of Floating Leg Payments, returns the difference (i.e. omissions in either leg or changes to the values).