public static final class Attachment.MessagingPollCreation 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.MessagingPollCreation(java.lang.String pollName,
java.lang.String pollDescription,
java.lang.String[] pollOptions,
byte minNumberOfOptions,
byte maxNumberOfOptions,
boolean optionsAreBinary) |
Modifier and Type | Method and Description |
---|---|
byte |
getMaxNumberOfOptions() |
byte |
getMinNumberOfOptions() |
java.lang.String |
getPollDescription() |
java.lang.String |
getPollName() |
java.lang.String[] |
getPollOptions() |
TransactionType |
getTransactionType() |
boolean |
isOptionsAreBinary() |
getJSONObject, getSize, getVersion, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJSONObject, getSize, getVersion, putBytes
public Attachment.MessagingPollCreation(java.lang.String pollName, java.lang.String pollDescription, java.lang.String[] pollOptions, byte minNumberOfOptions, byte maxNumberOfOptions, boolean optionsAreBinary)
public TransactionType getTransactionType()
public java.lang.String getPollName()
public java.lang.String getPollDescription()
public java.lang.String[] getPollOptions()
public byte getMinNumberOfOptions()
public byte getMaxNumberOfOptions()
public boolean isOptionsAreBinary()