public class OrderIssueAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Constructor and Description |
|---|
OrderIssueAttachment(Chain chain,
Chain exchangeChain,
long quantityQNT,
long priceNQT) |
| Modifier and Type | Method and Description |
|---|---|
Chain |
getChain()
Return the chain
|
Chain |
getExchangeChain()
Return the exchange chain
|
protected int |
getMySize() |
long |
getPriceNQT()
Return the exchange price with an implied 8 decimal places
|
long |
getQuantityQNT()
Return the exchange amount with an implied 8 decimal places
|
TransactionType |
getTransactionType()
Return the transaction type
|
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject attachment) |
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdgetFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytesprotected int getMySize()
getMySize in class Appendix.AbstractAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class Appendix.AbstractAppendixprotected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON in class Appendix.AbstractAppendixpublic Chain getChain()
public Chain getExchangeChain()
public long getQuantityQNT()
public long getPriceNQT()
public TransactionType getTransactionType()