public class JavaCommercialPaper
extends java.lang.Object
implements net.corda.core.contracts.Contract
| Modifier and Type | Class and Description |
|---|---|
static interface |
JavaCommercialPaper.Clauses |
static interface |
JavaCommercialPaper.Commands |
static class |
JavaCommercialPaper.State |
| Constructor and Description |
|---|
JavaCommercialPaper() |
| Modifier and Type | Method and Description |
|---|---|
net.corda.core.transactions.TransactionBuilder |
generateIssue(net.corda.core.contracts.PartyAndReference issuance,
net.corda.core.contracts.Amount<net.corda.core.contracts.Issued<java.util.Currency>> faceValue,
java.time.Instant maturityDate,
net.corda.core.identity.Party notary) |
net.corda.core.transactions.TransactionBuilder |
generateIssue(net.corda.core.contracts.PartyAndReference issuance,
net.corda.core.contracts.Amount<net.corda.core.contracts.Issued<java.util.Currency>> faceValue,
java.time.Instant maturityDate,
net.corda.core.identity.Party notary,
java.lang.Integer encumbrance) |
void |
generateMove(net.corda.core.transactions.TransactionBuilder tx,
net.corda.core.contracts.StateAndRef<JavaCommercialPaper.State> paper,
net.corda.core.identity.AbstractParty newOwner) |
void |
generateRedeem(net.corda.core.transactions.TransactionBuilder tx,
net.corda.core.contracts.StateAndRef<JavaCommercialPaper.State> paper,
net.corda.core.node.services.VaultService vault) |
net.corda.core.crypto.SecureHash |
getLegalContractReference() |
void |
verify(net.corda.core.contracts.TransactionForContract tx) |
public void verify(@NotNull
net.corda.core.contracts.TransactionForContract tx)
throws java.lang.IllegalArgumentException
verify in interface net.corda.core.contracts.Contractjava.lang.IllegalArgumentException@NotNull public net.corda.core.crypto.SecureHash getLegalContractReference()
getLegalContractReference in interface net.corda.core.contracts.Contractpublic net.corda.core.transactions.TransactionBuilder generateIssue(@NotNull
net.corda.core.contracts.PartyAndReference issuance,
@NotNull
net.corda.core.contracts.Amount<net.corda.core.contracts.Issued<java.util.Currency>> faceValue,
@Nullable
java.time.Instant maturityDate,
@NotNull
net.corda.core.identity.Party notary,
java.lang.Integer encumbrance)
public net.corda.core.transactions.TransactionBuilder generateIssue(@NotNull
net.corda.core.contracts.PartyAndReference issuance,
@NotNull
net.corda.core.contracts.Amount<net.corda.core.contracts.Issued<java.util.Currency>> faceValue,
@Nullable
java.time.Instant maturityDate,
@NotNull
net.corda.core.identity.Party notary)
@Suspendable
public void generateRedeem(net.corda.core.transactions.TransactionBuilder tx,
net.corda.core.contracts.StateAndRef<JavaCommercialPaper.State> paper,
net.corda.core.node.services.VaultService vault)
throws net.corda.core.contracts.InsufficientBalanceException
net.corda.core.contracts.InsufficientBalanceExceptionpublic void generateMove(net.corda.core.transactions.TransactionBuilder tx,
net.corda.core.contracts.StateAndRef<JavaCommercialPaper.State> paper,
net.corda.core.identity.AbstractParty newOwner)