BilateralNettableState - corda

corda / net.corda.finance.contracts / BilateralNettableState

# BilateralNettableState

`interface BilateralNettableState<N : BilateralNettableState<N>>`

Interface for state objects that support being netted with other state objects.

### Properties

#### bilateralNetState | Returns an object used to determine if two states can be subject to close-out netting. If two states return equal objects, they can be close out netted together. `abstract val bilateralNetState: Any`

### Functions

#### net | Perform bilateral netting of this state with another state. The two states must be compatible (as in bilateralNetState objects are equal). `abstract fun net(other: N): N`

### Inheritors

#### NettableState | `interface NettableState<N : BilateralNettableState<N>, out T : Any> : BilateralNettableState<N>, MultilateralNettableState<T>`