BilateralNetState - corda

corda / net.corda.finance.contracts.asset / BilateralNetState

# BilateralNetState

`data class BilateralNetState<P : Any> : NetState<P>`

Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.

### Constructors

#### <init> | Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting. `BilateralNetState(partyKeys: Set<AbstractParty>, template: Terms<P>)`

### Properties

#### partyKeys | `val partyKeys: Set<AbstractParty>`
#### template | `val template: Terms<P>`