public class CreateTrade extends GraphQLRequest<CreateTrade> implements TransactionRequestArguments<CreateTrade>
CompleteTrade
,
IProjectSchema
Constructor and Description |
---|
CreateTrade()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
CreateTrade |
askingAssets(TradeInput... assets)
Sets the assets the sender is asking for.
|
CreateTrade |
offeringAssets(TradeInput... assets)
Sets the assets to be offered by the sender.
|
CreateTrade |
recipientAddress(java.lang.String recipientAddress)
Sets the wallet address of the recipient.
|
getNamespace, getVariables, isSet, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ethAddress
transactionAssetIdFormat, withAssetData, withBlockchainData, withEncodedData, withError, withLogEvent, withMeta, withNonce, withReceipt, withReceiptLogs, withSignedTxs, withState, withTransactionProjectUuid, withTransactionWalletAddress
getVariables, isSet, set
public CreateTrade askingAssets(TradeInput... assets)
assets
- the assetspublic CreateTrade offeringAssets(TradeInput... assets)
assets
- the assetspublic CreateTrade recipientAddress(java.lang.String recipientAddress)
recipientAddress
- the address