net.corda.protocols / CashProtocolResult / Success

# Success

`class Success : CashProtocolResult`

### Parameters

`transaction` - the transaction created as a result, in the case where the protocol completed successfully.

### Constructors

<init> | `Success(id: StateMachineRunId, transaction: SignedTransaction?, message: String?)`

### Properties

id | `val id: StateMachineRunId`
message | `val message: String?`
transaction | `val transaction: SignedTransaction?`

### Functions

toString | `fun toString(): String`