public static final class Attachment.DigitalGoodsPurchase extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, 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.EmptyAttachment, Attachment.MessagingAccountInfo, Attachment.MessagingAliasAssignment, Attachment.MessagingAliasBuy, Attachment.MessagingAliasSell, Attachment.MessagingHubAnnouncement, Attachment.MessagingPollCreation, Attachment.MessagingVoteCasting
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.PublicKeyAnnouncement
ARBITRARY_MESSAGE, ORDINARY_PAYMENT
Constructor and Description |
---|
Attachment.DigitalGoodsPurchase(java.lang.Long goodsId,
int quantity,
long priceNQT,
int deliveryDeadlineTimestamp) |
Modifier and Type | Method and Description |
---|---|
int |
getDeliveryDeadlineTimestamp() |
java.lang.Long |
getGoodsId() |
long |
getPriceNQT() |
int |
getQuantity() |
TransactionType |
getTransactionType() |
getJSONObject, getSize, getVersion, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJSONObject, getSize, getVersion, putBytes
public Attachment.DigitalGoodsPurchase(java.lang.Long goodsId, int quantity, long priceNQT, int deliveryDeadlineTimestamp)
public TransactionType getTransactionType()
public java.lang.Long getGoodsId()
public int getQuantity()
public long getPriceNQT()
public int getDeliveryDeadlineTimestamp()