Class QxAddBidOrder

java.lang.Object
at.qubic.api.domain.qx.request.QxAddBidOrder
All Implemented Interfaces:
QxAssetOrder, TransactionExtraData

public class QxAddBidOrder extends Object implements QxAssetOrder
  • Constructor Details

    • QxAddBidOrder

      public QxAddBidOrder()
  • Method Details

    • toBytes

      public byte[] toBytes()
      Description copied from interface: TransactionExtraData
      Gets the transaction extra data in byte format. This bytes can be directly used for the transaction extra data field.
      Specified by:
      toBytes in interface TransactionExtraData
      Returns:
      the transaction extra data bytes.
    • getInputType

      public short getInputType()
      Description copied from interface: TransactionExtraData
      The input type that fits to the transaction extra data.
      Specified by:
      getInputType in interface TransactionExtraData
      Returns:
      the input type of the transctions.
    • getAmount

      public long getAmount()
      Description copied from interface: TransactionExtraData
      The amount needed for the transaction. Depending on the extra data different amounts might need to be set.
      Specified by:
      getAmount in interface TransactionExtraData
      Returns:
      the amount that should be set to the transaction. Defaults to 1L.
    • getOrderAction

      public String getOrderAction()
      Description copied from interface: QxAssetOrder
      Gets a textual description of the action the order tries to accomplish. This text can change any time, do not rely on the exact wording.
      Specified by:
      getOrderAction in interface QxAssetOrder
      Returns:
      A textual description of the action.