CommercialPaper - corda

corda / net.corda.finance.contracts / CommercialPaper

# CommercialPaper

`class CommercialPaper : Contract`

### Types

#### Commands | `interface Commands : CommandData`
#### State | `data class State : OwnableState, QueryableState, ICommercialPaperState`

### Constructors

#### <init> | `CommercialPaper()`

### Functions

#### verify | Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense. Must throw an exception if there's a problem that should prevent state transition. Takes a single object rather than an argument so that additional data can be added without breaking binary compatibility with existing contract code. `fun verify(tx: LedgerTransaction): Unit`

### Companion Object Properties

#### CP_PROGRAM_ID | `const val CP_PROGRAM_ID: ContractClassName`