QueryCriteria.VaultQueryCriteria.withConstraintTypes - corda

corda / net.corda.core.node.services.vault / QueryCriteria / VaultQueryCriteria / withConstraintTypes

# withConstraintTypes

`fun withConstraintTypes(constraintTypes: Set<Type>): VaultQueryCriteria`

This function creates a new VaultQueryCriteria object with default values, and sets the value of constraintTypes. Please use only one function in this group at a time to make sure they are not overwriting each other.