Package nxt.ce

Class OrderCancelAttachment

All Implemented Interfaces:
Appendix, Attachment
Direct Known Subclasses:
OrderCancelFxtAttachment

public class OrderCancelAttachment extends Attachment.AbstractAttachment
Coin exchange order cancel attachment for child chains
  • Constructor Details

    • OrderCancelAttachment

      public OrderCancelAttachment(byte[] orderHash)
  • Method Details

    • getMySize

      protected int getMySize()
      Specified by:
      getMySize in class Appendix.AbstractAppendix
    • putMyBytes

      protected void putMyBytes(ByteBuffer buffer)
      Specified by:
      putMyBytes in class Appendix.AbstractAppendix
    • putMyJSON

      protected void putMyJSON(org.json.simple.JSONObject attachment)
      Specified by:
      putMyJSON in class Appendix.AbstractAppendix
    • getOrderHash

      public byte[] getOrderHash()
      Return the exchange order hash
      Returns:
      Exchange order hash
    • getOrderId

      public long getOrderId()
      Return the exchange order identifier
      Returns:
      Exchange order identifier
    • getTransactionType

      public TransactionType getTransactionType()
      Return the transaction type
      Returns:
      Transaction type