Package at.qubic.api.domain.qx.request
Class QxAddBidOrder
java.lang.Object
at.qubic.api.domain.qx.request.QxAddBidOrder
- All Implemented Interfaces:
QxAssetOrder,TransactionExtraData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongThe amount needed for the transaction.shortThe input type that fits to the transaction extra data.Gets a textual description of the action the order tries to accomplish.byte[]toBytes()Gets the transaction extra data in byte format.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface at.qubic.api.domain.qx.request.QxAssetOrder
getOrderData
-
Constructor Details
-
QxAddBidOrder
public QxAddBidOrder()
-
-
Method Details
-
toBytes
public byte[] toBytes()Description copied from interface:TransactionExtraDataGets the transaction extra data in byte format. This bytes can be directly used for the transaction extra data field.- Specified by:
toBytesin interfaceTransactionExtraData- Returns:
- the transaction extra data bytes.
-
getInputType
public short getInputType()Description copied from interface:TransactionExtraDataThe input type that fits to the transaction extra data.- Specified by:
getInputTypein interfaceTransactionExtraData- Returns:
- the input type of the transctions.
-
getAmount
public long getAmount()Description copied from interface:TransactionExtraDataThe amount needed for the transaction. Depending on the extra data different amounts might need to be set.- Specified by:
getAmountin interfaceTransactionExtraData- Returns:
- the amount that should be set to the transaction. Defaults to 1L.
-
getOrderAction
Description copied from interface:QxAssetOrderGets 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:
getOrderActionin interfaceQxAssetOrder- Returns:
- A textual description of the action.
-