public final class ListingAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable
Constructor and Description |
---|
ListingAttachment(java.lang.String name,
java.lang.String description,
java.lang.String tags,
int quantity,
long priceNQT) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
protected int |
getMySize() |
java.lang.String |
getName() |
long |
getPriceNQT() |
int |
getQuantity() |
java.lang.String |
getTags() |
TransactionType |
getTransactionType() |
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, validateId
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytes
public ListingAttachment(java.lang.String name, java.lang.String description, java.lang.String tags, int quantity, long priceNQT)
protected int getMySize()
getMySize
in class Appendix.AbstractAppendix
protected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes
in class Appendix.AbstractAppendix
protected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON
in class Appendix.AbstractAppendix
public TransactionType getTransactionType()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getTags()
public int getQuantity()
public long getPriceNQT()