corda / net.corda.core.contracts / PartyAndReference

# PartyAndReference

`data class PartyAndReference`

Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal ledger. The reference is intended to be encrypted so it's meaningless to anyone other than the party.

### Constructors

<init> | `PartyAndReference(party: Party, reference: OpaqueBytes)``PartyAndReference(party: AnonymousParty, reference: OpaqueBytes)` Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal ledger. The reference is intended to be encrypted so it's meaningless to anyone other than the party.

### Properties

party | `val party: AnonymousParty`
reference | `val reference: OpaqueBytes`

### Functions

toString | `fun toString(): String`