public static final class Attachment.ColoredCoinsAssetTransfer 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.ColoredCoinsAssetTransfer(java.lang.Long assetId,
long quantityQNT,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAssetId() |
byte[] |
getBytes() |
java.lang.String |
getComment() |
org.json.simple.JSONObject |
getJSONObject() |
long |
getQuantityQNT() |
int |
getSize() |
TransactionType |
getTransactionType() |
public Attachment.ColoredCoinsAssetTransfer(java.lang.Long assetId, long quantityQNT, java.lang.String comment)
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.Long getAssetId()
public long getQuantityQNT()
public java.lang.String getComment()