public static final class Attachment.DigitalGoodsDelivery extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.AccountControlEffectiveBalanceLeasing, Attachment.ColoredCoinsAskOrderCancellation, Attachment.ColoredCoinsAskOrderPlacement, Attachment.ColoredCoinsAssetIssuance, Attachment.ColoredCoinsAssetTransfer, Attachment.ColoredCoinsBidOrderCancellation, Attachment.ColoredCoinsBidOrderPlacement, Attachment.ColoredCoinsDividendPayment, 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.MessagingAliasDelete, Attachment.MessagingAliasSell, Attachment.MessagingHubAnnouncement, Attachment.MessagingPollCreation, Attachment.MessagingVoteCasting, Attachment.MonetarySystemAttachment, Attachment.MonetarySystemCurrencyDeletion, Attachment.MonetarySystemCurrencyIssuance, Attachment.MonetarySystemCurrencyMinting, Attachment.MonetarySystemCurrencyTransfer, Attachment.MonetarySystemExchange, Attachment.MonetarySystemExchangeBuy, Attachment.MonetarySystemExchangeSell, Attachment.MonetarySystemPublishExchangeOffer, Attachment.MonetarySystemReserveClaim, Attachment.MonetarySystemReserveIncrease
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.PublicKeyAnnouncement
ARBITRARY_MESSAGE, ORDINARY_PAYMENT
Constructor and Description |
---|
Attachment.DigitalGoodsDelivery(long purchaseId,
EncryptedData goods,
boolean goodsIsText,
long discountNQT) |
Modifier and Type | Method and Description |
---|---|
long |
getDiscountNQT() |
EncryptedData |
getGoods() |
long |
getPurchaseId() |
TransactionType |
getTransactionType() |
boolean |
goodsIsText() |
getJSONObject, getSize, getVersion, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJSONObject, getSize, getVersion, putBytes
public Attachment.DigitalGoodsDelivery(long purchaseId, EncryptedData goods, boolean goodsIsText, long discountNQT)
public TransactionType getTransactionType()
public long getPurchaseId()
public EncryptedData getGoods()
public long getDiscountNQT()
public boolean goodsIsText()