Class Eip155PrepareOrderResponse
-
- All Implemented Interfaces:
public final class Eip155PrepareOrderResponsePrepared transactions to place an order on an EIP-155 (EVM) chain.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEip155PrepareOrderResponse.BuilderA builder for Eip155PrepareOrderResponse.
public final classEip155PrepareOrderResponse.Feepublic final classEip155PrepareOrderResponse.TransactionDataInformation about a transaction to be signed with a wallet and submitted on chain.
Typically the transactions will include an ERC20 approval transaction to allow the Dinari smart contract to spend the payment token or Dshare asset tokens on behalf of the user, followed by a transaction to call the Dinari smart contract to create an
Order.
-
Method Summary
Modifier and Type Method Description final List<Eip155PrepareOrderResponse.Fee>fees()Fees included in the order transaction. final List<Eip155PrepareOrderResponse.TransactionData>transactionData()List of contract addresses and call data for building transactions to be signed and submitted on chain. final JsonField<List<Eip155PrepareOrderResponse.Fee>>_fees()Returns the raw JSON value of fees. final JsonField<List<Eip155PrepareOrderResponse.TransactionData>>_transactionData()Returns the raw JSON value of transactionData. final Map<String, JsonValue>_additionalProperties()final Eip155PrepareOrderResponse.BuildertoBuilder()final Eip155PrepareOrderResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Eip155PrepareOrderResponse.Builderbuilder()Returns a mutable builder for constructing an instance of Eip155PrepareOrderResponse. -
-
Method Detail
-
fees
final List<Eip155PrepareOrderResponse.Fee> fees()
Fees included in the order transaction. Provided here as a reference.
-
transactionData
final List<Eip155PrepareOrderResponse.TransactionData> transactionData()
List of contract addresses and call data for building transactions to be signed and submitted on chain. Transactions should be submitted on chain in the order provided in this property.
-
_fees
final JsonField<List<Eip155PrepareOrderResponse.Fee>> _fees()
Returns the raw JSON value of fees.
Unlike fees, this method doesn't throw if the JSON field has an unexpected type.
-
_transactionData
final JsonField<List<Eip155PrepareOrderResponse.TransactionData>> _transactionData()
Returns the raw JSON value of transactionData.
Unlike transactionData, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Eip155PrepareOrderResponse.Builder toBuilder()
-
validate
final Eip155PrepareOrderResponse validate()
-
builder
final static Eip155PrepareOrderResponse.Builder builder()
Returns a mutable builder for constructing an instance of Eip155PrepareOrderResponse.
The following fields are required:
.fees() .transactionData()
-
-
-
-