Package nxt
Class Attachment.DigitalGoodsDelivery
- java.lang.Object
-
- nxt.Appendix.AbstractAppendix
-
- nxt.Attachment.AbstractAttachment
-
- nxt.Attachment.DigitalGoodsDelivery
-
- All Implemented Interfaces:
Appendix
,Attachment
- Direct Known Subclasses:
Attachment.UnencryptedDigitalGoodsDelivery
- Enclosing interface:
- Attachment
public static class Attachment.DigitalGoodsDelivery extends Attachment.AbstractAttachment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nxt.Appendix
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage
-
Nested classes/interfaces inherited from interface nxt.Attachment
Attachment.AbstractAttachment, Attachment.AbstractShufflingAttachment, Attachment.AccountControlEffectiveBalanceLeasing, Attachment.ColoredCoinsAskOrderCancellation, Attachment.ColoredCoinsAskOrderPlacement, Attachment.ColoredCoinsAssetDelete, Attachment.ColoredCoinsAssetIncrease, Attachment.ColoredCoinsAssetIssuance, Attachment.ColoredCoinsAssetProperty, Attachment.ColoredCoinsAssetPropertyDelete, Attachment.ColoredCoinsAssetQuantity, 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.MessagingAccountProperty, Attachment.MessagingAccountPropertyDelete, Attachment.MessagingAliasAssignment, Attachment.MessagingAliasBuy, Attachment.MessagingAliasDelete, Attachment.MessagingAliasSell, Attachment.MessagingPhasingVoteCasting, 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, Attachment.PropertyDeleteAttachment, Attachment.SetPhasingOnly, Attachment.ShufflingAttachment, Attachment.ShufflingCancellation, Attachment.ShufflingCreation, Attachment.ShufflingProcessing, Attachment.ShufflingRecipients, Attachment.ShufflingRegistration, Attachment.ShufflingVerification, Attachment.TaggedDataAttachment, Attachment.TaggedDataExtend, Attachment.TaggedDataUpload, Attachment.UnencryptedDigitalGoodsDelivery
-
-
Field Summary
-
Fields inherited from interface nxt.Attachment
ARBITRARY_MESSAGE, ORDINARY_PAYMENT
-
-
Constructor Summary
Constructors Constructor Description DigitalGoodsDelivery(long purchaseId, EncryptedData goods, boolean goodsIsText, long discountNQT)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDiscountNQT()
EncryptedData
getGoods()
long
getPurchaseId()
TransactionType
getTransactionType()
boolean
goodsIsText()
-
Methods inherited from class nxt.Attachment.AbstractAttachment
getBaselineFee, getBaselineFeeHeight, getNextFee, getNextFeeHeight
-
Methods inherited from class nxt.Appendix.AbstractAppendix
getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nxt.Appendix
getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
-
-
-
-
Constructor Detail
-
DigitalGoodsDelivery
public DigitalGoodsDelivery(long purchaseId, EncryptedData goods, boolean goodsIsText, long discountNQT)
-
-
Method Detail
-
getTransactionType
public final TransactionType getTransactionType()
-
getPurchaseId
public final long getPurchaseId()
-
getGoods
public final EncryptedData getGoods()
-
getDiscountNQT
public final long getDiscountNQT()
-
goodsIsText
public final boolean goodsIsText()
-
-