public static final class Attachment.DigitalGoodsListing extends java.lang.Object implements Attachment, java.io.Serializable
Attachment.AccountControlEffectiveBalanceLeasing, Attachment.ColoredCoinsAskOrderCancellation, Attachment.ColoredCoinsAskOrderPlacement, Attachment.ColoredCoinsAssetIssuance, Attachment.ColoredCoinsAssetTransfer, Attachment.ColoredCoinsBidOrderCancellation, Attachment.ColoredCoinsBidOrderPlacement, Attachment.ColoredCoinsOrderCancellation, Attachment.ColoredCoinsOrderPlacement, Attachment.DigitalGoodsDelisting, Attachment.DigitalGoodsDelivery, Attachment.DigitalGoodsFeedback, Attachment.DigitalGoodsListing, Attachment.DigitalGoodsPriceChange, Attachment.DigitalGoodsPurchase, Attachment.DigitalGoodsQuantityChange, Attachment.DigitalGoodsRefund, Attachment.MessagingAccountInfo, Attachment.MessagingAliasAssignment, Attachment.MessagingArbitraryMessage, Attachment.MessagingHubAnnouncement, Attachment.MessagingPollCreation, Attachment.MessagingVoteCasting
Constructor and Description |
---|
Attachment.DigitalGoodsListing(java.lang.String name,
java.lang.String description,
java.lang.String tags,
int quantity,
long priceNQT) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
java.lang.String |
getDescription() |
org.json.simple.JSONObject |
getJSONObject() |
java.lang.String |
getName() |
long |
getPriceNQT() |
int |
getQuantity() |
int |
getSize() |
java.lang.String |
getTags() |
TransactionType |
getTransactionType() |
public Attachment.DigitalGoodsListing(java.lang.String name, java.lang.String description, java.lang.String tags, int quantity, long priceNQT)
public int getSize()
getSize
in interface Attachment
public byte[] getBytes()
getBytes
in interface Attachment
public org.json.simple.JSONObject getJSONObject()
getJSONObject
in interface Attachment
public TransactionType getTransactionType()
getTransactionType
in interface Attachment
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getTags()
public int getQuantity()
public long getPriceNQT()