Class QxTransferAssetOrder

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

public class QxTransferAssetOrder extends Object implements QxOrder
  • Field Details

  • Constructor Details

    • QxTransferAssetOrder

      public QxTransferAssetOrder()
  • Method Details

    • 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.
    • 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.
    • 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.
    • getOrderDescription

      public String getOrderDescription()
      Description copied from interface: QxOrder
      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:
      getOrderDescription in interface QxOrder
      Returns:
      A textual description of the action.