protected class CreateTransaction.CreateTransactionParameters
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
CreateTransactionParameters(javax.servlet.http.HttpServletRequest req) |
protected CreateTransactionParameters(javax.servlet.http.HttpServletRequest req)
public CreateTransaction.CreateTransactionParameters setSenderAccount(Account senderAccount)
public CreateTransaction.CreateTransactionParameters setSenderId(long senderId)
public CreateTransaction.CreateTransactionParameters setRecipientId(long recipientId)
public CreateTransaction.CreateTransactionParameters setAmountNQT(long amountNQT)
public CreateTransaction.CreateTransactionParameters setDeadline(short deadline)
public CreateTransaction.CreateTransactionParameters setAttachment(Attachment attachment)
public CreateTransaction.CreateTransactionParameters setTxChain(Chain txChain)
public CreateTransaction.CreateTransactionParameters setReferencedTransactionId(ChainTransactionId referencedTransactionId)
public CreateTransaction.CreateTransactionParameters setMessage(java.lang.String message, boolean messageIsText, boolean isPrunable)
public javax.servlet.http.HttpServletRequest getReq()
public Chain getChain() throws ParameterException
ParameterException
public ChainTransactionId getReferencedTransactionId() throws ParameterException
ParameterException
public Account getSenderAccount() throws ParameterException
ParameterException
public long getSenderId()
public Attachment getAttachment()
public long getAmountNQT()
public long getRecipientId()
protected final org.json.simple.JSONStreamAware createTransaction() throws NxtException
NxtException
public Appendix getMessage() throws ParameterException
ParameterException
public short getDeadline() throws ParameterException
ParameterException